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
1.LAMP架构介绍LAMP是Linux+Apache(httpd)+MySQL+PHP的简写,即把Apache、MySQL以及PHP安装在linux系统上,组成一个运行环境来运行PHP脚本语言,通常是网站。比如Google、淘宝、百度、51cto博客、猿课论坛等就是用PHP语言写出来的。2.web服务器工作流程在说lamp架构平台的搭建前,我们先来了解下什么的CGI,什么是FastCGI,什么是
分类:
系统相关 时间:
2018-08-20 19:45:20
阅读次数:
214
编译安装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
####firewalld和iptables### 防火墙是内核上的一个插件 火墙有两种:firewalld 和 iptables 都通过iptables往内核写入数据 一.firewalld firewall域: trusted home internal work public external ...
分类:
系统相关 时间:
2018-08-18 14:51:38
阅读次数:
244
####企业网络安装### 目的:批量部署服务器 通过TFTP通过网络共享文件 在服务器端: 安装并配置dhcp的配置文件 systemctl stop firewalld ##特别重要,要关掉 yum install dhcp -y cp /usr/share/doc/dhcp-4.2.5/dhc ...
分类:
系统相关 时间:
2018-08-18 13:26:45
阅读次数:
219
1.安装部署dns yum install bind -y systemctl start named systemctl enable named systemctl stop firewalld systemctl disable firewalld 主配置文件: /etc/named.conf ...
分类:
系统相关 时间:
2018-08-15 22:56:40
阅读次数:
212
拷贝收藏私用,别无他意,原博客地址: https://www.cnblogs.com/moxiaoan/p/5683743.html 拷贝收藏私用,别无他意,原博客地址: https://www.cnblogs.com/moxiaoan/p/5683743.html 此处踩坑在以前用过centos6 ...
分类:
其他好文 时间:
2018-08-15 20:39:35
阅读次数:
186
说明:此规范分为两部分:一是,常规配置方法;二是集合配置方法常规的配置方法是指对于端口,服务及源地址的限制方法集合配置方法是针对于源地址和端口组合限制,但源地址是一个IP地址集合,此集合中可以任意添加IP地址及网段
分类:
其他好文 时间:
2018-08-15 14:56:30
阅读次数:
342
#!/bin/bashsystemctldisablefirewalldsystemctlstopfirewalldsetenforce0cd/etc/yum.repos.d/wgethttp://mirrors.163.com/.help/CentOS7-Base-163.repoyumcleanallyum-yinstallepel-releaseyum-yinstallvsftpdecho&
分类:
系统相关 时间:
2018-08-13 15:56:23
阅读次数:
189