CentOS6.8 64位安装WDCP面板详细流程

时间:17-05-07 栏目:问题及解决 作者:admin 评论:0 点击: 9,731 次

1、可以使用RPM包安装方式
wget http://down.wdlinux.cn/in/lanmp_wdcp_ins.sh
sh lanmp_wdcp_ins.sh

2、以下命令为选项升级

#升级PHP为5.3版本
wget http://soft.laozuo.org/wdcp/php_up53.sh
sh php_up53.sh

#升级MySQL为5.5版本
wget http://soft.itbulu.com/wdcp/mysql_up55.sh
sh mysql_up55.sh

#升级PHP为5.4版本
wget http://soft.itbulu.com/wdcp/php_up54.sh
sh php_up54.sh
#升级PHP为5.6版本
wget http://soft.itbulu.com/wdcp/php_up56.sh
sh php_up56.sh

#安装zendGuard7
wget http://soft.itbulu.com/wdcp/zendguard7.sh
sh zendguard7.sh 5.6

 

上面的命令可能遇到的问题:

提示:
-bash: wget: command not found
则运行:
yum install wget

 

如果yum安装mcrypt错误:No package php-mcrypt available.解决方法

yum install cmake报错:

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again
解决一(命令更新yum源):

http://www.phperz.com/article/14/1208/39965.html

yum  install epel-release  //扩展包更新包
yum  update //更新yum源
yum install libmcrypt libmcrypt-devel mcrypt mhash  就ok了

解决二(使用aliyun的更新yum源):
解决办法:
http://www.cnblogs.com/zuochuang/p/6548081.html
1、下载新的CentOS-Base.repo 到/etc/yum.repos.d/【版本是5.*的下载5、6.*下载6、7.*下载7】
5.*的下载连接:
[root@localhost ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
6.*的下载连接:
[root@localhost ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
7.*的下载连接:
[root@localhost ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
2、然后执行以下命令:
[root@localhost ~]# rpm -e rpmforge-release --nodeps
[root@localhost ~]# yum clean all
[root@localhost ~]# yum update

解决三(使用163的更新yum源):
参考:
http://mirrors.163.com/.help/centos.html

 

如果升级mysql5.5脚本最后出现以下提示,表示没有安装成功

mysql_up55.sh: line 10: cmake: command not found

configure err

需要安装下cmake,执行下:yum install cmake -y

如果安装不了cmake,配置更新下源,再安装,配置更新源参考上面的步骤

 

 

升级mysql5.5后可能出现问题参考:

http://www.itbulu.com/wdcp-updata-php-mysql.html

如安装到MySQL这步时,出现cmake:command not found错误,则需要安装下cmake,执行下:yum install cmake -y

 

运行service mysqld restart如果出现:

WDCP-MYSQL55

则需要在ssh里编辑:vi /www/wdlinux/init.d/mysqld

找到下面两行:

basedir=

datadir=

然后替换成:

basedir=/www/wdlinux/mysql

datadir=/www/wdlinux/mysql/var

升级mysql5.5后出现:
Cannot load from mysql.proc. The table is probably corrupted
原因:
http://bugs.mysql.com/bug.php?id=50183
原因是mysql.proc升级时有个字段没有升级成功。
在5.1中mysql.proc表的comment字段是varchar(64):
但在5.5中应该是text:

声明: 本文由( admin )原创编译,转载请保留链接: CentOS6.8 64位安装WDCP面板详细流程

CentOS6.8 64位安装WDCP面板详细流程:等您坐沙发呢!

发表评论


------====== 本站公告 ======------
联系信息:
电话:19970108113(微信同号) QQ:3142401606
支付宝:https://me.alipay.com/lxq73061
相关插件程序等信息均会在站内发布,敬请关注。

读者排行