后台工程师技术交流

CentOS7搭建LNMP并部署禅道项目管理

2019-01-16  本文已影响65人  prisoner_mirror

(Notice:以下所有经验也是我根据网上的经验整理的,如有侵权可以联系我删除,Wx:IT_Ezra,QQ 654303408。 有问题讨论也可联系我,QQ同上。)

(ps:以前从未很少接触Linux配置的小白,感觉应该还是比较详细的干货。每一个模块的部署是相互独立的。所以没有刻意在乎顺序)

PHP环境配置(禅道项目需要解析PHP)

tar -xvzf php-7.0.33.tar.gz
cd php-7.0.33

yum -y install libxml2
yum -y install libxml2-devel

liyum -y install openssl
yum -y install openssl-devel
yum -y install curl
yum -y install curl-devel
yum -y install libjpeg
yum -y install libjpeg-devel
yum -y install libpng
yum -y install libpng-devel
yum -y install freetype
yum -y install freetype-devel
yum -y install pcre
yum -y install pcre-devel
yum -y install libxslt
yum -y install libxslt-devel
yum -y install bzip2
yum -y install bzip2-devel

yum -y install openssl
yum -y install openssl-devel
yum -y install curl
yum -y install curl-devel
yum -y install libjpeg
yum -y install libjpeg-devel
yum -y install libpng
yum -y install libpng-devel
yum -y install freetype
yum -y install freetype-devel
yum -y install pcre
yum -y install pcre-devel
yum -y install libxslt
yum -y install libxslt-devel
yum -y install bzip2
yum -y install bzip2-devel

./configure --prefix=/usr/local/php --with-curl --with-freetype-dir --with-gd --with-gettext --with-iconv-dir --with-kerberos --with-libdir=lib64 --with-libxml-dir --with-mysqli --with-openssl --with-pcre-regex --with-pdo-mysql --with-pdo-sqlite --with-pear --with-png-dir --with-jpeg-dir --with-xmlrpc --with-xsl --with-zlib --with-bz2 --with-mhash --enable-fpm --enable-bcmath --enable-libxml --enable-inline-optimization --enable-gd-native-ttf --enable-mbregex --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-sysvshm --enable-xml --enable-zip

make

make install

cp php.ini-development /usr/local/php/lib/php.ini
cp /usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.conf
cp sapi/fpm/php-fpm /usr/local/bin

image.png

cp /usr/local/php/etc/php-fpm.d/www.conf.default /usr/local/php/etc/php-fpm.d/www.conf
vim /usr/local/php/etc/php-fpm.d/www.conf

/usr/local/bin/php-fpm

MYSQL环境配置(禅道项目需要调用mysql)

Nginx环境配置(禅道项目需要调用mysql)

yum localinstall http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum repolist enabled | grep "nginx*"

yum -y install nginx

service nginx start

systemctl enable nginx.service

systemctl list-dependencies | grep nginx

http://00.00.00.00/


作者:信er
来源:CSDN
原文:https://blog.csdn.net/qq_40876727/article/details/83862680
版权声明:本文为博主原创文章,转载请附上博文链接!

image.png

imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

禅道部署

tar -zxvf ZenTaoPMS.9.5.stable.zbox_64.tar.gz
cd /zbox
./zbox start

/opt/zbox/zbox -ap 8282

/opt/zbox/zbox -mp 3308

上一篇 下一篇

猜你喜欢

热点阅读