如何在 Ubuntu 14.04 上安装 Sentora

在本教程中,我们将向您展示如何在您的 Ubuntu 14.04 上安装和配置 Sentora。 对于那些不知道的人,Sentora 是一个开源网络托管控制面板,专为在各种 Linux 发行版上工作而构建。 Sentora 是一个功能齐全的免费托管控制面板,可以通过其用户友好的界面帮助您轻松管理您的服务器。 它易于安装,并包含在单个服务器上管理多个网站和客户端所需的所有软件。

本文假设您至少具备 Linux 的基本知识,知道如何使用 shell,最重要的是,您将网站托管在自己的 VPS 上。 安装非常简单。 我将向您展示在 Ubuntu 14.04 服务器中逐步安装 Sentora 虚拟主机面板。

先决条件

  • 运行以下操作系统之一的服务器:Ubuntu 14.04,以及任何其他基于 Debian 的发行版,如 Linux Mint。
  • 建议您使用全新的操作系统安装来防止任何潜在问题。
  • 对服务器的 SSH 访问(或者如果您在桌面上,则只需打开终端)。
  • 一种 non-root sudo user或访问 root user. 我们建议充当 non-root sudo user,但是,如果您在充当 root 时不小心,可能会损害您的系统。

在 Ubuntu 14.04 上安装 Sentora

步骤 1. 首先,确保所有软件包都是最新的。

apt-get update apt-get upgrade

步骤 2. 下载安装脚本 Sentora。

Sentora 不在存储库中,可用于安装,因此我们需要从 Web 下载安装脚本:

wget https://sentora.org/install chmod +x install

使用以下命令运行安装脚本:

./install
############################################################ # Welcome to the Official Sentora Installer 1.0.1 # ############################################################ Checking that minimal requirements are ok Detected : CentOs 7 x86_64 Ok. DB server will be mariaDB -- Installing wget and dns utils required to manage inputs Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.psychz.net * extras: mirror.keystealth.org * updates: mirrors.easynews.com No packages marked for update Package 32:bind-utils-9.9.4-14.el7_0.1.x86_64 already installed and latest version Package wget-1.14-10.el7_0.1.x86_64 already installed and latest version Preparing to select timezone, please wait a few seconds... Package tzdata-2015a-1.el7_0.noarch already installed and latest version Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 5) Asia 6) Atlantic Ocean 7) Australia 8) Europe 9) Indian Ocean 10) Pacific Ocean 11) none - I want to specify the time zone using the Posix TZ format. #? 2 Please select a country. 1) Anguilla 2) Antigua & Barbuda 3) Argentina 4) Aruba 5) Bahamas 6) Barbados 7) Belize 8) Bolivia 9) Brazil 10) Canada 11) Caribbean Netherlands 12) Cayman Islands 13) Chile 14) Colombia 15) Costa Rica 16) Cuba 17) Curacao 18) Dominica 19) Dominican Republic 20) Ecuador 21) El Salvador 22) French Guiana 23) Greenland 24) Grenada 25) Guadeloupe 26) Guatemala 27) Guyana 28) Haiti 29) Honduras 30) Jamaica 31) Martinique 32) Mexico 33) Montserrat 34) Nicaragua 35) Panama 36) Paraguay 37) Peru 38) Puerto Rico 39) St Barthelemy 40) St Kitts & Nevis 41) St Lucia 42) St Maarten (Dutch part) 43) St Martin (French part) 44) St Pierre & Miquelon 45) St Vincent 46) Suriname 47) Trinidad & Tobago 48) Turks & Caicos Is 49) United States 50) Uruguay 51) Venezuela 52) Virgin Islands (UK) 53) Virgin Islands (US) #? 49 Please select one of the following time zone regions. 1) Eastern Time 2) Eastern Time - Michigan - most locations 3) Eastern Time - Kentucky - Louisville area 4) Eastern Time - Kentucky - Wayne County 5) Eastern Time - Indiana - most locations 6) Eastern Time - Indiana - Daviess, Dubois, Knox & Martin Counties 7) Eastern Time - Indiana - Pulaski County 8) Eastern Time - Indiana - Crawford County 9) Eastern Time - Indiana - Pike County 10) Eastern Time - Indiana - Switzerland County 11) Central Time 12) Central Time - Indiana - Perry County 13) Central Time - Indiana - Starke County 14) Central Time - Michigan - Dickinson, Gogebic, Iron & Menominee Counties 15) Central Time - North Dakota - Oliver County 16) Central Time - North Dakota - Morton County (except Mandan area) 17) Central Time - North Dakota - Mercer County 18) Mountain Time 19) Mountain Time - south Idaho & east Oregon 20) Mountain Standard Time - Arizona (except Navajo) 21) Pacific Time 22) Pacific Standard Time - Annette Island, Alaska 23) Alaska Time 24) Alaska Time - Alaska panhandle 25) Alaska Time - southeast Alaska panhandle 26) Alaska Time - Alaska panhandle neck 27) Alaska Time - west Alaska 28) Aleutian Islands 29) Hawaii #? 1 The following information has been given: United States Eastern Time Therefore TZ='America/New_York' will be used. Local time is now: Mon May 4 10:00:00 EDT 2015. Universal Time is now: Mon May 4 15:00:00 UTC 2015. Is the above information OK? 1) Yes 2) No #? 1 === Informations required to build your server === The installer requires 2 pieces of information: 1) the sub-domain that you want to use to access Sentora panel, - do not use your main domain (like domain.com) - use a sub-domain, e.g panel.domain.com - or use the server hostname, e.g server1.domain.com - DNS must already be configured and pointing to the server IP for this sub-domain 2) The public IP of the server. Enter the sub-domain you want to access Sentora panel: sentora.lecturesnippets.com Enter (or confirm) the public IP for this server: 192.168.8.323 OK: DNS successfully resolves sentora.lecturesnippets.com to 192.168.8.323 All is ok. Do you want to install Sentora now (y/n)? y Daemon run complete! (10:10 4th May 2015 EDT) Restarting mariadb Restarting httpd Restarting postfix Restarting dovecot Restarting crond Restarting named Restarting proftpd Restarting atd ######################################################## Congratulations Sentora has now been installed on your server. Please review the log file left in /root/ for any errors encountered during installation. Login to Sentora at https://yourdomain.com Sentora Username : idroot Sentora Password : idrootnet323 MySQL Root Password : asdf1234CHEDELICS MySQL Postfix Password : OOIUERN5622MM44ES MySQL ProFTPd Password : JJK98SXMN1F2KOPe MySQL Roundcube Password : aQSGm105yPwTCOpD (theses passwords are saved in /root/passwords.txt) ######################################################## Restart your server now to complete the install (y/n)? y

步骤 3. 访问 Sentora。

默认情况下,Sentora 将在 HTTP 端口 80 上可用。 打开您喜欢的浏览器并导航到 https://yourdomain.com 或者 https://your-server-ip. 使用安装脚本生成的用户名/密码登录。登录后,您可以开始创建新域、网络托管和电子邮件托管。 如果您使用防火墙,请打开端口 80 以启用对控制面板的访问。

在 Ubuntu 14.04 上安装 Sentora

恭喜! 您已成功安装 Sentora。 感谢您使用本教程在 Ubuntu 14.04 系统中安装 Sentora 虚拟主机面板。 如需更多帮助或有用信息,我们建议您查看 Sentora 官方网站.

Save