Pages

Saturday, December 15, 2012

How to install XAMPP on Ubuntu and start XAMPP when machine is starting.

Hi Friends,this is my second post about Ubuntu.There I have mention,how to install XAMPP on Ubuntu.Nowadays I am working on Ubuntu.So I am getting so trouble with Linux software installation.Because of that I think to post this post for who familiar with Linux.
1.Firstly you should want to download xampp-linux-1.7.3a.tar.gz XAMPP official web site.
2.After that copy xampp-linux-1.7.3a.tar.gz file into opt/ folder
sudo mv currentlocation /opt/
sudo mv /home/sandun/xampp-linux-1.8.1.tar.gz /opt/

3.Then extract xampp-linux-1.8.1.tar.gz file.
sudo tar -zxvf yourfile.tar.gz
sudo tar -zxvf xampp-linux-1.8.1.tar.gz

4.Now mod the htdocs folder.
sudo chmod 777 -R /opt/lampp/htdocs/
5.All things are done well.Now you start the XAMPP server.
/opt/lampp/lampp start
You can see whether it is working or not.If you want to stop XAMPP
/opt/lampp/lampp stop using you can stop this.
6.Previews activity we want to do every time.So we do not want to do it if XAMPP is started in defaults.We can do it if lampp file copy into etc/init.d folder.
sudo cp opt/lampp/lampp /etc/init.d/

sudo update-rc.d lampp defaults
Congratulation.....!!!You have done great job.Thank you...!!!

No comments:

Post a Comment