Source: http://www.ido321.com/1265.html
Recently, I also played a Linux, and instantly feel that they force lattice and went up, so, to the notebook installed ubuntu+win7 dual system. Of course, in Ubuntu must be installed is the XAMPP, I mean for me.
To install, you must first download, this to the official website to download the Linux version of XAMPP. The downloaded package has only RW permissions and no x permissions, so you must change its permissions. For Ubuntu Novice, you can only find the tutorial online, but the installation failed
The first is to chmod a+x xampp Install the package name, add x permission to it, and turn it into an executable file, failure.
The second way is chmod 777 *.run, which previously changed the permissions to 777, but still failure.
So, I just want to, with root permissions to install, always OK, this is the highest privilege. Try it. First Get root permissions
Get root Permissions
1. Input sudo passwd root
2. Enter the new password and confirm the password again.
3. Each time you open the terminal input SU root
After obtaining the permissions, switch to the directory of the XAMPP package, enter the./package full name to install the
Once the installation is complete, an interface for XAMPP is automatically opened. The save path for UBUNTU14 is below/opt/lampp.
Under Ubuntu, there is also a control interface, the command to bring up the control interface is as follows:
xampp graphical panel under//linux must be root $ cd/opt/lampp/share/xampp-control-panel$ sudo./xampp-control-panel
Each configuration file directory:
Apache Document root directory:/opt/lampp/htdocs/
Apache configuration file:/opt/lampp/etc/httpd.conf
MySQL configuration file:/opt/lampp/etc/my.cnf
PHP configuration file:/opt/lampp/etc/php.ini
PROFTPD configuration file:/opt/lampp/etc/proftpd.conf
phpMyAdmin configuration file:/opt/lampp/phpmyadmin/config.inc.php
Common XAMPP commands (in the terminal with root input):
Start/stop/restart APACHE:/OPT/LAMPP/LAMPP Start/stop/restart (including start/stop/restart MYSQL,PROFTPD)
Safety settings:/OPT/LAMPP/LAMPP security
Using PHP Version/view version:/opt/lampp/lampp PHP4 (5)/phpstatus
Only start and stop Apache:/opt/lampp/lampp Startapache/stopapache
Only start and stop Mysql:/opt/lampp/lampp Startmysql/stopmysql
Start and stop PROFTPD server only:/opt/lampp/lampp startftp/stopftp
Start and stop SSL support for Apache:/opt/lampp/lampp Startssl/stopssl
With system self-booting:
Ln–s/opt/lampp/lampp/etc/rc.d/rc3.d/s99lampp
Ln–s/opt/lampp/lampp/etc/rc.d/rc4.d/s99lampp
Ln–s/opt/lampp/lampp/etc/rc.d/rc5.d/s99lampp
To cancel a self-boot:
Ln–s/opt/lampp/lampp K01LAMPP
Uninstalling XAMPP:RM–RF/OPT/LAMPP
Next: Blogilo:ubuntu "WLW"
Install XAMPP under Ubuntu