摘要: 一、添加开机自启服务 在centos7中添加开机自启服务非常方便,只需要两条命令(以Jenkins为例): systemctl enable jenkins.service #设置jenkins服务为自启动服务 sysstemctl start jenkins.service #启动jenkins服 阅读全文
posted @ 2020-07-11 21:51 李文学 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 本系列主要关于Jenkins-CI实操记录与问题解决方案 概述 采用的环境以VMware中的虚拟机Cento610为基准,以Jdk1.8.0_231、mvn3.3.9、dotnetcore2.1/2.2/3.0/、git、svn作为基础环境,以java应用、dotnetcore两大方向进行就开发中的 阅读全文
posted @ 2020-07-11 17:57 李文学 阅读(133) 评论(0) 推荐(0) 编辑
摘要: CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下 停用firewalld服务 关闭firewall服务 systemctl stop firewalld.service 开机firewall服务 systemctl disable firewalld. 阅读全文
posted @ 2020-07-11 14:36 李文学 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 开放指定端口 firewall-cmd --zone=public --add-port=5672/tcp --permanent # 开放5672端口 firewall-cmd --zone=public --remove-port=5672/tcp --permanent #关闭5672端口 f 阅读全文
posted @ 2020-07-11 14:24 李文学 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 根据您所选择的Centos版本请选择对应版本的密钥和源,本文以centos6为例;目前centos版本有6,7,8三个版本;下面的安装口令适合6,7版本。 1、注册 Microsoft 密钥和源 # sudo rpm -Uvh https://packages.microsoft.com/confi 阅读全文
posted @ 2020-07-11 13:05 李文学 阅读(950) 评论(0) 推荐(0) 编辑