First, install XAMPP:
1, download the installation package with wget;
2, add the execution permission for the installation package;
3, directly installed to the/opt/;
4. Add Boot: Ln-s/opt/lampp/lampp/usr/bin/
Second, firewall Http80 port and 3306 port open;
Method One, setup-> select Firewall->http, MySQL before playing * number;
Method Two, enter the/etc/sysconfig/iptables to increase the corresponding order;
Method three, directly with iptables related command modification;
Three, Apache configuration:/opt/lampp/bin/http.conf Open the extension,/opt/lampp/bin/extra/vhttp.conf configure the virtual host
Four, MySQL configuration:
1, establish a soft connection;
2, Navicat Settings connection: ① Modify login Password ② Open IP authorization Access ③ Import settings: Modify the connection properties, remove the use MySQL character set option, select GBK encoding;
3, after setting the password phpMyAdmin must modify the configuration file to log on; Troubleshoot import Chinese display garbled: ① Save the SQL file as UTF8 encoding; ② Change the data table encoding in the SQL statement in the file to UTF8
4, if necessary, directly modify the MySQL configuration file/opt/lampp/etc/my.ini
Five, the matters needing attention:
1.
Summary of construction process of XAMP integrated development environment under Linux