博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux下EasyPanel版本安装及升级
阅读量:2094 次
发布时间:2019-04-29

本文共 5620 字,大约阅读时间需要 18 分钟。

Linux下EasyPanel版本安装及升级

本脚本为官方脚本,集成了kangle web服务器和mysql,仅支持centos 5和centos 6。

执行下面的命令即可,安装程序将自动安装或者升级。

yum -y install wget;wget http://download.kanglesoft.com/easypanel/ep.sh -O ep.sh;sh ep.sh

运行上面的安装shell,会自动安装kangle、easypanel、proftpd、mysql。

安装完后打开http://ip:3312/admin/登录才能完成最后的安装。

注:初始安装登陆帐号: admin 密码: kangle
注:centos系统下easypanel集成的php默认装的是php53,语言模块里显示的php52其实是php53版本;如果需要php5217版本,请点下面的链接查看安装教程

Kangle EasyPanel php5.2.17 for linux版(集成zend和ioncube)

wget https://raw.githubusercontent.com/1265578519/kangle/master/php/5.2/5217/php5217.sh -O php5217.sh;sh php5217.sh

php.ini路径为 /vhs/kangle/ext/tpl_php5217/php-templete.ini

Kangle EasyPanel php5.4.43 for linux版(集成zend和ioncube)

wget https://raw.githubusercontent.com/1265578519/kangle/master/php/5.4/5443/php5443.sh -O php5443.sh;sh php5443.sh

php.ini路径为 /vhs/kangle/ext/tpl_php5443/php-templete.ini

Kangle EasyPanel php5.5.27 for linux版(集成Zend OPcache和ioncube)

wget https://raw.githubusercontent.com/1265578519/kangle/master/php/5.5/5527/php5527.sh -O php5527.sh;sh php5527.sh

php.ini路径为 /vhs/kangle/ext/tpl_php5527/php-templete.ini

Kangle EasyPanel php5.6.11 for linux版(集成Zend OPcache和ioncube)

wget https://raw.githubusercontent.com/1265578519/kangle/master/php/5.6/5611/php5611.sh -O php5611.sh;sh php5611.sh

php.ini路径为 /vhs/kangle/ext/tpl_php5611/php-templete.ini

Kangle EasyPanel php7.0.0 for linux版(集成Zend OPcache和ioncube)

wget https://raw.githubusercontent.com/1265578519/kangle/master/php/7.0/700/php700.sh -O php700.sh;sh php700.sh

php.ini路径为 /vhs/kangle/ext/tpl_php700/php-templete.ini

以上脚本32位、64位都支持。

编译找不到LIBICONV解决方案:

make ZEND_EXTRA_LIBS='-liconv -L/usr/local/lib'

#!/bin/sh

yum -y install bzip2-devel libxml2-devel curl-devel db4-devel libjpeg-devel libpng-devel freetype-devel pcre-devel zlib-devel sqlite-devel libmcrypt-devel unzip
yum -y install mhash-devel openssl-devel
yum -y install libtool-ltdl libtool-ltdl-devel
PREFIX="/vhs/kangle/ext/tpl_php5443"
ZEND_ARCH="i386"
LIB="lib"
if test `arch` = "x86_64"; then
        LIB="lib64"
        ZEND_ARCH="x86_64"
fi
wget -c http://iweb.dl.sourceforge.net/project/kanglewebserver/php/5.4/5443/php-5.4.43.tar.bz2
tar xjf php-5.4.43.tar.bz2
cd php-5.4.43
CONFIG_CMD="./configure --prefix=$PREFIX --with-config-file-scan-dir=$PREFIX/etc/php.d --with-libdir=$LIB --enable-fastcgi --with-mysql --with-mysqli --with-pdo-mysql --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr/include/libxml2/libxml --enable-xml --disable-fileinfo --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-mbstring --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --with-pear --with-gettext --enable-calendar --with-openssl"
if [ -f /usr/include/mcrypt.h ]; then
        CONFIG_CMD="$CONFIG_CMD --with-mcrypt"
