gitlab一键安装 笔记
0 简单介绍bitnami和gitlab
bitnami
BitNami 提供wordpress、joomla、drupal、bbpress等开源程序的傻瓜式安装包下载,全部的安装包内置了server环境,就是说,不须要在本地 电脑上另外搭建server。就能够一次性傻瓜式安装完成。BitNami开源PHP程序傻瓜集成安装包可选环境,包含WAMP,LAMP,MAMP,SAMP。[2]
ps :这个玩意非常好。非常多东西实现一键安装。doc统一在:https://wiki.bitnami.com/Applications/
简单的截个图:![]()
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdW5pcXVlY2hhbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">
gitlab
GitLab 是一个用于仓库管理系统的开源项目。使用Git作为代码管理工具,并在此基础上搭建起来的web服务
ps : 这东西安装起来非常费劲,本人比較笨,从来没装成功过。要想自己一个个安装參考 百度
1 下载:
2 安装过程
赋权限[root@centos_xschao gitlab]$ chmod +x bitnami-gitlab-7.4.3-0-linux-installer.run
运行run[root@centos_xschao gitlab]# ./bitnami-gitlab-7.4.3-0-linux-installer.run----------------------------------------------------------------------------Welcome to the Bitnami Gitlab Stack Setup Wizard.----------------------------------------------------------------------------Select the components you want to install; clear the components you do not wantto install. Click Next when you are ready to continue.GitLab : Y (Cannot be edited)GitLab CI [Y/n] :YIs the selection above correct? [Y/n]: Y----------------------------------------------------------------------------Installation folderPlease, choose a folder to install Bitnami Gitlab StackSelect a folder [/opt/gitlab-7.4.3-0]:----------------------------------------------------------------------------Create Admin accountBitnami Gitlab Stack admin user creationEmail Address [xschao@xxx.com]:Login [xschao]:Password :xxxxxxxxxxxPlease confirm your password :----------------------------------------------------------------------------Hostname that will be used to create internal URLs. If this value is incorrect,you may be unable to access your Gitlab installation from other computers. It isadvisable to use a Domain instead of an IP address for compatibility withdifferent browsers.Domain [127.0.0.1]: 这里最好写外网ip或者域名Do you want to configure mail support? [y/N]: y----------------------------------------------------------------------------Configure SMTP SettingsThis is required so your application can send notifications via email.Default email provider:[1] GMail[2] CustomPlease choose an option [1] : 1----------------------------------------------------------------------------Configure SMTP SettingsThis data is stored in the application configuration files and may be visible toothers. For this reason, it is recommended that you do not use your personalaccount credentials.GMail address []: xschao.test@gmail.comGMail password :Re-enter :----------------------------------------------------------------------------Setup is now ready to begin installing Bitnami Gitlab Stack on your computer.Do you want to continue? [Y/n]: Y----------------------------------------------------------------------------Please wait while Setup installs Bitnami Gitlab Stack on your computer.Installing0% ______________ 50% ______________ 100%
3 使用的组件
root@centos_xschao gitlab-7.4.3-0]# ps aux|grep `pwd`root 7560 0.0 0.1 4484 1184 pts/1 S 00:08 0:00 /bin/sh /opt/gitlab-7.4.3-0/mysql/bin/mysqld_safe --defaults-file=/opt/gitlab-7.4.3-0/mysql/my.cnf --port=3306 --socket=/opt/gitlab-7.4.3-0/mysql/tmp/mysql.sock --datadir=/opt/gitlab-7.4.3-0/mysql/data --log-error=/opt/gitlab-7.4.3-0/mysql/data/mysqld.log --pid-file=/opt/gitlab-7.4.3-0/mysql/data/mysqld.pid --lower-case-table-names=1mysql 7836 0.2 3.7 323280 38592 pts/1 Sl 00:08 0:02 /opt/gitlab-7.4.3-0/mysql/bin/mysqld.bin --defaults-file=/opt/gitlab-7.4.3-0/mysql/my.cnf --basedir=/opt/gitlab-7.4.3-0/mysql --datadir=/opt/gitlab-7.4.3-0/mysql/data --plugin-dir=/opt/gitlab-7.4.3-0/mysql/lib/plugin --user=mysql --lower-case-table-names=1 --log-error=/opt/gitlab-7.4.3-0/mysql/data/mysqld.log --pid-file=/opt/gitlab-7.4.3-0/mysql/data/mysqld.pid --socket=/opt/gitlab-7.4.3-0/mysql/tmp/mysql.sock --port=3306redis 8032 0.0 0.1 33456 1304 ? Ssl 00:10 0:00 /opt/gitlab-7.4.3-0/redis/bin/redis-server 127.0.0.1:0root 8853 0.0 2.6 112060 27852 ? Ss 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8877 0.0 1.0 112668 11268 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8878 0.0 1.1 112828 11492 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8879 0.0 1.1 113028 11628 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8880 0.0 1.0 112696 11296 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8881 0.0 1.1 113164 11624 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8934 0.0 1.1 113156 11740 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8961 0.0 1.0 112684 11296 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confdaemon 8962 0.0 1.1 112684 11400 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.conf101 9022 0.0 0.0 4528 512 ? S 00:14 0:00 -bash -c ((cd /opt/gitlab-7.4.3-0/apps/gitlabci/gitlabci-runner && /opt/gitlab-7.4.3-0/apps/gitlabci/gitlabci-runner/bin/runner RAILS_ENV=production 2>&1) >/opt/gitlab-7.4.3-0/apps/gitlabci/gitlabci-runner/logs/gitlabci-runner.log) &101 9023 0.1 1.4 43012 15016 ? Sl 00:14 0:00 /opt/gitlab-7.4.3-0/ruby/bin/.ruby.bin /opt/gitlab-7.4.3-0/apps/gitlabci/gitlabci-runner/bin/runner RAILS_ENV=productiondaemon 9113 0.0 1.1 113004 11616 ? S 00:14 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.conf101 9145 0.3 7.4 101724 76624 ? Sl 00:14 0:02 Passenger RackApp: /opt/gitlab-7.4.3-0/apps/gitlabci/htdocsgit 9230 1.3 11.2 166724 116568 ? Sl 00:16 0:07 Passenger RackApp: /opt/gitlab-7.4.3-0/apps/gitlab/htdocsgit 9419 6.6 10.5 155652 109296 ? Sl 00:21 0:18 Passenger AppPreloader: /opt/gitlab-7.4.3-0/apps/gitlab/htdocsdaemon 9422 0.0 1.0 112504 10812 ? S 00:21 0:00 /opt/gitlab-7.4.3-0/apache2/bin/httpd -f /opt/gitlab-7.4.3-0/apache2/conf/httpd.confgit 9502 0.0 10.1 156588 104648 ? Sl 00:22 0:00 Passenger RackApp: /opt/gitlab-7.4.3-0/apps/gitlab/htdocsroot 9651 0.0 0.0 3912 672 pts/1 R+ 00:26 0:00 grep /opt/gitlab-7.4.3-0
4 启动命令
[root@centos_xschao gitlab-7.4.3-0]# find ./ -name '*ctlscript*'./ctlscript.sh[root@centos_xschao gitlab-7.4.3-0]# ./ctlscript.shusage: ./ctlscript.sh help./ctlscript.sh (start|stop|restart|status)./ctlscript.sh (start|stop|restart|status) mysql./ctlscript.sh (start|stop|restart|status) apache./ctlscript.sh (start|stop|restart|status) redis./ctlscript.sh (start|stop|restart|status) gitlab_sidekiq./ctlscript.sh (start|stop|restart|status) gitlabci_sidekiq./ctlscript.sh (start|stop|restart|status) gitlabci_runnerhelp - this screenstart - start the service(s)stop - stop the service(s)restart - restart or start the service(s)status - show the status of the service(s)
5 配置:
參考这里:酌情翻墙
https://wiki.bitnami.com/Applications/BitNami_GitLab
格格巫和一群快乐的蓝精灵
gitlab一键安装 笔记的更多相关文章
- gitlab一键安装+配置(备份+LADP认证)
gitlab一键安装+配置(备份+LADP认证) #gitlab一键安装 #centos6 mini, GitLab社区版 #参考官方最新文档 https://www.gitlab.com.cn/in ...
- gitlab一键安装 (转)
原文地址:http://www.2cto.com/os/201411/353292.html 0 简介bitnami和gitlab bitnami BitNami是一个开源项目,该项目产生的开源软件包 ...
- gitlab一键安装
参考 https://about.gitlab.com/downloads/
- GitLab一键式安装bitnami
https://bitnami.com/stack/gitlab/installer https://bitnami.com/redirect/to/96764/bitnami-gitlab-8.5. ...
- centos 7 一键安装gitlab
# cat /etc/redhat-release CentOS release 6.5 (Final) # strings /lib64/libc.so.6 |grep GLIBC_ 首先升级 如果 ...
- GitLab一键式安装bitnami 专题
git lab developer角色不能提交到master分支的问题 错误提示: git -c diff.mnemonicprefix=false -c core.quotepath=false p ...
- (转)CentOS下一键安装GitLab
[环境准备]OS: CentOS 6.3 x86_64 [安装要求]如果有条件,提供一台全新的Server(仅仅只安装了一些系统的软件包),可以直接使用一键安装脚本(gitlab-install-el ...
- Gitlab一键端的安装汉化及问题解决(2017/12/14目前版本为10.2.4)
Gitlab的安装汉化及问题解决 一.前言 Gitlab需要安装的包太TM多了,源码安装能愁死个人,一直出错,后来发现几行命令就装的真是遇到的新大陆一样... ... 装完之后感觉太简单,加了汉化补丁 ...
- GITLAB安装笔记
CentOS 7 最小安装后操作 设置时区timedatectl set-timezone Asia/Shanghai 添加 Gitlab 清华源 vi /etc/yum.repos.d/gitlab ...
随机推荐
- 详解Google第二代TPU 既能推理又能训练 性能霸道
详解Google第二代TPU 既能推理又能训练 性能霸道 转自:http://www.cnbeta.com/articles/tech/613639.htm 5月18日凌晨,Google CEO Su ...
- 杂项-JAVA:MVP
ylbtech-杂项-JAVA:MVP 简称:MVP 全称:Model-View-Presenter :MVP 是从经典的模式MVC演变而来,它们的基本思想有相通的地方:Controller/Pres ...
- [ASP.Net] 转 > ASP.NET MVC 小牛之路
URL: http://www.cnblogs.com/willick/ 看到了不错的学习笔记,MVC.Net学习之路展开 [ASP.NET MVC 小牛之路]18 - Web API [ASP. ...
- BZOJ 4491 分块OR差分+线段树
思路: (是不是只有我作大死写了个分块) up[i][j]表示从第i块开始到第j个位置 上升的最大值 down[i][j]同理 left_up[i]表示从第i块开始能够上升的最长长度 left_dow ...
- delphi 用idhttp做web页面数据抓取 注意事项
这里不讨论webbrowse方式了 .直接采用indy的 idhttp Get post 可以很方便的获取网页数据. 但如果要抓取大量数据 程序稳定运行不崩溃就不那么容易了.这几年也做了不少类似工具 ...
- 基于HTML5陀螺仪实现ofo首页眼睛移动效果
最近用ofo小黄车App的时候,发现以前下方扫一扫变成了一个眼睛动的小黄人,觉得蛮有意思的,这里用HTML5仿一下效果. ofo眼睛效果 效果分析 从效果中不难看出,是使用陀螺仪事件实现的. 这里先来 ...
- CSS3伪元素、伪类选择器
伪元素选择器: ::first-letter:为某个元素中的文字的首字母或第一个字使用样式. ::first-line:为某个元素的第一行文字使用样式. ::before:在某个元素之前插入一些内容. ...
- poj1111 Image Perimeters 广搜
题目大意: 输入一个矩阵,再输入其中一个“X”的位置(从1开始).从该位置向八个方向扩展,如果是“X”就可以并在一起.问最后得到的模块的周长是多少. 解题思路: 按照广搜的思路来做.用一个二维的数组标 ...
- MIME类型记录
Content-Disposition: attachment; filename="filename.xls" 提供下载
- 【Oracle】恢复丢失的临时表空间文件
Oracle 11g以后,临时表空间文件是可以在重启数据库以后自动生成的(当然也可以在相同目录再建一个临时表空间文件),模拟实验如下: 1)删除临时表空间数据文件 SYS@ENMOEDU> se ...