源码安装 GitLab 步骤繁琐:需要安装依赖包,Mysql,Redis,Postfix,Ruby,Nginx……安装完毕还得一个个手动配置这些软件,容易出错 - 此方式这里不做教程 环境 : centos 6.5 x64 - Minimal Gillab 官网 : https://about.gi ...
分类:
系统相关 时间:
2017-01-18 13:59:39
阅读次数:
312
启用status模块【--with-http_stub_status_module】nginx安装完成之后,在后续的使用中发现需要的模块有些未安装,这时怎么办呢?到nginx的源码目录下,重新编译,但是不要makeinstall。具体步骤:#cd/home/nginx-1.6.3#./configure--prefix=/usr/local/nginx--with-openssl=/h..
分类:
其他好文 时间:
2017-01-16 23:19:17
阅读次数:
339
tomcat,redis下载忽略。 一、从github上下载源码,https://github.com/jcoleman/tomcat-redis-session-manager, 将源码复制到开发工具,打包成jar.注意tomcat版本,此处用tomcat 7.0.72,maven编译环境同样为1 ...
分类:
其他好文 时间:
2017-01-14 17:09:09
阅读次数:
151
1.需求 搭建mysql+php+nginx环境 2流程 分为5步,磁盘分区,安装vsftpd,安装nginx,安装php-fpm,安装mysql 3.磁盘分区 http://www.cnblogs.com/dudu/archive/2012/12/07/aliyun-linux-fdisk.htm ...
分类:
系统相关 时间:
2017-01-11 13:03:54
阅读次数:
304
安装一、安装nginx时必须先安装相应的编译工具yum-yinstallgccgcc-c++autoconfautomakeyum-yinstallzlibzlib-developensslopenssl-develpcre-devel建立nginx组groupadd-rnginxuseradd-s/sbin/nologin-gnginx-rnginxidnginxzlib:nginx提供gzip模块,需要zlib库支持openssl:nginx..
分类:
其他好文 时间:
2017-01-10 00:10:05
阅读次数:
280
1.安装nginx sudo apt-get install nginx 2.nginx 的启动和关闭启动 nginx:# nginx -c /etc/nginx/nginx.conf 3.关闭 nginx# nginx -s stop 4.重读配置文件 # nginx -s reload# pki ...
分类:
系统相关 时间:
2017-01-06 01:28:00
阅读次数:
185
安装说明系统环境:CentOS6.4软件:nginx-1.9.12.tar.gz安装方式:源码编译安装安装位置:/usr/local/nginx下载地址:http://nginx.org/en/download.html1.yum安装一些依赖包[root@niaoyun-101tools]#yuminstallpcre*zlib*gccopensslopenssl-devellibxml*libxslt*gd-develGeoIG..
分类:
其他好文 时间:
2017-01-04 17:11:48
阅读次数:
293
配置步骤: 1、在nginx安装目录下,找到nginx.conf所在文件夹,新建vhost文件夹 2、在nginx.conf http{} 末端加入 include vhost/*.conf; 3、进入第一步创建的文件中,新建所需的配置文件 kt.conf 4、编辑 kt.conf 加入以下内容 5 ...
分类:
Web程序 时间:
2016-12-30 13:06:16
阅读次数:
172
今天买了台阿里云服务器用于日常开发测试。系统版本CentOS 6.5 64位。 首先安装nginx: 安装完成后,使用 service nginx start 命令启动nginx出现错误 nginx: [emerg] socket() [::]:80 failed (97: Address fami ...
分类:
Web程序 时间:
2016-12-29 20:09:08
阅读次数:
169
nginx可以使用各平台的默认包来安装,本文是介绍使用源码编译安装,包括具体的编译参数信息。 正式开始前,编译环境gcc g++ 开发库之类的需要提前装好,这里默认你已经装好。 ububtu平台编译环境可以使用以下指令 1 2 apt-get install build-essential apt- ...
分类:
其他好文 时间:
2016-12-28 09:48:11
阅读次数:
235