LAMP Server installation script under Ubuntu and Debian.
- Apache
- MySQL
- PHP
- on Linux
Works on Ubuntu, Debian and Rasbpian.
The vx_lamp.sh
application does not require any additional packages to work.
-
Download files from this repository directly with git or via https.
wget -O svc_lamp.zip https://github.com/cybiohub/svc_lamp/archive/refs/heads/main.zip
-
Unzip the zip file.
unzip svc_lamp.zip
-
Make changes to the installation script
vx_lamp.sh
to configure it to match your environment.You can customize the following settings:
- Timezone. By default, this is "America/Toronto".
- The identifiant for the name server.
-
Adjust permissions.
chmod 500 vx_lamp.sh
-
Run the script.
./vx_lamp.sh
-
At the end of the LAMP wizard installation, you can install additional packages.
- php8.1-cgi
- php8.1-xmlrpc
- php8.1-snmp
- php8.1-pspell
- php-geoip
- php-rrd
- php-oauth
- php-auth-sasl
- php8.1-zip
- php-imagick
-
Don't forget to change the 'AllowOverride' parameter from 'None' to 'ALL' in the /var/www/ directory of the apache2.conf file.
-
Activate and start the Apache2 service.
systemctl enable apache2.service systemctl start apache2.service systemctl status apache2.service
-
Activate and start the MySQL service.
systemctl enable apache2.service systemctl start apache2.service systemctl status apache2.service