1、首先搭建LAMP环境使用YUM安装LAMP环境,具体参数如下:..[root@910~]#yuminstallhttpdphpphp-mysqlmariadb-servermariadbsqlitephp-domphp-mbstringphp-gdphp-pdo.....关闭selinux,清空iptables,firewalld防火墙放行相关服务.....默认安装的PHP是5.4版本,需要升
分类:
其他好文 时间:
2018-08-21 01:09:53
阅读次数:
318
全栈运维体系中基础运维之一,快速入门到掌握,进阶高级版的比较有难度,不易明白,所放置进阶运维中,力求掌握基础运维知识。
分类:
其他好文 时间:
2018-08-20 22:49:38
阅读次数:
176
1:关闭SElinux及iptables(在工作场景中,如果有外部ip一般要打开iptables,高并发高流量的一般无法开启)[haha@xx-25-44-18~]$grepSELINUX=disabled/etc/sysconfig/selinuxSELINUX=disabled2:不使用root远程登录系统,而用普通用户登录系统通过sudo授权管理https://www.linuxidc.co
分类:
系统相关 时间:
2018-08-20 19:00:34
阅读次数:
207
1.查看iptables状态 service iptables status 2.开启/关闭iptables service iptables start service iptables stop 3.查看iptables是否开机启动 chkconfig iptables --list 4.设置i ...
分类:
其他好文 时间:
2018-08-20 15:39:06
阅读次数:
118
以前一直对iptables的sport、dport不清楚,所以这里记录一下。 iptables里面的dport和sport 首先先来翻译一下dport和sport的意思: dport:目的端口 sport:来源端口 初学iptables比较容易迷糊,但是我尽量用通俗的语言给你讲解。 dport 和s ...
分类:
其他好文 时间:
2018-08-20 11:30:26
阅读次数:
150
火墙firewall-cmd --state 查看火墙的状态firewall-cmd --get-active-zones 目前所处的域firewall-cmd --get-default-zone 查看默认的域firewall-cmd --get-zones 查看所有的域 fiewall-cmd ...
分类:
系统相关 时间:
2018-08-19 13:00:15
阅读次数:
199
编译安装httpd(CentOS 6) 准备工作: 1.关闭防火墙 6:service iptables stop;chkconfing iptables off 7:systemctl stop firewalld;systemctl disable firewalld 另外还有一种:清除所有规则 ...
分类:
Web程序 时间:
2018-08-18 20:37:18
阅读次数:
219
一,配置yum源 设置镜像 挂载 查看是否挂在成功 复制镜像内容到opt下面 删除不相关内容 进入/mnt/Packages 安装生成缓存文件 选择这个结尾的 更新本地yum源 yum clean all 生成缓存 搭建完成 二,ftp局域网配置 安装vsftpd iptables 设置 添加一条规 ...
分类:
其他好文 时间:
2018-08-18 19:49:23
阅读次数:
130
####firewalld和iptables### 防火墙是内核上的一个插件 火墙有两种:firewalld 和 iptables 都通过iptables往内核写入数据 一.firewalld firewall域: trusted home internal work public external ...
分类:
系统相关 时间:
2018-08-18 14:51:38
阅读次数:
244
netfilter 子系入口在L3,完成后把数据包发往L4 netfilter 主要功能: 数据包选择(iptables) 数据包过滤 网络地址转换(NAT) 数据包操纵(在路由选择之前或之后修改数据包头的内容) 连接跟踪 网络统计信息收集 常见框架 IPVS:一种传输层负载均衡解决方案。 IP s ...
分类:
Web程序 时间:
2018-08-18 11:33:49
阅读次数:
216