<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gitlab - Tag - Mulinux | Linux &amp; DevOps Notes</title>
    <link>https://blog.mulinux.com/en/tags/gitlab/</link>
    <description>Mulinux - Linux Operations &amp; DevOps blog. Notes on Linux, Kubernetes, Docker and backend engineering.</description>
    <generator>Hugo 0.160.0 &amp; FixIt v0.4.5</generator>
    <language>en</language>
    <lastBuildDate>Sat, 23 Dec 2017 18:05:39 +0800</lastBuildDate>
    <atom:link href="https://blog.mulinux.com/en/tags/gitlab/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OpenVZ虚机Centos6.5安装gitlab报错</title>
      <link>https://blog.mulinux.com/en/openvz-gitlab/</link>
      <pubDate>Sat, 23 Dec 2017 18:05:39 +0800</pubDate>
      <guid>https://blog.mulinux.com/en/openvz-gitlab/</guid>
      <category domain="https://blog.mulinux.com/en/categories/operations/">Operations</category>
      <description>&lt;h2 class=&#34;heading-element&#34; id=&#34;执行gitlab-ctl-reconfigure后报错&#34;&gt;&lt;span&gt;执行gitlab-ctl reconfigure后报错：&lt;/span&gt;&#xA;  &lt;a href=&#34;#%e6%89%a7%e8%a1%8cgitlab-ctl-reconfigure%e5%90%8e%e6%8a%a5%e9%94%99&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;[execute] cat: error: permission denied on key &amp;#39;net.bridge.bridge-nf-call-ip6tables&amp;#39;&#xA;              error: permission denied on key &amp;#39;net.bridge.bridge-nf-call-iptables&amp;#39;&#xA;              error: permission denied on key &amp;#39;net.bridge.bridge-nf-call-arptables&amp;#39;&#xA;              /etc/sysctl.d/*.conf: No such file or directory&#xA;              net.ipv4.ip_forward = 0&#xA;              net.ipv4.tcp_syncookies = 1&#xA;    &#xA;    ================================================================================&#xA;    Error executing action `run` on resource &amp;#39;execute[load sysctl conf]&amp;#39;&#xA;    ================================================================================&lt;/code&gt;&lt;/pre&gt;&lt;h2 class=&#34;heading-element&#34; id=&#34;解决方法&#34;&gt;&lt;span&gt;解决方法&lt;/span&gt;&#xA;  &lt;a href=&#34;#%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;rm -f /sbin/modprobe  &#xA;ln -s /bin/true /sbin/modprobe&#xA;&#xA;rm -f /sbin/sysctl  &#xA;ln -s /bin/true /sbin/sysctl &#xA;/sbin/sysctl -p    #不用执行&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Gitlab 部署及升级</title>
      <link>https://blog.mulinux.com/en/gitlab-install-upgrade/</link>
      <pubDate>Wed, 12 Oct 2016 10:37:55 +0800</pubDate>
      <guid>https://blog.mulinux.com/en/gitlab-install-upgrade/</guid>
      <category domain="https://blog.mulinux.com/en/categories/operations/">Operations</category>
      <description>&lt;h1 class=&#34;heading-element&#34; id=&#34;gitlab部署&#34;&gt;&lt;span&gt;gitlab部署&lt;/span&gt;&#xA;  &lt;a href=&#34;#gitlab%e9%83%a8%e7%bd%b2&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h1&gt;&lt;h2 class=&#34;heading-element&#34; id=&#34;使用yum安装&#34;&gt;&lt;span&gt;使用yum安装&lt;/span&gt;&#xA;  &lt;a href=&#34;#%e4%bd%bf%e7%94%a8yum%e5%ae%89%e8%a3%85&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;# yum install curl policycoreutils openssh-server openssh-clients&#xA;# systemctl enable sshd&#xA;# systemctl start sshd&#xA;# yum install postfix&#xA;# systemctl enable postfix&#xA;# systemctl start postfix&#xA;# firewall-cmd --permanent --add-service=http&#xA;# systemctl reload firewalld&#xA;# vi /etc/yum.repos.d/gitlab-ce.repo&#xA;[gitlab-ce]&#xA;name=gitlab-ce&#xA;baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7&#xA;repo_gpgcheck=0&#xA;gpgcheck=0&#xA;enabled=1&#xA;gpgkey=https://packages.gitlab.com/gpg.key&#xA;# yum makecache&#xA;# yum install gitlab-ce&#xA;# gitlab-ctl reconfigure&#xA;# vi /var/opt/gitlab/gitlab-rails/etc/gitlab.yml&#xA;# vi /var/opt/gitlab/nginx/conf/gitlab-http.conf&#xA;# vi /opt/gitlab/embedded/conf/nginx.conf&#xA;# vi /var/opt/gitlab/gitlab-rails/etc/gitlab.yml&#xA;# vi /etc/gitlab/gitlab.rb&#xA;# git clone https://gitlab.com/xhang/gitlab.git&#xA;# cat /opt/gitlab/embedded/service/gitlab-rails/VERSION&#xA;# git diff origin/8-8-stable origin/8-8-zh &amp;gt; /tmp/8.8.diff&#xA;# gitlab-ctl stop&#xA;# cd /opt/gitlab/embedded/service/gitlab-rails&#xA;# git apply /tmp/8.8.diff&#xA;# gitlab-ctl start&#xA;# /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml&#x9;#将host改为192.168.2.169&lt;/code&gt;&lt;/pre&gt;&lt;h1 class=&#34;heading-element&#34; id=&#34;gitlab升级&#34;&gt;&lt;span&gt;gitlab升级&lt;/span&gt;&#xA;  &lt;a href=&#34;#gitlab%e5%8d%87%e7%ba%a7&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h1&gt;&lt;pre&gt;&lt;code&gt;# wget https://packages.gitlab.com/gitlab/gitlab-ce/packages/ol/6/gitlab-ce-8.15.1-ce.0.el6.x86_64.rpm/download&#xA;# rpm -Uvh gitlab-ce-8.15.1-ce.0.el6.x86_64.rpm &#xA;# gitlab-ctl reconfigure&#xA;# gitlab-ctl restart&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
