1. Downloaded from XAMPP Xampp-linux-1.7.3a.tar this package, and then FTP to my Linux virtual machine,
2. Copy to opt, (can be extracted directly) to opt under, tar xvfz Xampp-linux-1.7.3a.tar
3. Can be installed directly or called Initialize LAMPP,:/OPT/LAMPP/LAMPP start shows that the installation was successful and started successfully.
In order to facilitate debugging later, I put lampp boot file under/bin, you can directly lampp Start,restart,stop
4. You can access the Web site default directory by opening http://10.110.20.68 directly in the browser.
Now configure port access, create a new file at the site root web_www,
A. Open/opt/lampp/etc/httpd.conf, add listen 20040 (20040 port), b
B. Open the extral. http-vhost.conf file below, 1 new Namevirualhost *:20040,
2, add the following code,
< virtualhost *:20040 > DocumentRoot "/home/web_ Www/myweb "ServerName test_server errorlog logs/test.log customlog logs/test-access.log.common < directory "/home/web_www/myweb" >
#目录访问设置可以随意修改 Options Indexes followsymlinks allowoverride all Order allow,deny </directory></VirtualHost>
3 Open http://10.110.20.68:20040/on any computer that can ping to access your website content
Ubuntu14.10 Server Edition installation XAMPP, configuring domain name port access