Installation Xampp detailed tutorials under CentOS

Source: Internet
Author: User

Now PHP integrated operating environment more and more, personal preferred xampp, update fast, easy to use, convenient installation. Windows under the installation, is the next step, the next step, there is nothing to say, in detail on the installation of Linux, here is the example of CentOS to illustrate.

First, download xampp

If you download directly from XAMPP's official website using wget, you can choose the version you want in this link because of the various walls that cannot be downloaded successfully. I chose Linux under, 64-bit, 5.6.14 this version.

Use the following command to download:

# wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/5.6.14/xampp-linux-x64-5.6.14-0-installer.run

After the download is successful, a file named: is seen in the directory xampp-linux-x64-5.6.14-0-installer.run .

Second, installation

Before installing, you need to give the XAMPP installation package the permissions that you can perform

# chmod 777 xampp-linux-x64-5.6.14-0-installer.run

Run ./xampp-linux-x64-5.6.14-0-installer.run the installation operation. Follow the prompts to select the parts you want to install:

At this point, the installation step has completed the boot xampp:

# /opt/lampp/lampp start

Stop XAMPP:

# /opt/lampp/lampp stop

Uninstall XAMPP:

# /opt/lampp/lampp stop# rm -rf /opt/lampp
Third, make LAN accessible

After the installation is completed, many times use locahost to access, there is no problem, but the same LAN in the other host with the domain name access, often can not access, here is probably divided into two kinds: 1. XAMPP configuration file:/opt/lampp/etc/extra/httpd-xampp.conf in the content screen

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">#Require localErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

2. If you follow the above changes, still cannot access, it may be the firewall to kill 80 ports, either shut down the firewall, or configure the 80 port to allow access.

Iv. installation Settings

In the default installation process, XAMPP All are no password, for security, we should set the password for XAMPP. How do I do that?

# /opt/lampp/lampp security
    • 1

set the password for the XAMPP:  Xampp:quick Security Check ...  Xampp:your XAMPP pages is not secured by a password. Xampp:do want to set a password? [Yes] Yew Xampp:do want to set a password? [Yes] Yes XAMPP:Password:XAMPP:Password (again):

User name default is: XAMPP

set the password for the phpMyAdmin:  Xampp:the mysql/phpmyadmin User PMA has no password set!!! Xampp:do want to set a password?  [Yes] Yes XAMPP:Password:XAMPP:Password (again): xampp:setting new MySQL PMA Password. Xampp:setting phpMyAdmin ' s PMA password to the new one.

to set up the root account for MySQL:  Xampp:mysql has no root passwort set!!! Xampp:do want to set a password?  [Yes] Yes xampp:write the password somewhere down to make sure you won ' t forget it!!!  XAMPP:Password:XAMPP:Password (again): xampp:setting new MySQL root Password. Xampp:change PhpMyAdmin ' s authentication method.

To set the FTP password:  Xampp:the FTP password for user ' daemon ' was still set to ' XAMPP '. Xampp:do want to change the password? [Yes] Yes XAMPP:Password:XAMPP:Password (again):

Through the above steps, the basic setup is done, has reached the level of availability. To learn more, Google is available!

Installation Xampp detailed tutorials under CentOS

Related Article

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.