多master集群架构图时间必须同步、关闭防火墙、Firewalld、selinux1、拷贝master01中的kubernetes目录到master02上[root@docker~]#scp-r/opt/kubernetes/192.168.1.16:/opt/2、启动脚本[root@dockerkubeconfig]#scp/usr/lib/systemd/system/{kube-apise
分类:
Web程序 时间:
2018-12-06 23:26:03
阅读次数:
259
1、应用服务级别的安全考虑 引入web安全中的十大安全方向: OWASP: 开源web应用安全项目。Open Web Application Security Project 十大安全问题: SQL 注入、失效的身份认证和会话管理、跨站脚本(xss)、失效的访问控制、安全配置错误、 敏感信息泄露、攻 ...
分类:
移动开发 时间:
2018-12-04 15:35:12
阅读次数:
210
基础环境系统环境#cat/etc/redhat-releaseCentOSLinuxrelease7.3.1611(Core)主机名设置centos-master192.168.59.135centos-minion1192.168.59.132centos-minion2192.168.59.133关闭selinux和firewalld后重启服务器#systemctlstopfirewalld#
分类:
Web程序 时间:
2018-12-03 19:57:27
阅读次数:
123
#linux的防火墙概念#因为如果你不关防火墙,很可能运行 django、nginx、mysql出错#防火墙可能会阻挡端口流量的 出口#也会阻挡外来请求的 入口 #selinux iptables firewalld 1.关闭selinux 1.获取selinux状态 getenforce 2.临时 ...
分类:
系统相关 时间:
2018-12-03 12:50:22
阅读次数:
187
1.yum安装:sudo yum install subversion 2.查看安装的目录which svnserve: 3.检查是否安装成功svnserve --version: 4.建立版本库,subversion默认以/var/svn作为数据根目录,可以通过/etc/sysconfig/svn ...
分类:
其他好文 时间:
2018-12-02 12:10:48
阅读次数:
224
第十课 IPtables 与 Firewalld 防火墙 这节课学习的是相当轻松,网络是强项。 本节课核心 1.Linux系统中的一切都是文件。 2.配置一个服务就是在修改其配置文件。 3.要想让新的配置送文件立即生效,重启对应的服务。 四种配置网卡方法 1.vim /etc/sysconfig/n ...
分类:
其他好文 时间:
2018-12-01 00:13:52
阅读次数:
259
1、 wsdl生成代碼: wsdl2Java -encoding utf-8 -d /Users/ -classdir /Users/ -p http://www.travelport.com/service/air_v45_0=com.travelport.service.air_v45_0 -i ...
分类:
其他好文 时间:
2018-11-29 23:15:57
阅读次数:
237
1 准备模板机 具体步骤如下: 1. 下载镜像安装系统 2. 安装完成配置好IP ,关闭SELINUX ,关闭firewalld ,修改网卡名 3. 预设置好修改其他机器IP脚本 1.1 安装系统 略 1.2 模板机的设置 修改网卡名eth0 关闭selinux 关闭firewalld 重启系统 然 ...
分类:
系统相关 时间:
2018-11-27 16:59:32
阅读次数:
297
关闭防火墙和selinux #systemctl stop firewalld 安装服务端和客户端mariadb # yum install mariadb-server mariadb -y mariadb配置文件位置 # vi /etc/my.cnf 开启服务 # systemctl start ...
分类:
数据库 时间:
2018-11-27 01:27:40
阅读次数:
258
CentOS7.5安装PPTP注意:部分内容转自网络。1准备一个CentOS7.5服务器2准备×××软件及FIREWALLD开启3安装PPPyuminstall-yppp4安装PPTPD4.1添加EPEL源:wgethttp://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm4.2安装EPEL源:rpm-ivhepel-
分类:
其他好文 时间:
2018-11-26 19:59:57
阅读次数:
570