在Ubuntu 14.04上安装Plesk 12.5,设置正确的主机名?

在Ubuntu 14.04上安装Plesk 12.5,设置正确的主机名?,ubuntu,plesk,hostname,Ubuntu,Plesk,Hostname,我正在尝试在运行Ubuntu14.04的新VPS上安装Plesk12.5.3。我正在使用(类似于digitalocean.com)等 我正在努力解决的部分是在/etc/hosts/和 /etc/hostname,因为这是Plesk安装所必需的 假设我的主域名是hello.com,我想让plesk面板位于server.hello.com ubuntu服务器是我给水滴取的名字 默认值/etc/hostname ubuntu-server 默认值/etc/hosts: 127.0.0.1

我正在尝试在运行Ubuntu14.04的新VPS上安装Plesk12.5.3。我正在使用(类似于digitalocean.com)等

我正在努力解决的部分是在
/etc/hosts/
/etc/hostname
,因为这是Plesk安装所必需的

假设我的主域名是
hello.com
,我想让plesk面板位于
server.hello.com

ubuntu服务器
是我给水滴取的名字

默认值
/etc/hostname

ubuntu-server
默认值
/etc/hosts

127.0.0.1       localhost
127.0.1.1       guest

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.0.1 guest
::1       guest

127.0.0.1 ubuntu-server
::1       ubuntu-server

我需要将此更改为什么?我需要上面所有的东西吗?

最终解决了

在我的
/etc/hostname
中,我需要

server.hello.com
在我的
/etc/hosts
中,我需要这个:

127.0.0.1       server.hello.com server localhost.localdomain localhost
IP.OF.SEVER.HERE    server.hello.com     server