vultr教程:如何在ubuntu18.04上安装Hestia控制面板

Hestia 控制面板是一个强大的、开源的web 主机控制面板,具有专为Debian Ubuntu 设计的网站、电子邮件、数据库和DNS 功能。在Hestia 的帮助下,系统管理员可以轻松地在一个地方执行许多系统管理任务。

 

前提:

一个新的Vultr Ubuntu 18.04 x64 服务器实例,至少有512 Mb 的内存。修改后的系统可能无法正确安装。

服务器实例有一个静态的公共IP 地址203.0.113.1

已经配置了指向服务器的域名example.com

服务器的FQDN 应该与其主机名不同。例如,主机名和FQDN 分别是hcp hcp.example.com

以root用户身份SSH 到服务器。

服务器是最新的包版本。

 

步骤1: 安装Hestia 控制面板

 

安装ca-certificate 包。

# apt-get update && apt-get install ca-certificates

下载官方的Hestia 安装脚本。

# wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh

运行安装程序。

# bash hst-install.sh

安装程序可能会检测到有冲突的包。

Would you like to remove the conflicting packages? [y/n]

如果是,输入Y 并回车。

在执行初始依赖项检查之后,脚本将请求确认以开始主安装。

Would you like to continue with the installation? [Y/N]:

输入Y ,然后再次回车。

 

输入您的电子邮件地址和域名。

Please enter admin email address: admin@example.com
Please enter FQDN hostname [vultr.guest]: hcp. zhujidou.com

安装脚本自动下载并安装所有需要的依赖项,包括Nginx MariaDB PHP 等。当完成脚本显示:

 

准备好开始了吗? 使用以下凭证登录:

Admin URL:  https://hcp.example.com:8083
Username:   admin
Password:   [password redacted]
...
Do you want to reboot now? [Y/N]

保存您的凭证以备将来参考,然后输入Y 并重新启动系统。

 


 

步骤2: 安装Let's 加密SSL 证书

SSH 到服务器作为根并运行以下命令:

# v-add-letsencrypt-host

如果成功,屏幕上将不会显示任何内容。

 

步骤3: Web 浏览器访问Hestia

系统重启后,访问Hestia 控制面板:https://hcp.example.com:8083

 


安装注意事项:

要执行无人值守安装与默认选项:

bash hst-install.sh -f -y no -e admin@example.com -p [your password] -s hcp.example.com


请使用浏览器的分享功能分享到微信等