gitlab 一键安装 centos 6.5
2015-06-16 14:16
766 查看
<span style="font-size:14px;">1下载</span>
https://bitnami.com/stack/gitlab
2安装
[root@rhel64-origin ~]# service mysqld stop Stopping mysqld: [ OK ] [root@rhel64-origin ~]# ./bitnami-gitlab-7.1.1-0-linux-x64-installer.run The installer detects that exists a 'git' user in the system. This installer will change the config uration for this user. Do you want to continue the installation? [y/N]: y The installer detects that exists a 'gitlab_ci' user in the system. This installer will change the configuration for this user. Do you want to continue the installation? [y/N]: y ---------------------------------------------------------------------------- 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.1.1-0]: ---------------------------------------------------------------------------- Create Admin account Bitnami Gitlab Stack admin user creation Email Address [user@example.com]: 3501xxxxx@qq.com Login [user]: master 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 [192.168.82.181]: 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 []: 3501xxxxx@qq.com Password : Re-enter : SMTP Host []: smtp.qq.com SMTP Port []: 25 Secure connection [1] None [2] SSL [3] TLS Please choose an option [3] :3 ---------------------------------------------------------------------------- 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% ######################################### ---------------------------------------------------------------------------- Setup has finished installing Bitnami Gitlab Stack on your computer. Info: To access the Bitnami Gitlab Stack, go to http://192.168.82.181:80 from your browser. Press [Enter] to continue:
3 更改配置发送邮件
config/environments/production.rb
config.action_mailer.perform_deliveries = true config.action_mailer.raise_delivery_errors = true config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.qq.com", :port => "25", :domain => "smtp.qq.com", :authentication => :plain, :user_name => "3501xxxxx@qq.com", :password => "********", :enable_starttls_auto => true }config/gitlab.yml
email_from: xxxx@qq.com email_display_name: GitLab email_reply_to:xxxx@qq.com
4 设置头像
config/gitlab.yml
把 plain_url 的注释去掉,写成如下内容: plain_url: "http://gravatar.duoshuo.com/avatar/%{hash}?s=%{size}&d=identicon" 重启服务
5 重启服务
/opt/gitlab-7.1.1-0/ctlscript.sh restart
相关文章推荐
- RPC failed; result=22, HTTP code = 411
- 垃圾邮件过滤器 python简单实现
- git更新已經刪除的文件
- Centos6 编译安装Python
- 提取Git每次提交后Commit的文件
- GIT迁移服务器
- 硬盘安装CentOS 6.2以及添加GRUB启动菜单
- CentOS 6.2实战部署Nginx+MySQL+PHP
- 分布式版本管理git入门指南使用资料汇总及文章推荐
- CentOS 7系统配置上的变化解析
- CentOS下DB2数据库安装过程详解
- CentOS 6.3下编译安装Ruby 2.0笔记
- C#使用自带的email组件发送邮件的方法
- C#.NET采用HTML模板发送电子邮件完整实例
- 在Centos 5.5 上编译安装mysql 5.5.9
- php简单实现发送带附件的邮件
- CentOS 6.5源码安装Erlang教程