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