Last active
December 15, 2015 11:19
-
-
Save remisarrailh/5251745 to your computer and use it in GitHub Desktop.
serveurweb
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
#!/bin/bash | |
clear | |
echo "------------------------" | |
echo "------------------------" | |
echo "Installation de lighttpd" | |
echo "------------------------" | |
echo "------------------------" | |
apt-get install lighttpd | |
echo "---------------------" | |
echo "---------------------" | |
echo "Installation de MySQL" | |
echo "---------------------" | |
echo "---------------------" | |
apt-get install mysql-server | |
echo "--------------------" | |
echo "--------------------" | |
echo "Installation de PHP5" | |
echo "--------------------" | |
echo "--------------------" | |
apt-get install php5-common php5-cgi php5 php5-mysql php5-gd | |
echo "-------------------------------" | |
echo "-------------------------------" | |
echo "Activation de la gestion de PHP" | |
echo "-------------------------------" | |
echo "-------------------------------" | |
lighty-enable-mod fastcgi-php | |
echo "--------------------------" | |
echo "--------------------------" | |
echo "Relancement du serveur web" | |
echo "--------------------------" | |
echo "--------------------------" | |
service lighttpd force-reload | |
echo "--------------------" | |
echo "--------------------" | |
echo "suppression de index" | |
echo "--------------------" | |
echo "--------------------" | |
rm /var/www/index.lighttpd.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment