没有合适的资源?快使用搜索试试~ 我知道了~
首页centos7安装部署gitlab服务器
centos7安装部署gitlab服务器
需积分: 50 39 下载量 124 浏览量
更新于2023-03-16
评论
收藏 26KB DOCX 举报
centos7安装部署gitlab服务器,1. 安装依赖软件2.设置postfix开机自启,并启动,postfix支持gitlab发信功能3.下载gitlab安装包,然后安装4.配置GITLAB
资源详情
资源评论
资源推荐
我这里使用的是 centos 7 64bit,我试过 centos 6 也是可以的!
1. 安装依赖软件
yum -y install policycoreutils openssh-server openssh-clients postx
2.设置 postx 开机自启,并启动,postx 支持 gitlab 发信功能
systemctl enable postx && systemctl start postx
如果遇到如下问题:
Job for postx.service failed because the control process exited with error code. See "systemctl st
解决方法:
1. 修改0/etc/postfix/main.cf 的设置00
2.
3. inet_protocols=ipv4
4. inet_interfaces=all
3.下载 gitlab 安装包,然后安装
[root@iZj6cjdh2ap4dng4lxdybnZ ~]# yum -y install policycoreutils openssh-server openssh-clients postx
Loaded plugins: fastestmirror
base | 3.6 kB
00:00:00
epel | 4.3 kB
00:00:00
extras | 3.4 kB
00:00:00
mongodb-org-3.4 | 2.5
kB 00:00:00
mysql-connectors-community |
2.5 kB 00:00:00
mysql-tools-community |
2.5 kB 00:00:00
mysql56-community | 2.5
kB 00:00:00
updates | 3.4 kB
00:00:00
(1/4): mysql56-community/x86_64/primary_db
| 179 kB 00:00:00
(2/4): epel/x86_64/updateinfo |
843 kB 00:00:00
(3/4): updates/7/x86_64/primary_db
| 2.9 MB 00:00:00
(4/4): epel/x86_64/primary_db |
4.8 MB 00:00:01
Determining fastest mirrors
Package 2:postx-2.10.1-6.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openssh-clients.x86_64 0:6.6.1p1-35.el7_3 will be updated
---> Package openssh-clients.x86_64 0:7.4p1-13.el7_4 will be an update
--> Processing Dependency: openssh = 7.4p1-13.el7_4 for package: openssh-clients-7.4p1-13.el7_4.x86_64
---> Package openssh-server.x86_64 0:6.6.1p1-35.el7_3 will be updated
---> Package openssh-server.x86_64 0:7.4p1-13.el7_4 will be an update
---> Package policycoreutils.x86_64 0:2.5-11.el7_3 will be updated
---> Package policycoreutils.x86_64 0:2.5-17.1.el7 will be an update
--> Running transaction check
---> Package openssh.x86_64 0:6.6.1p1-35.el7_3 will be updated
---> Package openssh.x86_64 0:7.4p1-13.el7_4 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================
===============================================================================
===================================================
Package Arch Version Repository
Size
===============================================================================
===============================================================================
===================================================
Updating:
openssh-clients x86_64 7.4p1-13.el7_4 updates
654 k
openssh-server x86_64 7.4p1-13.el7_4 updates
458 k
policycoreutils x86_64 2.5-17.1.el7 base
858 k
Updating for dependencies:
openssh x86_64 7.4p1-13.el7_4 updates
509 k
Transaction Summary
===============================================================================
===============================================================================
===================================================
Upgrade 3 Packages (+1 Dependent package)
Total download size: 2.4 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/4): openssh-clients-7.4p1-13.el7_4.x86_64.rpm
| 654 kB 00:00:00
(2/4): openssh-7.4p1-13.el7_4.x86_64.rpm
| 509 kB 00:00:00
(3/4): openssh-server-7.4p1-13.el7_4.x86_64.rpm
| 458 kB 00:00:00
(4/4): policycoreutils-2.5-17.1.el7.x86_64.rpm
| 858 kB 00:00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------
Total 1.9 MB/s | 2.4 MB
00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : openssh-7.4p1-13.el7_4.x86_64
1/8
Updating : openssh-server-7.4p1-13.el7_4.x86_64
2/8
warning: /etc/ssh/sshd_cong created as /etc/ssh/sshd_cong.rpmnew
Updating : openssh-clients-7.4p1-13.el7_4.x86_64
3/8
Updating : policycoreutils-2.5-17.1.el7.x86_64
4/8
Cleanup : openssh-clients-6.6.1p1-35.el7_3.x86_64
5/8
Cleanup : openssh-server-6.6.1p1-35.el7_3.x86_64
6/8
Cleanup : openssh-6.6.1p1-35.el7_3.x86_64
7/8
Cleanup : policycoreutils-2.5-11.el7_3.x86_64
8/8
Verifying : openssh-7.4p1-13.el7_4.x86_64
1/8
Verifying : openssh-server-7.4p1-13.el7_4.x86_64
2/8
Verifying : openssh-clients-7.4p1-13.el7_4.x86_64
3/8
剩余20页未读,继续阅读
LiuWeibin66
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0