Installation and configuration of the XAMPP

Source: Internet
Author: User
Tags filezilla ftp

Installation:

JDK Installation http://www.oracle.com/technetwork/java/javase/downloads/index.html

Integrated installation package: xampp:https://www.apachefriends.org/

Download install, install Apache,mysql,filezilla FTP server, mercury mail server, tomcat,php, Perl, Phpmyadmin,webalizer,fake SendMail

Configuration:

Mysql

After installing MySQL root account is a blank password, open in the browser http://localhost/phpmyadmin into MySQL management, the root user's password modified. (After the change, phpMyAdmin can't get in)

Then find the phpMyAdmin directory under the XAMPP installation directory, create a new config directory inside, give everyone read and write permission, in the browser in Http://localhost/phpmyadmin/setup configuration, click Save , a config.inc.php file appears in the Config directory, which is copied to the parent directory to overwrite the original configuration. Then you can go into the phpMyAdmin management database. When the operation is complete, remove the Everyone permission from the Config directory, or delete the Config directory directly to ensure the server is secure.

Non-native access sites:

To the XAMPP installation directory, and then to Apche/conf/extra find httpd-xampp.conf found the following text, will need to open the external sub-virtual directory name removed, restart the Apche server.

<"^/(? I: (?: xampp|security|licenses|webalizer|server-status|server-info))">          Require local    errordocument 403/error/xampp_forbidden.html.var</  Locationmatch>

  

Tomcat configuration:

Specify root directory: Navigate to xampp\tomcat\conf directory, open server.xml, modify and restart Tomcat

<Hostname= "localhost"AppBase= "WebApps"Unpackwars= "true"Autodeploy= "true">Add inside it<ContextPath=""DocBase= "Your directory Address"reloadable= "true"></Context>
Then restart the Tomcat service

Add a virtual directory: in the C:\xampp\tomcat\conf\Catalina\localhost directory, create your virtual directory name. xml file, file content, and then restart Tomcat

<? XML version= "1.0" encoding= "UTF-8" ?> < Context      DocBase = "directory corresponding to the virtual directory"      reloadable= "true"></Context>

Modify Port: Navigate to Xampp\tomcat\conf directory, open server.xml, modify file and restart Tomcat

<port= "8080"  protocol= "http/1.1"               connectiontimeout  = "20000"               redirectport= "8443"/> Change 8080 to the port you want

  

    

Installation and configuration of the XAMPP

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.