Idea install xampp in ubuntu
wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz
Also see 4 ways of using wget command in Linux
After downloading place the file in desktop. Don’t extract the file. Put as you have downloaded it.
Step1: login into root directory
To install the xampp you have to log in into the root directory to log into root directory run the following command into terminal one by one
cd Desktop
(Make sure the initial letter of Desktop is capital)
sudo -s
Step2: Installing Xampp in Ubuntu
1. To install xampp in ubuntu run the following command in terminal which will extract the download file into /opt directory. Run the following Command in terminal
tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt
(Note: This version will install xampp 1.7.3 version Place the xampp-linux-1.7.3a with the version if you want to install another version).
This process will install xampp. You will find xampp in /opt/lampp. Directory.
Step 3: Solve htdocs trouble
After install xampp when you try to paste anything to htdocs you will get permission denied error. Therefore to fix this you have to run the following code in terminal after running the code you can simply put files and folder into htdocs
sudo chmod 777 -R /opt/lampp/htdocs/
This changes the ownership of the htdocs folder to your user, the -R option makes the command recursive so all permissions of folders and files inside htdocs are changed aswell.
Step 4: How to operate xampp in ubuntu
In you can excess xampp with simple graphical interface but in linux you have to user terminal to start xamp. Here are the few guide for ubuntu user to operate xampp
1. To start Xampp
Run the following command in terminal to start lampp
/opt/lampp/lampp start
2. Stop the Xampp
/opt/lampp/lampp stop
0 comments:
Post a Comment