最近,看到很多朋友询问笔者关于Zpanel的教程,始作俑者应该是之前的教程比较老的缘故吧,今天顺便跟大家分享一下最近相关的安装成果。
本文将要介绍Zpanel在CentOS6.3和Ubuntu12.04上的安装,这两个也是官方给出相对稳定的一键安装包,此外国外论坛上也有相应Debian的安装脚本,但因为不是官方出品,所以本文暂不收录,Ubuntu用户觉得不耐烦的话也请粗略浏览CentOS部分的内容,因为实际上大同小异~~另外由于Zpanel默认没有提供在线的文件管理模块,我们需要额外安装,这一内容,笔者会择日给大家介绍~
安装前,请卸载已安装的Apache,PHP和MySQL等相关组件,建议使用纯净系统安装
Zpanel X在CentOS 6上的安装
(推荐安装环境:CentOS 6.3 Minimal)
1)下载zpanel安装包
32位:
wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86-install.sh.x.tar.gz
64位:
wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86_64-install.sh.x.tar.gz
本文为方便起见,以32位为例,进行安装,要安装64位的朋友参照下载格式更改即可,并不麻烦~
2)解压
tar -xf installer-x86-install.sh.x.tar.gz
3)设置执行权限
chmod +x installer-x86-install.sh.x
4)开始安装!
yum install ld-linux.so.2./installer-x86-install.sh.x
5)以下就开始简单的设置了,我是y了一下,就一直回车到设置MySQL密码设置(当然你自己可以设置咯~)~,最后开始y安装,详细过程已经po到本文供参详:
# 。/installer-x86-install.sh.x############################################################### Welcome to the Official ZPanelX Installer for CentOS 6.0-3 ## ## Please make sure your VPS provider hasn‘t pre-installed ## any packages required by ZPanelX. ## ## If you are installing on a physical machine where the OS ## has been installed by yourself please make sure you only ## installed CentOS and no extra packages. ## ## If you selected additional options during the CentOS ## install please consider reinstalling with no ## additional options. ## ## Help for this installation script can be obtained on the ## official ZPanelCP forums (http://forums.zpanelcp.com) ## ## All bugs should be reported to http://bugs.zpanelcp.com ## Licensed Under the GPL which can be found here: ## (http://www.gnu.org/licenses/gpl.html) ## ## Owner : Kevin Andrews (kevin@zvps.co.uk) ## Current maintainer : Kevin Andrews (kevin@zvps.co.uk) ## Version 2.0.0 ## ###############################################################To contine please agree to the GPL license (y/n/q)? yFind your timezone from : http://php.net/manual/en/timezones.php e.g Europe/LondonEnter Your Time Zone: Europe/LondonInstall fresh ZPanel server or enter an upgrade version number e.g 10-0-1 :installEnter the FQDN of the server (example: zpanel.yourdomain.com): localhost.localdomainEnter the Public (external) IP of the server: New’: not a valid identifierMySQL Password is currently blank, please change it now.Password you will use for MySQL: ********Re-enter the password you will use for MySQL: ********ZPanel will now install, are you sure (y/n/q)? y
6)登录Zpanel吧
访问Zpanel请使用ip/随便绑定的域名均可~用户名zadmin,随机密码保存在/root/passwords.txt
给个界面看看吧。
7)如果出错,请参考在/root/下的日志文件(名称一般为数字.log)
另外Zpanel还支持Ubuntu 12.04,安装方法大同小异,这里仅给大家列出相应步骤,只需要参照上面融会贯通一下就好。
1)下载安装包
64位:
wget http://www.zvps.co.uk/sites/default/files/downloads/ubuntu-12-04/package/installer-x86_64-install.sh.x.tar.gz
32位:
wget http://www.zvps.co.uk/sites/default/files/downloads/ubuntu-12-04/package/installer-x86-install.sh.x.tar.gz
2)解压
tar -xf installer-x86-install.sh.x.tar.gz
3)授权
chmod +x installer.sh.x
4)运行
./installer.sh.x
文章来自:http://www.vmvps.com/zpanel-install-tuto