Installing Lamp Server on ubuntu

Installing Lamp Server on ubuntu
0.sudo apt-get update
1.sudo apt-get install tasksel
2.sudo tasksel install lamp-server
3.apt-get install mysql-server mysql-client
4.sudo apt-get install php5 libapache2-mod-php5 php5-mysql
5.sudo apt-get install phpmyadmin
apt-get install gksu
sudo gksu gedit /etc/apache2/apache2.conf
COPY AND PASTE END OF LINE
    Include /etc/phpmyadmin/apache.conf
AND SAVE IT
sudo service apache2 restart
To change WWW Folder Permission
    sudo chmod -R 777 /var/www
To enable mod_rewrite
    sudo a2enmod rewrite
To start Apache 2 on Ubuntu,
    sudo start apache2
To stop Apache 2 on Ubuntu,
    sudo stop apache2
To restart Apache 2 on Ubuntu,
    sudo restart apache2
To gracefully reload Apache 2 on Ubuntu,
    sudo restart apache2
--------------------------
remove lamp All
sudo apt-get remove --purge apache2 php5 mysql-server-5.0 phpmyadmin
--------------------------
SHARE

Ibrar Ansari

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment