Advertisement
Guest User

Untitled

a guest
Apr 17th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. sudo apt-get update
  2. sudo apt-get install apache2
  3. sudo apt-get install apache2 apache2-utils
  4. sudo service apache2 restart
  5. sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
  6. sudo mysql_install_db
  7. sudo mysql_secure_installation
  8. sudo apt-get install php5 php5-mysql php-pear php5-gd php5-mcrypt php5-curl
  9. sudo mkdir -p /var/www/example.com/public_html
  10. sudo chown -R $USER /var/www/example.com/public_html
  11. sudo chmod -R 755 /var/www
  12. cp /var/www/example.com/public_html/index.html
  13. sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/example.com.conf
  14. sudo nano /etc/apache2/sites-available/example.com.conf
  15. DocumentRoot /var/www/example.com/public_html
  16. sudo apt-get install lamp-server^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement