wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
yum install jenkins
配置jenkins端口
vi /etc/sysconfig/jenkins
启动
service jenkins start
管理员密码
vi /var/lib/jenkins/secrets/initialAdminPassword
gitlab
yum install curl policycoreutils openssh-server openssh-clients postfix
service postfix start
service sshd start
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL=”ip:port” yum -y install gitlab-ee
sudo mkdir -p /etc/gitlab
sudo touch /etc/gitlab/gitlab.rb
sudo chmod 600 /etc/gitlab/gitlab.rb
sudo gedit /etc/gitlab/gitlab.rb
配置
sudo vim /etc/gitlab/gitlab.rb
启动
sudo gitlab-ctl reconfigure
sudo gitlab-ctl status
Node
cd /usr/local/src
wget https://nodejs.org/dist/v6.11.1/node-v6.11.1-linux-x64.tar.xz
tar xvf node-v6.11.1-linux-x64.tar.xz
ln -s /usr/local/src/node-v6.11.1-linux-x64/bin/node /usr/local/bin/node
ln -s /usr/local/src/node-v6.11.1-linux-x64/bin/npm /usr/local/bin/npm
Pm2
npm install pm2 -g
ln -s /usr/local/src/node-v6.11.1-linux-x64/bin/pm2 /usr/local/bin/pm2