zoukankan      html  css  js  c++  java
  • Gitlab安装操作说明书

    一、Gitlab安装操作步骤

    1. 登录官方网站https://about.gitlab.com/downloads/根据你所需要的系统版本,作者使用的是centos6,
    2. 检查您的服务器是否符合硬件要求。gitlab包是专为64位系统。32位操作系统,考虑不同的安装方法。
    3. 安装和配置必要的依赖关系

    # sudo yum install curl openssh-server openssh-clients postfix cronie

    # sudo service postfix start

    # sudo chkconfig postfix on

    # sudo lokkit –s http –s ssh

    1. 添加gitlab包服务器安装包

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

    # sudo yum install gitlab-ce

    1. 遇到yum错误:Cannot retrieve repository metadata(repomd.xml) for repository怎么办

    # yum clean all,之后

    新建 /etc/yum.repos.d/gitlab-ce.repo,内容为

    [gitlab-ce]

    name=gitlab-ce

    baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6

    repo_gpgcheck=0

    gpgcheck=0

    enabled=1

    gpgkey=https://packages.gitlab.com/gpg.key

    在执行

    # sudo yum

    # sudo yum install gitlab-ce

    1. 配置并启动gitlab

    sudo gitlab-ctl reconfigure

    1. 浏览到主机名和登录

    在您的第一次打开浏览器输入你的服务器IP地址192.168.0.200访问中,您将被重定向到一个密码重置屏幕,以提供初始管理员帐户的密码。输入您所需的密码,您将被重定向回登录屏幕。

    默认帐户的用户名是”root”。提供您创建的密码和登录的密码。登录后,您可以更改用户名。

  • 相关阅读:
    MySQL性能优化
    mysql中OPTIMIZE TABLE的作用
    Linux中/usr与/var目录详解
    Mysql之EXPLAIN显示using filesort
    MySQL ALTER语法的运用方法 && 操作索引和字段
    NoSQL数据库的分布式算法&&memcache集群的实现
    linux用户权限
    hdoj1241 Oil Deposits
    ny42 一笔画问题
    ny20 吝啬的国度
  • 原文地址:https://www.cnblogs.com/clarke/p/5647374.html
Copyright © 2011-2022 走看看