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 是一個用于倉庫管理系統的開源項目。使用 Git 作為代碼管理工具,并在此基礎上搭建起來的web服務
來源: < http://baike.baidu.com/view/9915769.htm?fr=aladdin >
ps : 這東西安裝起來很費勁,本人比較笨,從來沒裝成功過。要想自己一個個安裝參考 百度
一鍵安裝包: https://bitnami.com/stack/gitlab
柴老板:https://bitnami.com/redirect/to/137681/bitnami-gitlab-8.14.3-0-linux-x64-installer.run
ps 需要root
前提信息記錄
賬戶名: 用戶名: 密碼:
賦權限
[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 [[email protected]]:
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 []: [email protected]
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%
ps 沒好奇心略過即可,
root@centos_xschao gitlab-7.4.3-0]# ps aux|grep `pwd`
root 7560 0.0 0.1 4484 1184 pts/1S 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
mysql7836 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:140: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.2166724 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
可見 有:
mysql redis httpd . ruby gitlab
很難裝的ruby也在里面 很酸爽?。?!
[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)
參考文檔 :https://wiki.bitnami.com/Applications/BitNami_GitLab
5 配置:
參考這里:酌情翻墻
https://wiki.bitnami.com/Applications/BitNami_GitLab
格格巫和一群快樂的藍精靈
新聞熱點
疑難解答