有人做过吗?我已经设法安装了它,但我是新手,不知道将什么指定为服务器主机名。这是 azure 提供的 DNS 名称吗?因为我相信它不能是服务器 IP 地址。
最佳答案
I have managed to install it but I am new to this and do not know what to specify as the server hostname. Would this be the DNS name that azure provides?
没错,我们使用 Azure 公共(public) IP 地址的 DNS 名称作为主机名,如下所示:
[root@jasonvm home]#hostname jasoncpanel.eastus.cloudapp.azure.com
安装Cpanel完成后,我们会得到这样的信息:
注意:
在Azure中,我们应该先重置root密码,这样我们就可以使用root登录Cpanel了。
[root@jasonvm home]# passwd
Changing password for user root.
New password:
BAD PASSWORD: The password contains less than 1 uppercase letters
Retype new password:
passwd: all authentication tokens updated successfully.
关于linux - Azure VM 上的 cPanel?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43977431/