gitlab 服务器搭建指南
2015-12-10 15:04
686 查看
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.
相关文章推荐
- RPC failed; result=22, HTTP code = 411
- git更新已經刪除的文件
- redis安装问题小结
- 提取Git每次提交后Commit的文件
- GIT迁移服务器
- Apache Isis 1.4.0 发布,领域驱动开发框架
- 分布式版本管理git入门指南使用资料汇总及文章推荐
- Linux快速构建apache web服务器
- Awstats处理多apache日志
- 安装perl模块小窍门
- git终极指南:在实际开发中的应用
- Redis偶发连接失败案例实战记录
- Redis中实现查找某个值的范围
- Redis和Memcached的区别详解
- 分割超大Redis数据库例子
- Redis总结笔记(一):安装和常用命令
- Redis sort 排序命令详解
- 用Redis实现微博关注关系
- PHP+Apache在Windows 9x下的安装和配置
- Apache服务器配置全攻略