Startup-C/opt start xamppsudo/opt/lampp/lamppstarttips
Install xampp
- Download xampp-linux-1.7.3a.tar.gz to xampp Official Website
- Install sudo tar xvfz xampp-linux-1.7.3a.tar.gz-C/opt
- Start xampp sudo/opt/lampp start
Tips
- During installation, be sure to log on as an administrator (sudo)
- In the/opt/lampp/share/xampp-control-panel graphical interface xampp control panel written in python, you must use sudo to run it. you can right-click the desktop to create an initiator, enter gksu/opt/lampp/share/xampp-control-panel in the command line. Add gksu in front to prompt you to enter the sudo password. Otherwise, you cannot run the command. the icon is converted to png using the ico in it.
- Change the permission of the htdocs directory. Otherwise, a permission error will occur when installing the web program. (For a long time, I still want to get apache umask or something ....)
Sudo chmod-R 777/home/htdocs
- Add alias. the default website directory is/opt/lampp/htdocs, which requires sudo permission. It is not very convenient. I select a new directory and sudo gedit/opt/lampp/etc/httpd. modify conf to search for strings /Opt/lampp/htdocs, replace 2 places, then add Alias/xampp/opt/lampp/htdocs/xampp at the end, so that access localhost/xampp can access the xampp panel. remember to restart the lampp restart service to take effect.
- Set it to automatically start at each boot. (I have not tried this online)
Sudo ln-s/opt/lampp/etc/init. d/lampp
Sudo update-rc.d-f lampp default
Install Eclipse
It is easy to directly download the php version. Do not install the java Plug-in again.