原文地址:http://www.2cto.com/os/201411/353292.html

0 简介bitnami和gitlab

bitnami

BitNami是一个开源项目,该项目产生的开源软件包安装 Web应用程序和解决方案堆栈,以及虚拟设备。bitnami主办Bitrock公司成立于2003年在西班牙塞维利亚,由丹尼尔·洛佩兹 Ridruejo。bitnami栈用于安装在Linux,Windows,Mac OS X中和Solaris软件。[1] BitNami 提供wordpress、joomla、drupal、bbpress等开源程序的傻瓜式安装包下载,所有的安装包内置了服务器环境,就是说,不需要在本地 电脑上另外搭建服务器,就可以一次性傻瓜式安装完毕。BitNami开源PHP程序傻瓜集成安装包可选环境,包括WAMP,LAMP,MAMP,SAMP。[2]
来源: <http://baike.baidu.com/view/6313045.htm?fr=aladdin> ps :这个玩意很好,很多东西实现一键安装。doc统一在:https://wiki.bitnami.com/Applications/
简单的截个图:

gitlab

GitLab 是一个用于仓库管理系统的开源项目。使用Git作为代码管理工具,并在此基础上搭建起来的web服务
来源: <http://baike.baidu.com/view/9915769.htm?fr=aladdin> ps : 这东西安装起来很费劲,本人比较笨,从来没装成功过。要想自己一个个安装参考 百度

1 下载:

一键安装包: https://bitnami.com/stack/gitlab

2 安装过程

