gitlab安装脚本

上传:myflyingangel 浏览: 57 推荐: 0 文件:SH 大小:4.85KB 上传时间:2018-12-25 02:18:58 版权申诉
#!/bin/bash IP=`ifconfig eth0| grep "inet addr" | head -1 | cut -d : -f2 | awk '{print $1}'` ############yum update ,add epel ,add PIIAS source yum_ () { cd /etc/yum.repos.d/ yum install -y wget wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 https://www.fedoraproject.org/static/0608B895.txt rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm echo " [PUIAS_6_computational] name=PUIAS computational Base \$releasever - \$basearch mirrorl ist=http://puias.math.ias.edu/data/puias/computational/\$releasever/\$basearch/mirrorlist #baseurl=http://puias.math.ias.edu/data/puias/computational/\$releasever/\$basearch gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias " >> PUIAS_6_computational.repo wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-puias
上传资源
用户评论