标签:user permanent use systemctl nbsp long 查看端口 stop head
1.安装 git
https://www.cnblogs.com/wulixia/p/11016684.html
2.安装 gitlab
https://www.cnblogs.com/yanjieli/p/10605381.html
3.jenkins 安装
https://www.cnblogs.com/li-zhi-long/p/12026499.html
4.Erlang 安装
https://www.cnblogs.com/amosli/p/11765483.html
5.RabbitMq安装
https://www.cnblogs.com/amosli/p/11765483.html
6.redis安装
https://www.cnblogs.com/zuidongfeng/p/8032505.html
https://www.cnblogs.com/jinjiyese153/p/8600703.html
启动命令
#gitlab 命令 gitlab-ctl reconfigure start gitlab-ctl reconfigure stop gitlab-ctl reconfigure status gitlab-ctl reconfigure reconfigure #jenkins 命令 systemctl stop jenkins systemctl daemon-reload systemctl start jenkins systemctl status jenkins.service #Firewall 命令 #开启常见端口命令 firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --zone=public --add-port=443/tcp --permanent firewall-cmd --zone=public --add-port=22/tcp --permanent firewall-cmd --zone=public --add-port=21/tcp --permanent firewall-cmd --zone=public --add-port=53/udp --permanent #批量添加区间端口 firewall-cmd --zone=public --add-port=4400-4600/udp --permanent 关闭常见端口命令: firewall-cmd --zone=public --remove-port=80/tcp --permanent firewall-cmd --zone=public --remove-port=443/tcp --permanent firewall-cmd --zone=public --remove-port=22/tcp --permanent firewall-cmd --zone=public --remove-port=21/tcp --permanent firewall-cmd --zone=public --remove-port=53/udp --permanen #开启防火墙命令: systemctl start firewalld.service #重启防火墙命令: firewall-cmd --reload 或者 service firewalld restart #查看端口列表: firewall-cmd --permanent --list-port #禁用防火墙 systemctl stop firewalld #设置开机启动 systemctl enable firewalld #停止并禁用开机启动 sytemctl disable firewalld #查看状态 systemctl status firewalld 或者 firewall-cmd --state #redis 命令 service redisd stop service redisd start 查看端口是否启用 lsof -i:6379 #rabbitmq 命令 #启动rabbitmq rabbitmq-plugins enable rabbitmq_management rabbitmq-server 或 rabbitmq-server -detached(后台运行) #停止rabbitmq rabbitmqctl shutdown
修改过的配置文件
gitlabel
vim /etc/gitlab/gitlab.rb external_url ‘http://192.168.1.21:81‘ #改为自己的IP地址 gitlab-ctl reconfigure #重新加载配置文件
jenkins
sudo vim /etc/sysconfig/jenkins JENKINS_USER="root" ## 原值 "jenkins" 必须修改,否则权限不足 JENKINS_PORT="82" ## 原值 "8080" JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true" sudo vim /etc/init.d/jenkins candidates 中添加java 路径
jenkins + gitlab + redis + rabbitmq 安装记录
标签:user permanent use systemctl nbsp long 查看端口 stop head
原文地址:https://www.cnblogs.com/hujunmin/p/13037650.html