ZPanel是一个免费的虚拟主机管理面板,支持Windows、Linux等多个操作系统的VPS或服务器;官方找到的教程,有CentOS 6、Ubuntu 12.04和Windows系统环境下的;在这篇文章中,大地主要先介绍ZPanel在CentOS 6系统上的安装。
【CentOS 6推荐安装的系统环境】
CentOS 6.3 Minimal,支持32bit、64bit。
【ZPanel安装教程】
通过root帐户登录到VPS或服务器;32bit:
wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86-install.sh.x.tar.gz
tar -xf installer-x86-install.sh.x.tar.gz
chmod +x installer-x86-install.sh.x
yum install ld-linux.so.2 curl -y
./installer-x86-install.sh.x
64bit:
wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86_64-install.sh.x.tar.gz
tar -xf installer-x86_64-install.sh.x.tar.gz
chmod +x installer-x86_64-install.sh.x
yum install ld-linux.so.2 curl
./installer-x86_64-install.sh.x
运行安装脚本后,填入些相关信息:
To contine please agree to the GPL license (y/n/q)? y # 服务条款,输入y即可
Find your timezone from : http://php.net/manual/en/timezones.php e.g Europe/London
Enter Your Time Zone: Asia/Shanghai # 这里是时区的设置,例如Asia/Shanghai,即北京时间
Install fresh ZPanel server or enter an upgrade version number e.g 10-0-1 :install # 回车
Enter the FQDN of the server (example: zpanel.yourdomain.com): default.hostname
# FQDN,默认的就可;或删掉,并敲入一个二级域名
Enter the Public (external) IP of the server: 198.35.47.24 # pubip删掉,敲入公网的IP地址
MySQL Password is currently blank, please change it now.
Password you will use for MySQL: *********
Re-enter the password you will use for MySQL: ********* # 输入2遍MySQL的密码
ZPanel will now install, are you sure (y/n/q)? y # 是否开始安装
这样就开始安装了,根据网络和性能的不同,安装一般在5-10分钟内搞定;安装完成之后系统自动重启;之后打开IP,或指向该IP的域名就可以看到登录页面;登录用户名为:zadmin;随机密码可以用以下方法获得:
cat /root/passwords.txt
【截图】
【结语】
上面的截图可以简单的看到,安装的ZPanel默认的语言界面是英文的;值得庆幸的是,官方已经有中文语言包,安装也超级简单;这篇文章主要做安装教程,而非其他,ZPanel安装中文语言在之后的文章中。
转载请注明:大地博客 » ZPanel: 在CentOS 6上安装