Hello Everyone,
Today we will learn how to install xampp in ubuntu.
1) Simply wget it with this command at terminal
wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz
I hope you are logged in with root.
2) After downloading the xampp you can cd to desktop with this command
cd Desktop Now you are at the Desktop.
3) Enter this command to install xampp in ubuntu
tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt
4) Now your xampp is installed in opt folder. Now in order to create files and folders in htdocs you need to resolve the htdocs trouble. to give permession to htdocs enter this command sudo chmod 777 -R /opt/lampp/htdocs/
5) Now if everything is fine with no error then it is time to star the xampp in order to start the xampp please enter this command sudo /opt/lampp/lampp start
6) So here are some important command to operate xampp from terminal
i) To stop xampp sudo /opt/lampp/lampp stop
ii) To restart xampp sudo /opt/lampp/lampp restart
Now your xampp is installed all you need to do is start working. If you are getting any error while migrating the projects you can always check the error logs.
If you have any problem just mail me
Enjoy & be open.
long live linux.
Today we will learn how to install xampp in ubuntu.
1) Simply wget it with this command at terminal
wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz
I hope you are logged in with root.
2) After downloading the xampp you can cd to desktop with this command
cd Desktop Now you are at the Desktop.
3) Enter this command to install xampp in ubuntu
tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt
4) Now your xampp is installed in opt folder. Now in order to create files and folders in htdocs you need to resolve the htdocs trouble. to give permession to htdocs enter this command sudo chmod 777 -R /opt/lampp/htdocs/
5) Now if everything is fine with no error then it is time to star the xampp in order to start the xampp please enter this command sudo /opt/lampp/lampp start
6) So here are some important command to operate xampp from terminal
i) To stop xampp sudo /opt/lampp/lampp stop
ii) To restart xampp sudo /opt/lampp/lampp restart
Now your xampp is installed all you need to do is start working. If you are getting any error while migrating the projects you can always check the error logs.
If you have any problem just mail me
Enjoy & be open.
long live linux.
Can i use this xampp to seeable to all ??? From anywhere in the world ???
ReplyDeleteQ: This sounds like a home network, correct?
DeleteQ: Do you have a registered domain? Or do you want people to access your site by IP address?
Your internal, LAN address is 192.168...
You can find your external ("WAN") address by looking at your router (which may be the Netgear, or might be yet another router - the one built in to your DSL or cable modem).
You can also find it by pointing your browser here:
http://www.whatismyip.com
Be advised that, unless you have a "static IP" from your provider, this external address might change at any time. It might stay the same for months ... or it might change multiple times/day. "It depends".
Be advised, too, that the moment you open anything on your firewall - especially a web site - you leave yourself potentially vulnerable to hackers. You absolutely need to make sure you have adequate security in place to protect against this eventuality.
Suggestion: look at DynDNS (or alternatives):
http://www.dyndnscommunity.com/
Or just shop around for a web hosting service that appeals to you :)
Answer from:goo.gl/eKGqg
Thanks Amit
DeleteHi.. Amit. this is lohith and i am using first time ubantu in my pc.. i want to install xampp and i extracted tar file and i pasted it on desktop.. later i moved to desktop using cd desktop but i am getting like this error msg.. how to install xampp need help>?
ReplyDeleteloki@loki-Inspiron-1525:~/Desktop$ tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt
tar (child): xampp-linux-1.7.3a.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
loki@loki-Inspiron-1525:~/Desktop$
Hi Lohith, Please do not extract the file. Just put tar.gz on desktop as it is, and then follow from step No.3
DeleteHi,I have tried to install Xampp 1.7.3 but failed to do it so.The error states "Exiting with failure status due to previous errors."I dont know what do do.Can you just please help me with this?
ReplyDeleteERROR 407: Proxy Authentication Required....Error msg. is comming ???
ReplyDelete