sh /script/upcp 안될때

최고관리자 0 399

 

 

[root@homepage ~]# sh /script/upcp

-------------------------------------------------------------------

 WARNING:

 - Need change hostname with qualify to FQDN

   (use 'server1.domain.com' instead 'server1')

 - May trouble for web and mail without FQDN hostname

-------------------------------------------------------------------

 - For OpenVZ VPS, change hostname from VPS panel

 - For Others, change 'HOSTNAME' in '/etc/sysconfig/network' file

 - Reboot after change hostname​ 

 

=>

 

 

1.

Open the /etc/sysconfig/network file with your favorite text editor. 
Modify the HOSTNAME= value to match your FQDN host name.

Example:
Code: [Select]
nano /etc/sysconfig/network
Code: [Select]
HOSTNAME=myserver.domain.com

2.
Change the host that is associated to your main IPaddress for your server, this is for internal networking (found at /etc/hosts file)

BEFORE
# cat /etc/hosts
127.0.0.1  localhost.localdomain localhost

AFTER (add main server ip and hostname)
# cat /etc/hosts
127.0.0.1  localhost.localdomain localhost 
199.199.199.199 myserver.domain.com myserver

3.
From command line
Code: [Select]
hostname
hostname myserver.domain.com

 

  • 페이스북으로 보내기
  • 트위터로 보내기
  • 구글플러스로 보내기
  • 카카오스토리로 보내기
  • 네이버밴드로 보내기

Comments