CentOS6.5 安装gitlab以及gitolite迁移gitlab gitlab 的安装使用以及数据结构 安装 环境: CentOS6.5 基于 nignx + unicorn 搭建的应用环境, 如果想要换成passenger,可以参考网上的文档 ruby环境是基于rbenv搭建的 1: install vim yum install -y vim 2: install git > 1.7.10 install git $ rpm -i 'http://pkgs.repoforge.org…
摘要: 拆腾了几天,终于在今天找到了快速安装Gitlab的方法.CentOS6.5安装gitlab-6.9.2 参考网址:https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#installation 安装gitlab版:6.9.2rpm发行文件名:gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm 安装步骤代码:#sudo yum install openssh-server#sudo…
Centos6.5 安装gitlab 并使用自带的nginx 1.安装依赖 yum -y install policycoreutils openssh-server openssh-clients postfix policycoreutils-python 2.设置postfix开机启动 chkconfig postfix on && service postfix start 3.下载安装包 wget https://mirrors.tuna.tsinghua.edu.cn/gitl…
sudo yum install -y curl policycoreutils-python openssh-server cronie sudo lokkit -s http -s ssh sudo yum install postfix sudo service postfix start sudo chkconfig postfix on 上面的按步骤执行 问题1:没有合适软件源,替换软件源 执行下面条命令 curl -s https://packages.gitlab.com/inst…
0.Gitlab安装 1.安装和配置必要的依赖关系 在CentOS7,下面的命令将在系统防火墙打开HTTP和SSH访问.   yum install curl openssh-server postfix systemctl enable sshd postfix systemctl start sshd postfix firewall-cmd --permanent --add-service=http systemctl reload firewalld 2.添加gitlab包服务器安装包…
Gitlab 创建备份 使用Gitlab一键安装包安装Gitlab非常简单, 同样的备份恢复与迁移也非常简单. 使用一条命令即可创建完整的Gitlab备份: gitlab-rake gitlab:backup:create 使用以上命令会在/var/opt/gitlab/backups目录下创建一个名称类似为1393513186_gitlab_backup.tar的压缩包, 这个压缩包就是Gitlab整个的完整部分, 其中开头的1393513186是备份创建的日期. Gitlab 修改备份文件默…
=============================================== 2017/10/20_第1次修改                       ccb_warlock =============================================== 通过之前的记录,已经掌握了gitlab的本地备份(http://www.cnblogs.com/straycats/p/7671204.html)和远程备份(http://www.cnblogs.com/s…
由于近期公司gitlab服务器老是卡顿和出现其他问题,然后也很久没有升级过了,现在版本还是8.10.5,而官网最新版本已经是11.2了.另一个原因是gitlab所在的这台服务器快到期了,想换一台配置更好些的服务器,故对此进行升级和迁移. 升级思路:先在新服务器上安装一个和原版本相同版本的gitlab,然后备份原版本gitlab数据,备份完在新服务器恢复,恢复完在进行升级. 本文参照:https://github.com/gitlabhq/gitlab-recipes/tree/master/in…
Gitlab备份.迁移.恢复和升级 自建的Gitlab服务器常常会因为使用时间的增长,其空间容量等硬件需求都需要升级,或者迁移至更高配置的服务器上.备份.迁移.恢复.升级过程如下 1.gitlab备份 备份前gitlab的项目如图所示 备份时需要保持gitlab处于正常运行状态,直接执行gitlab-rake gitlab:backup:create进行备份 使用以上命令会在/var/opt/gitlab/backups目录下创建一个名称类似为1530156812_2018_06_28_10.8…
项目案例之GitLab的数据迁移 链接:https://pan.baidu.com/s/1CgaEv12cwfbs5RxcNpxdAg 提取码:fytm 复制这段内容后打开百度网盘手机App,操作更方便哦 5.项目案例一:生产环境SVN数据迁移到测试环境GitLab 主机名 IP地址 备份 特殊要求 Git01 192.168.200.52 Git客户端 无 Git02 192.168.200.53 GitLab服务器01 内存2G SVN 192.168.200.57 SVN服务器 无 5.1…
本周折腾了以下几个东西,mediawiki(维基),nodebb(论坛),gitlab(私有git服务器). 本来的目的是搭建一个wiki,选用了mediawiki后,使用apache搭建好了. 搭论坛的时候,一开始想用discourse,但配置总有问题,就先放弃了,找了个nodebb看起来也还可以. 但nodebb是使用ngnix做代理的,考虑之后决定放弃apache,全部统一用ngnix. 于是搭建了ngnix+mediawiki+nodebb+everything(这个是别人配置好的,只是…
1.下载原有gitlab源码 git clone http://gitlab.**.com/projectName gitlab地址替换成为新gitlab地址 git remote set-url origin http://gitlab.**.com/newProjectName2.本地推送到远程-可以在sourceTree中进行推送 git push origin --all 推送主干和分支 git push --tags 推送标签3.查看远程gitlab地址 git remote -v4.…
#下载gitlabhttps://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-10.1.3-ce.0.el6.x86_64.rpmsudo yum install -y curl policycoreutils-python openssh-server croniesudo lokkit -s http -s sshsudo yum install postfixsudo service postfix startsudo…
Gitlab 备份还原 备份数据:通过命令进行备份操作 gitlab-rake gitlab:backup:create ... [DISABLED] Creating backup archive: 1575855187_2019_12_09_gitlab_backup.tar ... done Uploading backup archive to remote storage ... skipped Deleting tmp directories ... done .... 备份完成提示…
查看了网上这方面的资料,发现都比较复杂,自己到官方网站上查询,并实际动手安装了一下,发现还是比较简单的. 1.VMWare Workstation 12 Professinal安装 2.安装64位CentOS7操作系统. 3.GitLab-CE中文版安装说明. GitLab-CE安装说明:https://www.gitlab.cc/downloads/#centos7 4.安装完毕,浏览器访问.…
原文地址:http://54im.com/openldap/centos-6-yum-install-openldap-phpldapadmin-tls-%E5%8F%8C%E4%B8%BB%E9%85%8D%E7%BD%AE.html 钿畑的文章索引 1.概念介绍 2. 环境介绍 2. 准备工作 3. yum部署ldap 4. phpldapadmin安装 5.ldap客户端配置 6.用户目录自动挂载 6.1 服务器端配置 6.2 客户端配置 7.配置TLS传输加密 8.配置openldap双…
文章出处:http://www.restran.net/2015/04/09/gilab-centos-installation-note/ 在 CentOS 6.5 Minimal 系统环境下,用源代码的方式安装 Gitlab 7.5 的过程中,遇到了不少问题,现把笔记整理出来. Distribution : CentOS 6.5 Minimal GitLab version : 7.0 - 7.4 Web Server : Apache, Nginx Init system : sysvin…
实际操作 准备linux初始环境 关闭防火墙 systemctl stop firewalld 开机自己关闭 systemctl disable firewalld 设置安全配置 为关闭 vim /etc/sysconfig/selinux 重启虚拟机 reboot 查看安全策略是否关闭 getenforce 安装gitlab依赖软件 yum install curl policycoreutils openssh-server openssh-clients postfix 下载gitlab…
1>GIt需要提前安装在本地,本机,自己的电脑,开发环境电脑,IDEA所在的电脑 2>代码仓库:gitlab 3>开发工具:IDEA 4>内网搭建gitlab,访问url: http://192.168.92.130:8090/ 注意端口是自定义的8090,而不是默认的80端口!!! 5>操作与GitHub大同小异! ===================================第一部分,从Gitlab上拉取项目============================…
https://www.gitlab.com.cn/installation/#centos-7 1.安装并配置必要的依赖关系 在CentOS 7(和RedHat / Oracle / Scientific Linux 7)上,以下命令还将在系统防火墙中打开HTTP和SSH访问. sudo yum install -y curl policycoreutils-python openssh-server sudo systemctl启用sshd sudo systemctl启动sshd sudo…
Centos6.6安装64位 必须开启BIOS中的虚拟化技术 首先开机进入BIOS,一般机器是按F2,我的T420是按F1,然后进入Security,Virtualization,选择Enable即可,如下图: 查看是否开启也可到360中的安全防护中心查看 自定义分区: /home 2G-10G (每个用户100M左右,具体自定.用户目录.) /boot 32M-100M (启动分区,最多只要100M左右) / 1G-2G (最少要150–250MB) swap  2G (2G RAM) 安装成…
安装说明 安装环境:CentOS-6.4 安装方式:源码安装 软件:apache-tomcat-7.0.56.tar.gz 下载地址:http://tomcat.apache.org/download-70.cgi 安装前提 系统必须已安装配置JDK6+,安装请参考: 安装tomcat 将apache-tomcat-7.0.42.tar.gz文件上传到/usr/local中执行以下操作: [root@admin local]# cd /usr/local [root@admin local]#…
centos7安装oracle数据库不成功,换成centos6.5安装,可以安装成功,记录一下 安装系统时,主机名如果不是用localhost,安装成功后,要用主机名和ip做映射,修改/etc/hosts文件 [root@www ~]# vi /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain loca…
本人系统用的是centos6.6,安装了vmware workstation,启动后一直如下图报错,相关内核已经安装了的,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.…
本人用的是centos6.6,安装了virtualbox 4.1.44,启动后一直如上图报错,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.…
CentOS-6.3安装配置cmake   zhoulf 2013-02-03 原创 安装说明 安装环境:CentOS-6.3安装方式:源码编译安装 软件:cmake-2.8.10.2.tar.gz下载地址:http://www.cmake.org/cmake/resources/software.html 安装前提 系统中已经安装了g++和ncurses-devel,如果没有安装使用下面的命令安装: [root@admin /]# yum install gcc-c++[root@admin…
Docker,容器,让研发.测试.生产同一环境,可在linux平台上混合使用JAVA与net 程序 Centos6.5安装docker 参考http://my.oschina.net/kcw/blog/355612 rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 yum -y ins…
几经波折,终于安装成功!!! 一.centos6下安装WDCP 1.连接linux 在百度直接搜索下载xshell,通过ssh连接 2.安装wdcp 下载安装wget http://dl.wdlinux.cn:5180/lanmp_v2.2.1.tar.gztar zxvf lanmp_v2.2.1.tar.gz安装全部sh install.sh可选安装lnamp,lamp,lnmp三个中任一个 选择1,安装apache 选择1,安装php5.2 只安装wdcp服务器/虚拟主机管理系统面板sh…
CentOS6.5安装Tab增强版:bash-completion,可补全命令参数: 因为CentOS官方源并不带有bash-completion的包,所以,为了可用yum安装,增加epel的源, 首先,使用wget下载epel的rpm包,使用rpm指令安装,之后运行yum安装,代码如下: [adam@ultraera ~]$ wget http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm [adam@ultraer…
Centos6.5 安装 RabbitMQ3.6.1 个人安装RabbitMQ总结: 安装编译工具 yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel 1 安装Erlang 1. 下载erlang 下载地址:http://download.csdn.net/detail/a15134566493/9517595 官方下载地址:http://erlang.org/download/otp_src_1…