ps 需要root 前提信息记录 账户名:xushichao@miaozhen.com xschao 密码 xiaoxiao

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
赋权限
[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 want
to install. Click Next when you are ready to continue.
  
GitLab : Y (Cannot be edited)
  
GitLab CI [Y/n] :Y
  
Is the selection above correct? [Y/n]: Y
  
----------------------------------------------------------------------------
Installation folder
  
Please, choose a folder to install Bitnami Gitlab Stack
  
Select a folder [/opt/gitlab-7.4.3-0]:
 
  
----------------------------------------------------------------------------
Create Admin account
  
Bitnami Gitlab Stack admin user creation
  
Email Address [xschao@xxx.com]:
  
Login [xschao]:
  
Password :xxxxxxxxxxx
Please 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 is
advisable to use a Domain instead of an IP address for compatibility with
different browsers.
  
Domain [127.0.0.1]: 这里最好写外网ip或者域名
  
Do you want to configure mail support? [y/N]: y
  
----------------------------------------------------------------------------
Configure SMTP Settings
  
This is required so your application can send notifications via email.
  
Default email provider:
  
[1] GMail
[2] Custom
Please choose an option [1] : 1
  
----------------------------------------------------------------------------
Configure SMTP Settings
  
This data is stored in the application configuration files and may be visible to
others. For this reason, it is recommended that you do not use your personal
account credentials.
  
GMail address []: xschao.test@gmail.com       
  
GMail 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.
  
 Installing
 0% ______________ 50% ______________ 100%

3 使用的组件

ps 没好奇心略过即可,

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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=1
mysql     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=3306
redis     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:0                            
root      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.conf
daemon    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.conf
daemon    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.conf
daemon    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.conf
daemon    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.conf
daemon    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.conf
daemon    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.conf
daemon    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.conf
daemon    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.conf
101       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=production
daemon    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.conf
101       9145  0.3  7.4 101724 76624 ?        Sl   00:14   0:02 Passenger RackApp: /opt/gitlab-7.4.3-0/apps/gitlabci/htdocs                                                                              
git       9230  1.3 11.2 166724 116568 ?       Sl   00:16   0:07 Passenger RackApp: /opt/gitlab-7.4.3-0/apps/gitlab/htdocs                                                                                
git       9419  6.6 10.5 155652 109296 ?       Sl   00:21   0:18 Passenger AppPreloader: /opt/gitlab-7.4.3-0/apps/gitlab/htdocs                                                                           
daemon    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.conf
git       9502  0.0 10.1 156588 104648 ?       Sl   00:22   0:00 Passenger RackApp: /opt/gitlab-7.4.3-0/apps/gitlab/htdocs                                                                                
root      9651  0.0  0.0   3912   672 pts/1    R+   00:26   0:00 grep /opt/gitlab-7.4.3-0

4 启动命令

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[root@centos_xschao gitlab-7.4.3-0]# find ./ -name '*ctlscript*'
./ctlscript.sh
[root@centos_xschao gitlab-7.4.3-0]# ./ctlscript.sh
usage: ./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_runner
  
help       - this screen
start      - 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 配置: 参考这里:酌情FQ http://www.2cto.com/os/201408/323795.html

gitlab一键安装 (转)的更多相关文章

  1. gitlab一键安装+配置(备份+LADP认证)

    gitlab一键安装+配置(备份+LADP认证) #gitlab一键安装 #centos6 mini, GitLab社区版 #参考官方最新文档 https://www.gitlab.com.cn/in ...

  2. gitlab一键安装 笔记

    0 简单介绍bitnami和gitlab bitnami BitNami是一个开源项目,该项目产生的开源软件包安装 Web应用程序和解决方式堆栈.以及虚拟设备. bitnami主办Bitrock公司成 ...

  3. gitlab一键安装

    参考 https://about.gitlab.com/downloads/

  4. GitLab一键式安装bitnami

    https://bitnami.com/stack/gitlab/installer https://bitnami.com/redirect/to/96764/bitnami-gitlab-8.5. ...

  5. centos 7 一键安装gitlab

    # cat /etc/redhat-release CentOS release 6.5 (Final) # strings /lib64/libc.so.6 |grep GLIBC_ 首先升级 如果 ...

  6. GitLab一键式安装bitnami 专题

    git lab developer角色不能提交到master分支的问题 错误提示: git -c diff.mnemonicprefix=false -c core.quotepath=false p ...

  7. (转)CentOS下一键安装GitLab

    [环境准备]OS: CentOS 6.3 x86_64 [安装要求]如果有条件,提供一台全新的Server(仅仅只安装了一些系统的软件包),可以直接使用一键安装脚本(gitlab-install-el ...

  8. Gitlab一键端的安装汉化及问题解决(2017/12/14目前版本为10.2.4)

    Gitlab的安装汉化及问题解决 一.前言 Gitlab需要安装的包太TM多了,源码安装能愁死个人,一直出错,后来发现几行命令就装的真是遇到的新大陆一样... ... 装完之后感觉太简单,加了汉化补丁 ...

  9. 一键安装 gitlab7 on rhel6.4 并设置邮件发送

    一键安装 gitlab7 on rhel6.4 并设置邮件发送 世间本无事,庸人自扰之.书归正传,简短节说:gitlab是个好东西,可是安装手冊奇烂.尽管以前对比文档一步一步安装起来gitlab 6. ...

随机推荐

  1. 页面记载给绑定query的grid加filter

    功能名称:listDataAction 切入类型:before 事件名称:com.kingdee.bos.webframework.dynamic.event.view.WebListDataEven ...

  2. Zabbix邮件报警-->Script

    Version:3.0.1 邮件报警有两种media 1.Email zabbix发送报警邮件到指定smtp服务器(使用系统自带的sendmail,发送邮箱是zabbix服务器的本地邮箱账号) 再由s ...

  3. protected的使用注意

    在c#的可访问性级别中,public和private算是最容易理解的,相反protected往往令人非常头疼.经常在网上查资料的朋友往往会发现,答案几乎都是前篇一律,不是从msdn上拷贝的就是从别人的 ...

  4. Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level

    运行环境是win7 x64 sublime text2,百度发现是对齐问题. 具体来说是由于有的地方使用了4个空格,有的地方使用了tab键. 代码区直接全选就会看到有的地方是四个点有个地方是一个横线, ...

  5. linux下samba的安装与使用

    samba挺好用的,配置项不多,正好适合我这种懒人使用. 下面是CentOS上面的安装与使用方法. 安装:yum -y install samba        安装一个名字叫samba的软件,安装过 ...

  6. wpf comboBox取值问题

    这是获取值后台代码 private void button1_Click(object sender, RoutedEventArgs e)        {            combBox = ...

  7. 获取网卡的MAC地址原码;目前支持WIN/LINUX系统 获取机器网卡的物理(MAC)地址(服务器端)

    <?php class GetMacAddr{ var $return_array = array(); // 返回带有MAC地址的字串数组 var $mac_addr; function Ge ...

  8. 爬虫4 html输出器 html_outputer.py

    #coding:utf8 __author__ = 'wang' class HtmlOutputer(object): def __init__(self): self.datas = []; de ...

  9. Runner站立会议01

    开会时间:9.10-9.30 地点:二教 今天做了什么:学了文本输入,button按钮,界面转换(意图) 遇到什么困难:界面转换时,出现问题,没有正常跳转 明天打所作什么:解决今天遇到的问题,学了第二 ...

  10. ecshop新增一个编辑器

    在ecshop的后台新增一个编辑器框 步骤一:找到lib_main.php 文件:admin/includes/lib_main.php. 找到变量:function create_html_edit ...