Khi tôi cố gắng để khởi động lại apache issueing /etc/init.d/apache2 restart tôi nhận được thông báo sau:Làm cách nào để thiết lập tên miền đủ điều kiện của máy chủ?
[email protected]:~# /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: apr_sockaddr_info_get() failed for server
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
... waiting apache2: apr_sockaddr_info_get() failed for server
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[email protected]:~# cat /etc/hostname
iSell
[email protected]:~# hostname
server
[email protected]:~# hostname -f
hostname: Name or service not known
[email protected]:~# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain
108.1.*.* eins
[email protected]:~#
Lưu ý: hai dấu hoa thị ở phần cuối của ip trong/etc/hosts được bổ sung bởi tôi tại thời điểm đăng bài. Lưu ý 2: giả sử tên miền của tôi là www.xyz.net
Tôi muốn biết chính xác những gì tôi phải làm từng bước một. Cảm ơn rất nhiều!
Đây không phải là chương trình liên quan. Vui lòng xem xét đăng trên một trang web SE khác. – jurgemaister
Hành vi này chỉ có trong ubuntu –