前段时间到一家公司。用的 kangle 开的虚拟主机。。。。醉了啊 你们公司啥样的?我觉得一般一键 lnmp 的多吧
1
nigelvon 2016-06-30 10:21:16 +08:00
生产环境一键?你确定?
|
2
nankingpython OP @nigelvon 那该用啥?
|
3
Zohar 2016-06-30 10:25:23 +08:00 via Android
yum -y install php php-fpm
|
4
taijia 2016-06-30 10:25:32 +08:00 via Android
官网下载源码 手动编译 比较稳妥
|
5
nigelvon 2016-06-30 10:25:45 +08:00
@nankingpython 你说的生产环境不会是 windows 吧,自定义参数多的一般自己编译,再不济包管理器装的也比一键靠谱吧。
|
6
xuhaoyangx 2016-06-30 10:26:59 +08:00
自己搭
|
7
nankingpython OP @nigelvon 谢谢
不是 windows , |
8
nankingpython OP @Zohar 谢谢
|
9
nankingpython OP @taijia 谢谢
|
10
vus520 2016-06-30 10:29:00 +08:00
```shell
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm rpm -Uvh http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm yum -y install gcc gcc-c++ autoconf automake make yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel yum -y install ack screen wget curl zip unzip ntpdate yum -y install net-snmp net-snmp-devel net-snmp-utils vim git git-common yum -y install tar nc htop iotop iftop telnet wget curl yum -y remove mysql-server mysql httpd yum -y install ImageMagick-* yum -y install nginx Percona-Server-server-55 xtrabackup yum -y install php56w php56w-fpm php56w-common php56w-cli php56w-devel php56w-intl php56w-mysqlnd php56w-pdo php56w-soap php56w-tidy php56w-xml php56w-xmlrpc php56w-zts php56w-gd php56w-mbstring php56w-mcrypt php56w-pecl-zendopcache php56w-pear php56w-posix php56w-pecl-memcached php56w-pecl-memcache php56w-pecl-memcached php56w-mysqlnd php56w-pecl-redis ``` |
11
nankingpython OP @vus520 谢了
|
12
kiwi95 2016-06-30 10:55:21 +08:00
php 可以手动编译安装最新的版本,管理也很方便
|
13
ryd994 2016-06-30 12:18:22 +08:00 via Android
https://hub.docker.com/_/php/ 不过不算是很严格的生产环境,试验一下 docker
|
14
walkman660 2016-06-30 13:57:28 +08:00
一键包为基础,然后按自己需求改脚本
|