Last active
October 13, 2019 04:59
-
-
Save stonecorleone/df33f11b7b895cf2374c7ae984b1de27 to your computer and use it in GitHub Desktop.
To install LAMP server using tasksel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo tasksel install lamp-server | |
MySQL Secure Installation: | |
mysql_secure_installation | |
Firewall Configuration: | |
Enable firewall: | |
$ sudo ufw enable | |
Allow Apache: | |
$ sudo ufw allow in "Apache Full" | |
Appendix: LAMP install error messages: | |
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message | |
Change your server IP or Domain name accordingly | |
$ sudo bash -c "echo ServerName x.x.x.x >> /etc/apache2/apache2.conf" | |
Install Phpmyadmin: | |
$sudo apt install phpmyadmin | |
Author
stonecorleone
commented
Oct 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment