如何在Ubuntu 18.04/Debian 9上安装Vesta

时间:2020-02-23 14:38:51  来源:igfitidea点击:

Vesta(Vestacp)是一个强大的开源控制面板,用于管理,电子邮件,MySQL数据库,DNS,FTP用户等等。
它是商业托管控制面板(如CPANEL和PLESK)的替代方案。

在Ubuntu 18.04/Debian 9上安装Vesta

Vesta开发团队提供了一个安装程序脚本,可自动在Ubuntu/Debian和Rhel基于Linux发行版上设置Vesta托管控制面板。

登录Ubuntu/Debian系统,确保系统更新。

sudo apt-get update
sudo apt-get -y upgrade

升级后重新启动

sudo reboot

一旦系统启动,安装卷曲

sudo apt-get -y install curl

下载Vesta安装程序。

curl -O http://vestacp.com/pub/vst-install.sh

如果我们以标准用户身份登录,请使用sudo运行安装。

$sudo bash ./vst-install.sh 
 --2019-03-16 07:06:33--  http://vestacp.com/pub/vst-install-debian.sh
Resolving vestacp.com (vestacp.com)… 104.236.66.100
Connecting to vestacp.com (vestacp.com)|104.236.66.100|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 48816 (48K) [text/plain]
Saving to: 'vst-install-debian.sh'
....

以下是安装的默认包列表。

_|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|
 _|      _|  _|        _|            _|      _|    _|
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_|
   _|  _|    _|              _|      _|      _|    _|
     _|      _|_|_|_|  _|_|_|        _|      _|    _|
                                  Vesta Control Panel

Following software will be installed on your system:
   - Nginx Web Server
   - Apache Web Server (as backend)
   - Bind DNS Server
   - Exim mail server
   - Dovecot POP3/IMAP Server
   - MySQL Database Server
   - Vsftpd FTP Server
   - Softaculous Plugin
   - Iptables Firewall + Fail2Ban

Would you like to continue [y/n]: y

按"Y"键启动安装并提供管理电子邮件地址和服务器主机名。

Please enter admin email address: Hyman@theitroad
Please enter FQDN hostname [deb9]: hosting.example.com
Installation backup directory: /root/vst_install_backups/1552720254
Installation will take about 15 minutes …

成功的安装应该看起来类似于下面。

Thank you for using Softaculous
sudo: unable to resolve host hosting.example.com
=======================================================
 _|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|   
 _|      _|  _|        _|            _|      _|    _| 
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_| 
   _|  _|    _|              _|      _|      _|    _| 
     _|      _|_|_|_|  _|_|_|        _|      _|    _| 

Congratulations, you have just successfully installed Vesta Control Panel
    https://192.168.121.170:8083
    username: admin
    password: z67WJUfh3r
We hope that you enjoy your installation of Vesta. Please feel free to contact us anytime if you have any questions.
Thank you.
-
Sincerely yours
vestacp.com team

在https上访问Vesta admin仪表板://[serverip_or_hostname]:8083

安装后使用屏幕上显示的用户名和密码登录。