Gitlab在Ubuntu、Debian、CentOS 6、CentOS 7、OpenSUSE、Raspberry Pi2安装
来源:互联网 发布:unity ugui 源码下载 编辑:程序博客网 时间:2024/06/16 17:55
Gitlab在Ubuntu、Debian、CentOS 6、CentOS 7、OpenSUSE、Raspberry Pi2这些服务器上安装方法是不同的,我们首先来介绍Gitlab在CentOS7上的详细安装步骤:
- Community Edition
- Enterprise Edition
1. 安装并配置必要的依赖关系
如果你想使用 Postfix 发送邮件,请在安装过程中根据提示选择 'Internet Site'。 你也可以用 Sendmail 或者 配置一个自定义的 SMTP 服务 并 把它作为一个 SMTP 服务器。
在 CentOS 系统上,下面的命令将会打开系统防火墙 HTTP 和 SSH 的访问。
sudo yum install curl policycoreutils openssh-server openssh-clients sudo systemctl enable sshd sudo systemctl start sshd sudo yum install postfix sudo systemctl enable postfix sudo systemctl start postfix sudo firewall-cmd --permanent --add-service=http sudo systemctl reload firewalld
如果你不太习惯使用命令管道的方式安装镜像仓库,你可以在这里找到 完整的安装脚本 或者 选择系统对应的安装包 使用下面的命令手动安装。
curl -LJO https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-XXX.rpm rpm -i gitlab-ce-XXX.rpm <button aria-label="Copy to clipboard" class="btn copy-btn js-copy-btn" data-clipboard-text="" curl="" -ljo="" https:="" mirrors.tuna.tsinghua.edu.cn="" gitlab-ce="" yum="" el7="" gitlab-ce-xxx.rpm"="" data-placement="top" data-toggle="tooltip" title="" type="button" data-original-title="Copy to clipboard" style="color: rgb(107, 79, 187); font-family: inherit; font-size: 14px; font-style: inherit; font-variant-caps: inherit; line-height: 1.42857; margin: 5px; overflow: visible; cursor: pointer; vertical-align: middle; background-image: none; border-width: 1px; border-style: solid; border-color: transparent; white-space: nowrap; padding: 5px; border-radius: 4px; user-select: none;">
3. 配置并启动 GitLab
sudo gitlab-ctl reconfigure
4. 通过浏览器访问上一步配置的域名
第一次访问 GitLab,系统会重定向 url 到重置密码的页面,你需要输入初始化管理员账号的密码。 设置完成后,系统会重定向到登录界面,你就可以使用刚才输入的密码登录系统了。
系统默认的管理员账号为 root, 登录系统后,你可以修改管理员账号为自己喜欢的账号。
详细安装参照:https://www.gitlab.com.cn/installation/#centos-7
故障排查:https://docs.gitlab.com.cn/omnibus/
阅读全文
0 0
- Gitlab在Ubuntu、Debian、CentOS 6、CentOS 7、OpenSUSE、Raspberry Pi2安装
- CentOS 6安装Gitlab
- centOS 7安装 gitLab
- CentOS 7 安装 Gitlab
- Centos 7 安装 GitLab
- CentOS 7 安装GitLab
- centos 7 安装gitlab
- Ubuntu、Debian、OpenSUSE、Fedora、Redhat和CentOS安装pgplot的步骤
- 在CentOS 7上安装GitLab
- 在CentOS上安装GITLAB
- CentOS 7 - GitLab的安装
- Centos安装gitlab安装
- 在 CentOS 7 上使用 Docker 部署安装 GitLab
- 在Centos上用Docker安装gitlab
- centos/debian/ubuntu VPS安装net-speeder
- CentOS/Redhat Debian/Ubuntu 集中安装
- CentOS下一键安装GitLab
- CentOS上安装gitlab
- OSI七层与TCP/IP五层网络架构详解
- SaaS,软件即服务
- @RequestMapping 用法详解之地址映射
- 机器学习:诊断偏差和方差
- [POJ3122]Pie
- Gitlab在Ubuntu、Debian、CentOS 6、CentOS 7、OpenSUSE、Raspberry Pi2安装
- if语句的猜拳游戏
- Ubuntu MongoDB安装
- Android Studio怎么新建Android公共库模块
- flume到kafka,structuredStreaming从kafka消费
- HDU
- 高并发之Linux优化
- 如何通过apache2配置多站点
- LeetCode(2) Add Two Nums