/LAMP-Installer

Bash script which can install the LAMP with PHP on Linux.

Primary LanguageShell

Apache, MariaDB & PhpMyAdmin self-installer

Requirements

  • Unix-like OS

  • curl

Features

  • Automatically install all prerequisites
  • The script can add/create virtual host
  • Choice of PHP modules
  • Install latest stable versions of MariaDB, PhpMyAdmin and Apache
  • The user can install only apache if he wants

Supported versions

  • Apache 2
  • PHP 7
  • Latest MariaDB release
  • Latest PhpMyAdmin release

Installing

  • curl is required to download the script.

  • If you are logged in as root

curl https://uploads.admlbs.fr/download.php?file=webinstall --output /usr/bin/webinstall && chmod 0777 /usr/bin/webinstall
  • If it's not the case :
sudo curl https://uploads.admlbs.fr/download.php?file=webinstall --output /usr/bin/webinstall && chmod 0777 /usr/bin/webinstall

Launch

Please note that if you use the script for the first time, he will install automatically Apache2 and nothing else. In order to install MariaDB or PhpMyAdmin just restart the script using webinstall command. If you want to add a virtualhost just restart the script

  • To launch the script and install your webserver you must use sudo or being root
webinstall
  • To see all commands please type
sudo webinstall

Bugs

License

This programm is distribued under GNU General Public License v3.0