fi
#'./configure' --prefix=$PREFIX --with-config-file-scan-dir=$PREFIX/etc/php.d --with-libdir=$LIB '--enable-fastcgi' '--with-mysql' '--with-mysqli' --with-pdo-mysql '--with-iconv-dir' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr/include/libxml2/libxml' '--enable-xml' '--disable-fileinfo' '--enable-magic-quotes' '--enable-safe-mode' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--with-curlwrappers' '--enable-mbregex' '--enable-mbstring' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--enable-zip' '--enable-soap' '--with-pear' '--with-gettext' '--enable-calendar'
#'./configure' --prefix=$PREFIX --with-config-file-scan-dir=$PREFIX/etc/php.d --with-libdir=$LIB '--enable-fastcgi' '--with-mysql' '--with-mysqli' --with-pdo-mysql '--with-iconv-dir' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr/include/libxml2/libxml' '--enable-xml' '--disable-fileinfo' '--enable-magic-quotes' '--enable-safe-mode' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--with-curlwrappers' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--enable-zip' '--enable-soap' '--with-pear' '--with-gettext' '--enable-calendar'
$CONFIG_CMD
if test $? != 0; then
echo $CONFIG_CMD
echo "configure php error";
exit 1
fi
make
make install
mkdir -p $PREFIX/etc/php.d
if [ ! -f $PREFIX/php-templete.ini ]; then
        cp php.ini-dist $PREFIX/php-templete.ini
fi
if [ ! -f $PREFIX/config.xml ]; then
        wget http://iweb.dl.sourceforge.net/project/kanglewebserver/php/5.4/5443/config.xml -O $PREFIX/config.xml
fi
cd ..
wget http://iweb.dl.sourceforge.net/project/kanglewebserver/php/5.4/5443/php-templete.ini -O $PREFIX/php-templete.ini
#install zend
wget -c http://iweb.dl.sourceforge.net/project/kanglewebserver/php/5.4/5443/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-$ZEND_ARCH.tar.gz
tar zxf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-$ZEND_ARCH.tar.gz
cd ZendGuardLoader-70429-PHP-5.4-linux-glibc23-$ZEND_ARCH
cd php-5.4.x
mkdir -p $PREFIX/zend
mv ZendGuardLoader.so $PREFIX/zend/ZendGuardLoader.so
#install ioncube
wget -c http://iweb.dl.sourceforge.net/project/kanglewebserver/php/5.4/5443/ioncube-$ZEND_ARCH-5.4.zip
unzip ioncube-$ZEND_ARCH-5.4.zip
mkdir -p $PREFIX/ioncube
mv ioncube_loader_lin_5.4.so $PREFIX/ioncube/ioncube_loader_lin_5.4.so
rm -rf /tmp/*
/vhs/kangle/bin/kangle -r

转载地址:http://tsuhf.baihongyu.com/

你可能感兴趣的文章
Oracle数据库面试题
查看>>
java面试中的智力题
查看>>
本地如何连接hbase数据库
查看>>
Maven出错-Missing artifact org.apache.openejb:openejb-core:jar:4.1.0-SNAPSHOT:test
查看>>
dubbo配置文件xml校验报错
查看>>
eclipse生成export生成jar详解
查看>>
oracle 模糊查询忽略大小写
查看>>
Java项目导出可运行的jar文件
查看>>
Java文件夹操作,判断多级路径是否存在,不存在就创建(包括windows和linux下的路径字符分析),兼容Windows和Linux
查看>>
JAVA读取PROPERTIES配置文件
查看>>
Linux中执行shell脚本的4种方法总结
查看>>
BufferedInputStream(缓冲输入流)详解
查看>>
修改linux文件权限命令:chmod
查看>>
Linux vi/vim编辑器常用命令与用法总结
查看>>
如何使用Git Bash Here,将本地项目传到github上
查看>>
eclipse git控件操作 回退到历史提交 重置 删除(撤销)历史的某次提交
查看>>
Oracle | 给表和字段添加注释
查看>>
java比较日期大小及日期与字符串的转换【SimpleDateFormat操作实例】
查看>>
Oracle新表使用序列(sequence)作为插入值,初始值不是第一个,oraclesequence
查看>>
java中System.exit()方法
查看>>