zoukankan      html  css  js  c++  java
  • CentOS7下安装GitLab

    三步在CentOS7系统下,完成GitLab的安装.

    1、安装和配置必须的依赖

    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
    2、添加GitLab包服务,然后安装它

    curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
    sudo yum install gitlab-ce

    3、配置和启动GitLab

    sudo gitlab-ctl reconfigure

    启动完成后,在浏览器访问你机器的IP地址,就可以弹出如下的页面:


    然后,修改密码,注册用户,最后登录进去,弹出如下的欢迎界面:



    至此,本地搭建的GitLab服务就基本完成了.

    参考:https://about.gitlab.com/downloads/#centos7



  • 相关阅读:
    Spring Boot|Async
    SonarQube使用
    大数据|linux权限chmod和chown
    Spring Boot|监控-Actuator
    Docker|部署及简单使用
    Spring|IOC启动流程
    Spring|注解
    Spring|@Autowired与new的区别
    Spring|Spring MVC
    个人站点
  • 原文地址:https://www.cnblogs.com/wuyida/p/6300284.html
Copyright © 2011-2022 走看看