CentOS 7默认使用的是firewall作为防火墙,这里改为iptables防火墙。 firewall操作: # service firewalld status; #查看防火墙状态 (disabled 表明 已经禁止开启启动 enable 表示开机自启,inactive 表示防火墙关闭状态 a ...
分类:
系统相关 时间:
2019-07-08 21:06:17
阅读次数:
151
#!/bin/bash read -p 'enter the network segment for visiting the server:' ips # 关闭firewalld和selinux systemctl stop firewalld systemctl disable firewall... ...
分类:
系统相关 时间:
2019-07-08 14:08:10
阅读次数:
203
很多企业自建gitlab仓库,用于代码关联,然后结合jenkins工具实现代码的自动编译打包,项目部署,即实现自动化流水。1.下载gitlab最新版,通过rpm方式安装gitlab下载地址:https://packages.gitlab.com/gitlab/gitlab-ce/安装环境初始化yuminstallcurlpolicycoreutilsopenssh-serveropenssh-cl
分类:
其他好文 时间:
2019-07-06 09:19:30
阅读次数:
123
1.使用yum命令安装samba服务器yum-yinstallsamba-*2.映射共享目录,设置密码useradd-Mxinsmbpasswd-axin3.映射xin用户为share用户,那么就要在/etc/samba/smbusers文件中添加如下内容echo“xin=share”>/etc/samba/smbusers4.在全局配置中添加内容,使映射生效。usernamemap=/et
分类:
其他好文 时间:
2019-07-04 09:23:33
阅读次数:
106
fireWalld防火墙 现在centos7上的防火墙都是用的firewall 常用命令 ~~~ 查询防火墙状态 systemctl status firewalld 启动防火墙 systemctl start firewalld 关闭防火墙 systemctl stop firewalld 禁用, ...
分类:
其他好文 时间:
2019-07-02 00:28:49
阅读次数:
110
Saltstack概念Saltstack比Puppet出来晚几年,是基于Python开发的,也是基于C/S架构,服务端master和客户端minions;Saltstack和Puppet很像,可以说Saltstatck整合了Puppet和Chef的功能,更加强大,更适合大规模批量管理服务器,并且它比Puppet更容易配置。salt特点:并行,管理的工具,Python开发的。可二次开发。salt远程
分类:
其他好文 时间:
2019-07-01 22:56:55
阅读次数:
551
#!/bin/bash #----------------------------------------------------------# # Date : 2018-xx-xx # # Author : Created by zhouwanchun. # # We... ...
分类:
系统相关 时间:
2019-06-28 20:48:53
阅读次数:
128
CentOS7为firewalld添加开放端口及相关资料
分类:
其他好文 时间:
2019-06-25 10:14:18
阅读次数:
99
原文:https://blog.csdn.net/achang21/article/details/52538049 使用方法如下: >>> 关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld. ...
分类:
其他好文 时间:
2019-06-19 21:36:45
阅读次数:
109
▲这篇文章主要为大家详细介绍了Centos7防火墙开放端口的快速方法,感兴趣的小伙伴们可以参考一下! 一、CentOS 7快速开放端口: CentOS升级到7之后,发现无法使用iptables控制Linuxs的端口,baidu之后发现Centos 7使用firewalld代替了原来的iptables ...
分类:
其他好文 时间:
2019-06-19 12:13:34
阅读次数:
130