YZPanel:中文VPS控制面板

YZPanel(YZHCP)是什么? YZPanel简称(YZHCP)是基于国外优秀的免费服务器控制面板ZPanel而来,谈不上做了什么开发和修改。只是做了个系统的教程和符合国人使用习惯的控制面板界面而已。 之前,爱吧简介过ZPanel,YZPanel是其汉化版。 安装过程:

第一步:安装ZPanel服务器控制面板CentOS 6+ 32bit为例

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 一般用root登陆没切换目录的话下载的文件在/root下面 解压: tar -xf installer-x86-install.sh.x.tar.gz 执行权限: chmod +x installer-x86-install.sh.x 开始安装: yum install ld-linux.so.2 ./installer-x86-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/Chongqing (这里输入Asia/Chongqing使用亚洲时区) 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): (服务器名默认即可这里直接回车,也可以输入) Enter the Public (external) IP of the server: 输入IP (公网IP地址输入你的独立IP) MySQL Password is currently blank, please change it now. Password you will use for MySQL: 输入phpMyadmin管理密码 (mysql的root密码) Re-enter the password you will use for MySQL: 再次输入输入phpMyadmin管理密码 (再次输入mysql的root密码) ZPanel will now install, are you sure (y/n/q)? y (y开始安装) 开始安装等着就行,安装快慢取决于性能和网速。一般5-10几分钟即可安装完成,安装完成后系统将会自动重启一次。 用IP打开即可看到登录管理界面,登录用户名为:zadmin 管理登录随机密码保存在 /root/passwords.txt 文件中


第二步:安装YZPanel(YZHCP)主题模板 YZstyleX.zip 和状态默认页面

cd /etc/zpanel/panel/etc/styles wget -c http://yzpanel.cdn.duapp.com/ui/style/YZstyleX.zip unzip YZstyleX.zip 在Theme Manager选择YZstyleX然后Save rm -rf /etc/zpanel/panel/etc/static cd /etc/zpanel/panel/etc wget -c http://yzpanel.cdn.duapp.com/ui/indexpage/static.zip unzip static.zip 状态默认页面自定义编辑方法 /etc/zpanel/panel/etc/static bandwidthexceeded 带宽超过 /etc/zpanel/panel/etc/static/bandwidthexceeded/index.php disabled 禁用暂停 /etc/zpanel/panel/etc/static/disabled/index.php diskexceeded 磁盘超标 /etc/zpanel/panel/etc/static/diskexceeded/index.php errorpages 错误页面 /etc/zpanel/panel/etc/static/errorpages/403.html、404.html、500.html、510.html nowebstats 没有首页文件 /etc/zpanel/panel/etc/static/nowebstats/index.html pages 服务器开通默认页 /etc/zpanel/panel/etc/static/pages/welcome.html 特别说明当网站没有首页文件例如 index.html index.php 文件时对应的是/var/www/error/noindex.html 这个文件 因此可以使用/etc/zpanel/panel/etc/static/nowebstats/index.html替换noindex.html


第三步:安装ZPanel中文汉化语言包

zppy repo add zpanel-packages.sammottley.co.uk zppy update zppy install ZXTS 在Server Admin->Module Admin下开启 在Administrator下打上勾 在Server Admin菜单下就能看到ZXTS了点击进入找到Mandarin -> Install or Update 进入安装下载 提示:Translations was added successfully 在My Account->Choose Language:选择Mandarin->Update Account 这里最好全都修改为你的信息因为如果Email不修改会报错不能保存。 (备用的:这两步不用做 更新 zppy upgrade ZXTS 卸载 zppy remove ZXTS) 除去提示信息:Welcome to your new ZPanel installation! You can remove this message from the Client Notice Manager module. This module allows you to notify your clients of service outages upgrades and new features etc 🙂 客户通知管理->Client message 删除这一段即可,当然可以自定义修改成其他信息!


第四步:为ZPanel增加”在线文件管理”功能

zppy repo add zppy.vjdev.co.uk zppy update zppy install ajaxplorer 在模块管理下开启 (在Administrators Resellers Users下打上勾) ajaxplorer功能强大并且支持多国语言,登录ajaxplorer后在右上角点击用户名然后选择”简体中文”即可切换语言。 ajaxplorer在线文件管理如果遇到中文文件名乱码无法删除,可以删除整个文件夹。


第五步:优化ZPanel安装PHP加速器eAccelerator0.9.6.1、ionCube组件、Zend Guard Loader支持PHP5.3+

安装PHP加速器eAccelerator: yum install make wget -c http://yzpanel.duapp.com/down/eaccelerator-0.9.6.1.tar.bz2 tar xjf eaccelerator-0.9.6.1.tar.bz2 cd eaccelerator-0.9.6.1 /usr/bin/phpize ./configure -enable-eaccelerator=shared -with-php-config=/usr/bin/php-config make make install cd / rm -rf eaccelerator-0.9.6.1 rm -rf eaccelerator-0.9.6.1.tar.bz2 mkdir /tmp/eaccelerator chmod 777 /tmp/eaccelerator cd /etc/php.d/ wget http://yzpanel.duapp.com/down/eaccelerator/Xen-eaccelerator.ini mv Xen-eaccelerator.ini eaccelerator.ini wget http://yzpanel.duapp.com/down/eaccelerator/OPENVZ-eaccelerator.ini mv OPENVZ-eaccelerator.ini eaccelerator.ini 这一步二选择一即可,根据实际情况选择Xen架构就下载Xen-eaccelerator.ini;OPENVZ架构就下载OPENVZ-eaccelerator.ini


安装 ionCube: cd / wget -c http://yzpanel.duapp.com/down/ioncube_loaders_lin_x86.zip unzip ioncube_loaders_lin_x86 mv ioncube /usr/local/lib/ 编辑文件/etc/php.ini 添加 zend_extension = “/usr/local/lib/ioncube/ioncube_loader_lin_5.3.so”


安装 Zend Guard Loader: cd /root 32位 wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz 64位 wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz sudo mkdir /usr/zend tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz sudo cp /root/ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so /usr/zend/ 编辑文件/etc/php.ini 在zend_extension = “/usr/local/lib/ioncube/ioncube_loader_lin_5.3.so” 后面添加 zend_extension=/usr/zend/ZendGuardLoader.so zend_loader.enable=1 zend_loader.disable_licensing=0 zend_loader.obfuscation_level_support=3 zend_loader.license_path= 安装完成之后 service httpd restart 重启httpd服务 然后用php -v查看是否安装成功

via:http://yzpanel.duapp.com/ ZPanel官网:http://www.zpanelcp.com/

推荐站内搜索:游戏高防服务器、域名怎么注册、移动代理ip、域名查询网、网站备案流程、asp主机空间、申请免费空间、香港代理服务器美国虚拟空间、已经备案域名、