1, download: first download xampplinux1.7.3a version through wget, address for Release 1, download: first download xampp linux 1.7.3a version through wget, address for http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/xampp-linux-1.7.3a.tar.gz
2. Installation: extract the downloaded file to the/opt directory:
Specifically: tar xvfz xampp-linux-1.7.3a.tar.gz-C/opt
Now, XAMPP is installed in the/opt/lampp directory.
3. start: to start XAMPP, run the following command:/opt/lampp start.
But in Ubuntu, this cannot be done.
First, you must convert sudo-s to root.
Second, go to the directory cd/opt/lampp and press enter. /lampp start to start XAMPP. when the main step is started, the XAMPP cannot be started if one step is wrong. I also learned it after trying it.
The following information is displayed after startup:
Starting XAMPP 1.7.3a...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
It indicates that APache and mysql have been started.
4. test: enter http: // localhost in ur address bar
The starting screen of XAMPP contains some connections to check the system status and some simple sample programs.
Run the following command to uninstall XAMPP: sudo rm-rf/opt/lampp.
Uninstalled successfully. :) XAMPP command
Install XAMPP
Tar xvfz xampp-linux-1.6.4.tar.gz-C/opt
Start XAMPP
/Opt/lampp start
Stop XAMPP
/Opt/lampp stop
Restart XAMPP
/Opt/lampp restart
Security Settings
/Opt/lampp security
Use php4
/Opt/lampp php4
Use php5
/Opt/lampp php5
View php version
/Opt/lampp phpstatus
Start Apache only
/Opt/lampp startapache
Stop Apache
/Opt/lampp stopapache
Start SSL support for Apache
/Opt/lampp startssl
Disable SSL support for Apache
/Opt/lampp stopssl
Start MySQL databases only
/Opt/lampp startmysql
Stop a MySQL database
/Opt/lampp stopmysql
Start the ProFTPD server
/Opt/lampp startftp
Stop a ProFTPD server
/Opt/lampp stopftp
Automatically started with the system
Ln-s/opt/lampp/etc/rc. d/rc3.d/S99lampp
Ln-s/opt/lampp/etc/rc. d/rc4.d/S99lampp
Ln-s/opt/lampp/etc/rc. d/rc5.d/S99lampp
Cancel automatic running with the system
Ln-s/opt/lampp K01lampp
Uninstall XAMPP
Rm-rf/opt/lampp
Important XAMPP files and directories
XAMPP command Library. For example, the/opt/lampp/bin/mysql executable MySQL monitor
/Opt/lampp/bin/
Apache document root directory
/Opt/lampp/htdocs/
Apache configuration file
/Opt/lampp/etc/httpd. conf
MySQL preparation file
/Opt/lampp/etc/my. cnf
PHP preparation file
/Opt/lampp/etc/php. ini
ProFTPD preparation file. (Starting from version 0.9.5)
/Opt/lampp/etc/proftpd. conf
PhpMyAdmin preparation file
/Opt/lampp/phpmyadmin/config. inc. php
The installation of XAMPP In Ubuntu has been completed. I hope it will help you! Hope we can make common progress!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service