Ubuntu Installation Xampp Detailed introduction

Source: Internet
Author: User
Tags phpmyadmin

First, please download the latest version of XAMPP from www.xampp.org. Then, the installation file is known/opt and unzipped. If your computer does not have a/opt directory, use Superuser status to execute the mkdir/opt command to create the directory. If the computer does not have sudo command, use the SU command and enter the superuser password to switch to Superuser. Copy the file to/opt using the following command:
$sudo CP xampp-linux-x.x.tar.gz/opt
Use the command to enter the opt/directory and extract the file:
$ cd/opt
$ sudo tar zxvf xampp-linux-x.x-x.tar.gz-c/opt
$sudo/opt/lampp/lampp Start
Start the service, test the http://localhost in the browser

To uninstall XAMPP, simply enter the following command: sudo rm-rf/opt/lampp

Uninstall complete. :)

XAMPP command

Install XAMPP

The code is as follows Copy Code

Tar xvfz xampp-linux-1.6.4.tar.gz-c/opt

Start XAMPP

The code is as follows Copy Code

/opt/lampp/lampp start

Stop XAMPP

The code is as follows Copy Code

/opt/lampp/lampp stop

Restart XAMPP

The code is as follows Copy Code

/OPT/LAMPP/LAMPP restart

Security settings

The code is as follows Copy Code
/OPT/LAMPP/LAMPP Security

Using PHP4

The code is as follows Copy Code

/opt/lampp/lampp PHP4

Using PHP5

The code is as follows Copy Code

/opt/lampp/lampp PHP5

View PHP Version

The code is as follows Copy Code

/opt/lampp/lampp Phpstatus

Start Apache only

The code is as follows Copy Code

/opt/lampp/lampp Startapache

Stop Apache

The code is as follows Copy Code

/opt/lampp/lampp Stopapache

Start the SSL support for Apache

The code is as follows Copy Code

/opt/lampp/lampp Startssl

Stop the Apache SSL support

The code is as follows Copy Code

/opt/lampp/lampp Stopssl

Start MySQL database only

The code is as follows Copy Code

/opt/lampp/lampp Startmysql

Stop MySQL Database

The code is as follows Copy Code

/opt/lampp/lampp Stopmysql

Start ProFTPD Server

The code is as follows Copy Code

/opt/lampp/lampp startftp

Stop ProFTPD Server

The code is as follows Copy Code

/opt/lampp/lampp stopftp

Automatically start with system

The code is as follows Copy Code

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

Cancel auto Run with system

The code is as follows Copy Code

Ln-s/opt/lampp/lampp K01lampp

Uninstall XAMPP

The code is as follows Copy Code

Rm-rf/opt/lampp

XAMPP Important Files and directories

XAMPP Command Library. For example/opt/lampp/bin/mysql executable MySQL monitor

The code is as follows Copy Code

/opt/lampp/bin/

Apache Document root directory

The code is as follows Copy Code

/opt/lampp/htdocs/

Apache configuration file

The code is as follows Copy Code

/opt/lampp/etc/httpd.conf

MySQL configuration file

The code is as follows Copy Code
/opt/lampp/etc/my.cnf

PHP configuration file

The code is as follows Copy Code

/opt/lampp/etc/php.ini

ProFTPD Compounding documents. (starting from version 0.9.5)

The code is as follows Copy Code

/opt/lampp/etc/proftpd.conf

phpMyAdmin Preparation File

  code is as follows copy code

/opt/lampp /phpmyadmin/config.inc.php

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.