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