nginx改tengine,gitlab重装操作步骤
2016-06-14 13:38
633 查看
nginx改tengine
yum -y install gcc gcc-c++ gd gd-devel
cd libunwind-1.1
LAGS=-fPIC ./configure --prefix=/usr/local
make LAGS=-fPIC
make LAGS=-fPIC install
cd gperftools-2.0
./configure --prefix=/usr/local
make && make install
上面两个包需要重新编译
拷贝原来安装的tengine
ls /opt/src,复制到这台机器
tar cvzf tengine.tar.gz openssl pcre zlib tengine 需要的一些依赖包
最后一步
ln -s /usr/local/lib/libunwind.so /lib64/libunwind.so.8
ln -s /usr/local/lib/libprofiler.so.0 /lib64
启动
/etc/init.d/tengine start
gitlab重装操作步骤
参考 http://lansgg.blog.51cto.com/5675165/1760578
要注意的是,gitlab有个.gitlab_shell_secret,gitlab-shell也有一个,如果你查看gitlab-shell.log,报401错误,那么有可能是这两个文件不一样,实际上就是token。每次安装都会生成,如果你直接cp,以前的和现在安装的就会不一样,我碰到过。
重装的话,参考上面的文档
1.注意gitlab的版本,gitlab安装其实就是在安装ruby的一些依赖包,要保证每一步都是正确的
2.redis最好改成127.0.0.1或则机器ip
3.需要以前的gitlab mysql备份数据库,然后导入到这台上
4.如果tenginx设置端口的,不是默认的80的话,两个config.xml的host都要修改
yum -y install gcc gcc-c++ gd gd-devel
cd libunwind-1.1
LAGS=-fPIC ./configure --prefix=/usr/local
make LAGS=-fPIC
make LAGS=-fPIC install
cd gperftools-2.0
./configure --prefix=/usr/local
make && make install
上面两个包需要重新编译
拷贝原来安装的tengine
ls /opt/src,复制到这台机器
gperftools-2.0 nginx-accesskey-2.0.3 ngx-fancyindex pcre-8.35 zlib-1.2.8 libunwind-1.1 nginx_tcp_proxy_module openssl-1.0.0o ruby-2.2.3 nginx-1.6.2 ngx_cache_purge-2.2 openssl-1.0.2 tengine-2.1.2cd /usr/local/
tar cvzf tengine.tar.gz openssl pcre zlib tengine 需要的一些依赖包
最后一步
ln -s /usr/local/lib/libunwind.so /lib64/libunwind.so.8
ln -s /usr/local/lib/libprofiler.so.0 /lib64
启动
/etc/init.d/tengine start
./nginx -V loaded modules: ngx_core_module (static) ngx_errlog_module (static) ngx_conf_module (static) ngx_dso_module (static) ngx_syslog_module (static) ngx_events_module (static) ngx_event_core_module (static) ngx_epoll_module (static) ngx_poll_module (static) ngx_tcp_module (static) ngx_tcp_core_module (static) ngx_tcp_upstream_module (static) ngx_tcp_proxy_module (static) ngx_tcp_websocket_module (static) ngx_tcp_upstream_ip_hash_module (static) ngx_tcp_upstream_busyness_module (static) ngx_tcp_ssl_module (static) ngx_procs_module (static) ngx_proc_core_module (static) ngx_openssl_module (static) ngx_regex_module (static) ngx_http_module (static) ngx_http_core_module (static) ngx_http_log_module (static) ngx_http_upstream_module (static) ngx_http_static_module (static) ngx_http_gzip_static_module (static) ngx_http_autoindex_module (static) ngx_http_fancyindex_module (static) ngx_http_index_module (static) ngx_http_access_module (shared, 3.1) ngx_http_limit_req_module (shared, 3.1) ngx_http_auth_basic_module (static) ngx_http_limit_conn_module (shared, 3.1) ngx_http_realip_module (static) ngx_http_geo_module (static) ngx_http_map_module (static) ngx_http_split_clients_module (static) ngx_http_referer_module (static) ngx_http_ssl_module (static) ngx_http_proxy_module (static) ngx_http_fastcgi_module (static) ngx_http_uwsgi_module (static) ngx_http_scgi_module (static) ngx_http_empty_gif_module (static) ngx_http_browser_module (static) ngx_http_concat_module (shared, 3.1) ngx_http_user_agent_module (static) ngx_http_rewrite_module (shared, 3.1) ngx_http_sysguard_module (static) ngx_http_upstream_consistent_hash_module (static) ngx_http_upstream_check_module (static) ngx_http_upstream_keepalive_module (static) ngx_http_upstream_dynamic_module (static) ngx_http_stub_status_module (static) ngx_http_accesskey_module (static) ngx_tcp_upstream_check_status_module (static) ngx_http_write_filter_module (static) ngx_http_header_filter_module (static) ngx_http_chunked_filter_module (static) ngx_http_range_header_filter_module (static) ngx_http_gzip_filter_module (static) ngx_http_postpone_filter_module (static) ngx_http_ssi_filter_module (static) ngx_http_charset_filter_module (static) ngx_http_image_filter_module (static) ngx_http_sub_filter_module (static) ngx_http_userid_filter_module (static) ngx_http_trim_filter_module (shared, 3.1) ngx_http_footer_filter_module (static) ngx_http_upstream_session_sticky_module (shared, 3.1) ngx_http_headers_filter_module (static) ngx_http_reqstat_module (static) ngx_http_cache_purge_module (shared, 3.1) ngx_http_copy_filter_module (static) ngx_http_range_body_filter_module (static) ngx_http_not_modified_filter_module (static) ngx_google_perftools_module (static)
gitlab重装操作步骤
参考 http://lansgg.blog.51cto.com/5675165/1760578
要注意的是,gitlab有个.gitlab_shell_secret,gitlab-shell也有一个,如果你查看gitlab-shell.log,报401错误,那么有可能是这两个文件不一样,实际上就是token。每次安装都会生成,如果你直接cp,以前的和现在安装的就会不一样,我碰到过。
重装的话,参考上面的文档
1.注意gitlab的版本,gitlab安装其实就是在安装ruby的一些依赖包,要保证每一步都是正确的
2.redis最好改成127.0.0.1或则机器ip
3.需要以前的gitlab mysql备份数据库,然后导入到这台上
4.如果tenginx设置端口的,不是默认的80的话,两个config.xml的host都要修改
相关文章推荐
- mysql重装后出现乱码设置为utf8可解决
- N点主机管理系统的重装步骤(图文)
- centos 6.5安装GitLab全过程和问题记录
- 全新安装gitlab后出现504 bad gateway 及提示输入默认帐号错误
- Gitlab安装
- CentOS源码安装GitLab汉化版
- redhat6.3部署gitlab
- Ubuntu+Windows双系统重装Windows后修复Grub引导
- Git LFS(Large File Storage)
- gitlab的安装配置
- centos gitlab安装
- 不重装,不还原,不优化,让你的系统比重装还爽
- 未正常卸载Exchange 2010情况下全新重装Exchange
- TortoiseGit升级操作说明
- gitlab进入数据库增加或删除管理员
- gitlab取消对文件的编辑选项
- gitlab取消用户注册时需要管理员认证功能
- gitlab的web hook,接收不到数据?其实藏在流里
- CentOS6.x下GitLab安装