Ubuntu14.10 Server Edition installation XAMPP, configuring domain name port access

Source: Internet
Author: User

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

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.