将Alternc安装在Debian Squeeze, Wheezy, Jessie

・7 分钟阅读

AlternC是一个免费的控制面板,用于Web服务器,它现在由许多非盈利主机提供商维护。

步骤1:安装Git

AlternC是开源的,可以在GitHub上的Git存储库中找到,我们需要在Debian Squeeze wheezy或Jessie服务器上安装Git :

 
apt-get install git

 

接下来,让我们克隆Git仓库:


git clone https://www.github.com/AlternC/easy-install.git

步骤2:正在运行安装脚本

我们现在可以运行安装脚本,首先,让我们进入easy-install文件夹:

 
cd easy-install

 

使安装脚本可执行:

 
chmod +x install.sh

 

最后,运行安装脚本:

 
./install.sh

 

步骤3: 使用安装脚本


===== Warning =====

This installation script helps to test or install AlternC for 
the first time and / or don't know so much about Linux, network etc.

Using this script will provide a working installation, but if you need 
something more specific you might prefer a custom installation.

To learn more about the choices made for this installer, please read 
http://www.alternc.org/simpleInstaller

Do you want to continue the installation? (Y/n)

键入'y'并按Enter键继续。


===== Your AlternC server needs a public IP Address =====

This makes it available on the web from everywhere in the world.

For your information, here are the internet addresses of this machine:

[YourServerIP]

Please provide the public IP address

AlternC现在需要服务器的外部IP地址,

输入你的IP并按回车键。


===== Your AlternC needs a domain name =====

This domain name will be used to access the panel and send/receive mail.

You must use an original domain name dedicated for this purpose.
In other words, do not use a domain name intended to be your company or 
personal website. 
For example, 'example.com' is not good, unless your company is the 
hosting service by itself. 'panel.example.com' will work better, 
allowing you to still have your website on 'www.example.com'

If you are unsure, here are a few solutions: 
1. Create a subdomain dedicated to AlternC on a domain name you own
2. Use the free AlternC.net domain name service 

We recommand using the AlternC.net subdomain name if you are new to this.
You'll only need to request your subdomain on http://www.alternc.net and 
point it to the IP address you just provided.
Your AlternC domain name might then look like 'example.alternc.net'

Do you want to use AlternC.net domain name service? (Y/n)

AlternC需要可以运行的域名,这也可以是一个子域名,比如,panel.example.com ,Alternc提供了一个免费的子域名服务,但是建议你设置自己的(子)域名,这需要指向你的服务器。

我将自己设置(子)域名,现在我将进入'n'。


 For your information, this server hostname is :
 alternc

 Please provide your AlternC domain name

在此输入(子)域名AlternC,例如,panel.example.comexample.com ,这不能是你计划在Alternc服务器上托管的(子)域名。


===== Your AlternC needs DNS Servers =====

Domain Name Servers announce addresses of the domain names on the web.

If you don't have at least two name servers with minimal redundancy, we
highly recommand you the free service we provide (see http://alternc.net )

Do you want to use AlternC.net name servers ?(Y/n)

Alternc需要DNS服务器,如果你没有自己的DNS服务器,Alternc可以提供DNS服务器,如果要使用这些选项,请键入'y',否则,键入'n',我将用他们的DNS服务器。


===== Optional installation: roundcube webmail =====

Roundcube is the webmail software proposed by AlternC.

We recommand adding it to your installation.

Would you like to install Roundcube? (Y/n)

RoundCube是用于Webmail的流行软件,如果你打算使用网络邮件,我们建议你使用Roundcube 。


===== Optional installation: mailman mailing list manager =====

Mailman is the mailing list software proposed by AlternC.

Would you like to install Mailman? (Y/n)

因为AlternC支持邮件列表,所以,它提供了安装Mailman的选项,

AlternC将开始下载先决条件,并且在此之后安装,请注意,这可能需要一些时间,因为它必须安装LAMP 和所有其他AlternC依赖的软件。

步骤4:配置AlternC

安装完成后,AlternC为你提供控制面板本身以及MySQL的用户名和密码,例如:


************************************************************
* *
* Admin account *
* ------------ *
* *
* user: admin password: admin *
* *
* Please change this as soon as possible! *
* *
************************************************************

对于MySQL :


An important password has just been generated.

It is the mysql root (or master) password.

This password has been stored in the root directory : /root/.my.cnf

For your information this password is : 

 x

Service apache2 is running OK

Service master is running OK

Service mysqld is running OK

你现在可以通过你使用的(子)域名访问AlternC 。

管理面板:

杨和超 profile image