Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7389180
  • 博文数量: 1755
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16227
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1755)

文章存档

2024年(1)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: 系统运维

2020-11-09 17:02:52

mysql:
yum install
yum install -y Percona-Server-server-56 Percona-Server-client-56 Percona-Server-devel-56

openresty:
yum install yum-utils
yum-config-manager --add-repo
yum install -y openresty curl

php7.1:
yum install epel-* -y
rpm -Uvh

centos6
yum -y install epel-release
rpm -Uvh

yum -y install php71w php71w-fpm php71w-mbstring php71w-common php71w-gd php71w-mcrypt php71w-mysql php71w-xml php71w-cli php71w-devel php71w-pecl-memcached php71w-pecl-redis php71w-opcache

nginx配置:
server{
    listen       80;
    server_name  _;
    index index.html index.php;
    root /data/web/guke;
    access_log  logs/host.access.log  main;
    location / {
        index  index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$query_string;
     }
    error_page  404              /404.html;

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }

    location ~ .php$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
}


阅读(1377) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~