预览图:
需要用到的:
1、VPS一台
2、干净的系统一个(本次使用CentOS 5.x 32)
3、官方安装脚本
安装过程:
1、WINSCP上传适合你鸡鸡的shell脚本
2、通过SSH以ROOT身份连接你的鸡鸡,输入以下命令
wget http://xsdou.googlecode.com/files/zpanelx-centos-6-beta.tar.gz
tar -xf zpanelx-centos-6-beta.tar.gz
chmod +x installer.sh.x
yum install ld-linux.so.2
./installer.sh.x
或者是
wget http://xsdou.googlecode.com/files/zpanelx-installers-1.0.3-0.zip
unzip zpanelx-installers-1.0.3-0.zip
cd zpanelx-installers
yum update
yum install dos2unix
dos2unix centos-6-2-1.00.sh
chmod +x centos-6-2-1.00.sh
./centos-6-2-1.00.sh
shell脚本以你使用的为准,首次执行完可能会要求你重启再执行一次。
3、分别输入本机外网IP、主域名、面板域名
4、安装完成 自动重启
5、输入http://你的IP/zpanel
汉化过程:
1、通过ZPANELX面板打开PHPMYADMIN,分别选中对应的表,执行以下SQL语句
core库:
ALTER TABLE `x_accounts` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_aliases` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_bandwidth` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_cronjobs` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_distlists` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_distlistusers` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_dns` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_faqs` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_forwarders` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_ftpaccounts` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_groups` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_htaccess` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_mailboxes` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_logs` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_mailboxes` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_modcats` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_modules` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_mysql` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_mysql_databases` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_mysql_dbmap` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_mysql_users` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_packages` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_permissions` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_profiles` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_quotas` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_settings` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_translations` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `x_vhosts` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
postfix库:
ALTER TABLE `admin` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `alias` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `alias_domain` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `config` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `domain` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `domain_admins` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `fetchmail` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `log` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `mailbox` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `quota` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `quota2` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `vacation` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `vacation_notification` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
proftpd库(实际上我觉得这一部分做不做无所谓):
ALTER TABLE `ftpgroup` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `ftpquotalimits` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `ftpquotatallies` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `ftpuser` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
roundcube库:
ALTER TABLE `cache` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `contactgroupmembers` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `contactgroups` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `contacts` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `identities` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `messages` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `session` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `users` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
2、在zpanel目录找到Driver.class.php文件,然后打开,需找public function query($query) { try { 在try里面加入$FIXSql1 = "set character_set_server='utf8'"; $FIXSql2 = "set names 'utf8'"; $FIX = parent::query($FIXSql1); $FIX2 =parent::query($FIXSql2); 保存
在zpanel目录找到master.ztml文件,然后打开,找到,修改为 保存
ZPANEL的目录在:/etc/zpanel/,具体子目录自己找吧。
3、选中zpanel_core库,SQL命令
ALTER TABLE `x_translations` ADD `tr_Chinese_tx` TEXT NULL;
4、还是core库
命令代码已上传附件,比较多,自己去掉第一行。
[download]http://xsdou.googlecode.com/files/zpanelx%2Bchinese.rar[/download]
返回ZPANELX编辑账号,选择Chinese语言
5、皮肤安装 - Bootstrap Skin For Zpanelx
皮肤安装 - Bootstrap Skin For Zpanelx
1、下载附件
[download]http://xsdou.googlecode.com/files/bootstrap_skin_zpanelx.zip [/download]
2、WINSCP修改/etc/zpanel/panel/etc/styles/zpanelx为zpanelx_bak
3、新建zpanelx,CHMOD 0777,上传SKIN文件
模块安装:
【中文Ajax文件管理插件安装】:
1、SSH登陆鸡鸡输入以下命令
zppy repo add zppy.vjvj.tk
zppy update
zppy install ajaxplorer
2、进入ZPANELX,点击模块管理,勾选AjaXplorer中你要授权使用的用户组
3、进入AjaXplorer点右上角当前登陆用户切換中文语言
安装语言包
zppy repo add zpanel-packages.sammottley.co.uk
zppy update
zppy install ZXTS
4:后台开启动摸块设置好语言(虽然官方说到这里就可以用了其实还是不能用的)
5:phpMyAdmin用root帐户登陆 _cors下的x_translations (Structure 结构)把Type 改成MEDIUMTXT
这样语言就装好了
UPDATE:很多人不知道默认账号密码是什么 zadmin/password 地址是http://yourip/zpanel
zpanel for CentOS 5.x 32
wget http://xsdou.googlecode.com/files/zpanel-6.1.1.tar.gz
mkdir /etc/zpanel
tar -zxvf zpanel-6.1.1.tar.gz -C /etc/zpanel/
chmod +x /etc/zpanel/lib/dev/zpinstall_centos.sh
/etc/zpanel/lib/dev/zpinstall_centos.sh