How to install and start xampp in Linux(ubuntu/Fedora)
Download the Xampp Server.
To install XAMPP in Ubuntu/Fedora : go to ‘Applications->Accessories->Terminal’
then type pwd (or) cd ..(space is imp!)
To check the path and cd for to come out from the directory
then type dir (or) ls
To check the downloading file in the directory
For example
Desktop Document Download
then type cd Download(case senitive)
it show all the files in the Download
To install the xampp or wordpress file
chmod 777 -R /opt/lampp
sudo home /ckuser/Desktop
ckuser@ckuser-desktop:~/Download$ sudo tar -xvzf xampp-linux-1.7.2.tar.gz -C /opt
if the password is required then type it,you have to change the version what you have(Eg: 1.7.2a/ 1.7.3a)
To start the Xampp server
sudo /opt/lampp/lampp start
If some case permission problems after installing on 9.10, so ran
sudo chmod 777 -R /opt/lampp/htdocs/
and it worked fine. Ok to do on a testing server. Also created a link to htdocs and dropped files into a folder in home to reduce permission problems.
sudo ln -s /home/user/folder /opt/lampp/htdocs/$USER
same procedure for wordpress-2.8.6.tar.gz file
Thats it. Xampp is installed and running.
You can Check it by typing http://localhost on your browser.
Introduction to PHP
June 16, 2010 at 11:44 am Leave a comment