概述
GitLab 是一个用于仓库管理系统的开源项目。使用Git作为代码管理工具,并在此基础上搭建起来的web服务。
(1) 下载一键安装包
https://bitnami.com/stack/gitlab/bitnami-gitlab-8.1.4-1-linux-x64-installer.run
设置权限 chmod +x bitnami-gitlab-7.4.3-0-linux-installer.run
执行安装 ./bitnami-gitlab-7.4.3-0-linux-installer.run
(2)安装软件版本
Bitnami GitLab Stack ships with the following software versions: - GitLab 7.13.0 - Apache 2.4.16 - ImageMagick 6.7.5 - PostgreSQL 9.4.4 - Git 1.9.5 - Ruby 1.9.3-p551 - Rails 4.2.2 - RubyGems 1.8.12 |
(3)启动
./ctlscript.sh (start|stop|restart) ./ctlscript.sh (start|stop|restart) postgres ./ctlscript.sh (start|stop|restart) redis ./ctlscript.sh (start|stop|restart) apache ./ctlscript.sh (start|stop|restart) sidekiq start - start the service(s) stop - stop the service(s) restart - restart or start the service(s) |
(4)logs日志
/home/user/gitlab-7.13.0-0/apache2/logs/error.log on Linux or /Applications/gitlab-7.13.0-0/apache2/logs/error.log. |
(5)具体步骤
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.
PhpPgAdmin [Y/n] :y
GitLab : Y (Cannot be edited)
Is the selection above correct? [Y/n]: y
----------------------------------------------------------------------------
Installation folder
Please, choose a folder to install Bitnami Gitlab Stack
Select a folder [/opt/gitlab-8.1.4-1]: /home/gitlab-8.1.4-1
----------------------------------------------------------------------------
Create Admin account
Bitnami Gitlab Stack admin user creation
Email Address [user@example.com]: wanglitao@tuzuu.com
Login [user]: git
Password :
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]:
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] : 2
----------------------------------------------------------------------------
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.
Username []: wanglitao@tuzuu.com
Password :
Re-enter :
SMTP Host []: smtp.exmail.qq.com
SMTP Port [587]: 465
Secure connection
[1] None
[2] SSL
[3] TLS
Please choose an option [3] : 2
Warning: Passwords Do Not Match!
Press [Enter] to continue:
Warning: Please provide the SMTP configuration parameters
Press [Enter] to continue:
----------------------------------------------------------------------------
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.
Username [wanglitao@tuzuu.com]: wanglitao@tuzuu.com
Password :
Re-enter :
SMTP Host [smtp.exmail.qq.com]:
SMTP Port [465]:
Secure connection
[1] None
[2] SSL
[3] TLS
Please choose an option [2] :
----------------------------------------------------------------------------
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.
最后
以上就是善良汉堡为你收集整理的gitlab 服务器搭建指南的全部内容,希望文章能够帮你解决gitlab 服务器搭建指南所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复