Last active
June 8, 2016 13:39
-
-
Save ArgonQQ/dc22746eaf24b50b8b9323e4c2667870 to your computer and use it in GitHub Desktop.
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
# Switch User | |
su - | |
#General informations | |
printf "\nHostname: \n" && hostname && ip a s |grep "inet " | |
#Install Packages | |
apt install -y bash-completion vim curl wget git | |
#LAMP | |
apt install -y apache2 mysql-server php5-mysql php5 php5-curl | |
#Apache Config | |
a2dismod mpm_event && a2enmod mpm_prefork | |
#MySQL Config | |
mysql_install_db && mysql_secure_installation | |
#Restart LAMP | |
service apache2 restart && service mysql restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment