GitLab 是利用 Ruby on Rails 一个开源的版本管理系统,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目。它拥有与Github类似的功能,能够浏览源代码,管理缺陷和注释。可以管理团队对仓库的访问,它非常易于浏览提交过的版本并提供...
一、安裝 pacman -S apache php php-apache mariadb phpmyadmin 二、配置 1.配置apache: 编辑/etc/httpd/conf/httpd.conf: 禁用event模式,註釋此行: pacman -S apache php php-apache mariadb phpmyadmin 启用prefork模式,取消此行注释: LoadModule mpm_...
1. 建立脚本文件nginxd [root@it.net.cn]# vi /etc/init.d/nginxd 插入以下内容 #!/bin/bash## chkconfig: - 85 15# description: Nginx is a World Wide Web server.# processname: nginxnginx=/usr/local/nginx/sbin/nginxconf=/usr/local/nginx/conf/ngin...
git服务器比较有名的是gitosis和gitolite,这两个管理和使用起来稍微有些复杂,没有web页面,而gitlab则是类似于github的一个工具,github无法免费建立私有仓库,并且为了代码安全,于是在内网安装了一个自己实验室的一个git服务器,多方比较,选择了gitlab...
gitlab 6.2-stable;Ubuntu 13.10;ruby 2.0.0 推荐使用PostgreSQL,MySQL不同版本可能碰到兼容性问题(www.oschina.net/question/82993_84763) ruby安装推荐使用rvm(ruby-china.org/wiki/install_ruby_guide) 参考:www.sagestroll.com/node/202 gem,ruby,bundle...
安装 # yum install pcre* -y # tar xf nginx-1.2.1.tar.gz # cd nginx-1.2.1 # ./configure --with-http_stub_status_module --prefix=/usr/local/nginx --with-http_gzip_static_module # make make install [root@server ~]# cd /usr/local/nginx/ [root@s...
1、配置好DNS解析 [root@server ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.2 (Santiago) [root@server ~]# uname -r 2.6.32-220.el6.i686 [root@server ~]# yum install bind* -y [root@server ~]# vim /etc/named.conf [root@...
修改配置文件fastcgi.conf,加上以下内容 fastcgi_param HTTP_USERNAME $http_username; 修改nginx.conf,日志输出格式,添加$http_username log_format main $remote_addr - $remote_user [$time_local] $request $status $body_bytes_sent $http_referer $htt...
使用ngx_lua模块(http://wiki.nginx.org/HttpLuaModule): local request_method = ngx.var.request_method local args = nil local param = nil local param2 = nil --获取参数的值 if GET == request_method then args = ngx.req.get_uri_args() elseif POS...
# cat /usr/local/apache2/build/config.nice //获取Apache编译时的参数 #!/bin/sh # #Created by configure ./configure\ --enable-modules=all\ --enable-mods-shared=all\ --enable-charset-lite\ --enable-unique-id\ --enable-usertrack\ --disable-ver...