[root@WX020 firewall]# cat /etc/sysconfig/iptables# Firewall configuration written by system-config-firewall# Manual customization of this file is not ...
分类:
其他好文 时间:
2019-02-25 13:19:54
阅读次数:
178
一、MHA简介 MHA(Master HighAvailability)目前在MySQL高可用方面是一个相对成熟的解决方案,它由日本DeNA公司youshimaton(现就职于Facebook公司)开发,是一套优秀的作为MySQL高可用性环境下故障切换和主从提升的高可用软件。在MySQL故障切换过程 ...
分类:
数据库 时间:
2019-02-23 23:03:24
阅读次数:
253
添加 firewall-cmd --zone=public --add-port=80/tcp --permanent (--permanent永久生效,没有此参数重启后失效) 重新载入 firewall-cmd --reload 重启一个服务: systemctl restart firewall ...
分类:
其他好文 时间:
2019-02-21 23:17:41
阅读次数:
280
<1>.Apache防火墙配置 firewall-cmd --add-service=http firewall-cmd --add-service=https 防火墙通过80和443端口 <2>.Apache连接php配置 在其后加上一行AddType application/x-httpd-ph ...
分类:
其他好文 时间:
2019-02-14 20:47:31
阅读次数:
167
centos系统版本: 1、安装前需要先关闭selinux和firewall. 1.1 [root@zabbix ~]# vi /etc/selinux/config 将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效 [root@zabbix ~]# ...
分类:
其他好文 时间:
2019-02-12 11:45:14
阅读次数:
222
永久开放80端口号:firewall-cmd--permanent--zone=public--add-port=80/tcp多端口:firewall-cmd--zone=public--add-port=80-90/tcp--permanent移除80端口号:firewall-cmd--permanent--zone=public--remove-port=80/tcp--zone#作用域--a
分类:
其他好文 时间:
2019-02-11 15:23:00
阅读次数:
209
准备篇 一、防火墙配置 CentOS 7.x默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.serv ...
分类:
数据库 时间:
2019-02-03 12:16:25
阅读次数:
287
LAMP一键安装包网址:https://lamp.sh/install.htmlLAMP安装时间过长请不要用xshell安装容易断线,在虚拟机本机安装。安装wget、screen、unzip,创建screen会话yum-yinstallwgetscreengitgitclone并赋予脚本执行权限gitclonehttps://github.com/teddysun/lamp.gitcdlampch
分类:
其他好文 时间:
2019-01-28 01:23:12
阅读次数:
253
1、下载JDK1.8、Tomcat8 http://www.oracle.com/technetwork/java/javase/downloads/jdk8 downloads 2133151.html http://tomcat.apache.org/download 80.cgi ...
分类:
系统相关 时间:
2019-01-26 22:43:34
阅读次数:
443