Zhuan:ubuntu installation Apache2

Source: Internet
Author: User
Tags fully qualified domain name

Installation with sudo apt-get install apache2

sudo /etc/init.d/apache2 restart

If an error is found:

Following from:http://cache.baiducontent.com/c?m= 9f65cb4a8c8507ed4fece7631046893b4c4380143fd3d1027fa3c215cc79041a0735b2e5703517709596207a51f11409f7b17021715871aa98cc894ad Bbe912a28882537721d874311d11aa4ca4120cb268d4eacf259b1b5a36884afa2d1dd5354c044040a97f1f84d0065992da3456bb4b19838154811cafa 3116e8590678c2641ee050f9916e334196f6ac1c1b9d7183314fdcb835c16845f344e440407813b74cc04e0b7127e03e66a8047953d2fc5d966b6e405 2e20fede78aa1eb39cf9bb96fc3ae90f879&p=9760c64ad49911a058eb9f2a135292&newp= c6738b0d97934eaf5ee6c92d0214cd231610db2151d2db48&user=baidu&fm=sc&query=ah00558%3a+apache2%3a+ Could+not+reliably+determine+the+server%27s+fully+qualified+domain+name%2c+using+127.0&qid= b109711c0009ed46&p1=2

Error message:
Could reliably determine The server ' s fully qualified domain name, using 127.0.1.1 for ServerName

Workaround:
sudo gedit/etc/apache2/apache2.conf

Add the following file:
#Server Name
ServerName 127.0.0.1

Zhuan:ubuntu installation Apache2

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.