centos7下的apache2.4安全配置】的更多相关文章

Centos7 下的SVN安装与配置 1.关闭防火墙 临时关闭防火墙 systemctl stop firewalld 永久防火墙开机自关闭 systemctl disable firewalld 临时打开防火墙 systemctl start firewalld 防火墙开机启动 systemctl enable firewalld 查看防火墙状态 systemctl status firewalld 2.关闭SELinux 临时关闭SELinux setenforce 临时打开SELinux…
CentOS7下NFS服务安装及配置 系统环境:CentOS Linux release 7.4.1708 (Core) 3.10.0-693.el7.x86_64 软件版本:nfs-utils-1.3.0-0.48.el7_4.x86_64 网络环境中配置了DNS服务器,NFS服务器对应的域名是nfs.st.local,IP是192.168.1.18.配置过程中全部使用域名. 一.安装 nfs客户端和服务端都安装nfs-utils包,同时自动安装rpcbind.安装后会创建nfsnobody用…
Apache 1.安装Apache yum install httpd 2.设置服务器开机自动启动Apache systemctl enable httpd.service 若要验证是否自动启动可在重启服务器后在终端键入以下命令来检测Apache是否已经启动 systemctl is-enabled httpd.service 如果看到了enable这样的响应,则表示Apache已经启动成功 3.手动启动Apache systemctl start httpd.service 在浏览器中输入IP…
git的安装: yum 源仓库里的 Git 版本更新不及时,最新版本的 Git 是 1.8.3.1,但是官方最新版本已经到了 2.9.2.想要安装最新版本的的 Git,只能下载源码进行安装. 1. 查看 yum 源仓库的 Git 信息: 1 # yum info git 可以看出,截至目前,yum 源仓库中最新的 Git 版本才 1.8.3.1,而查看最新的 Git 发布版本,已经 2.9.2 了. 2. 依赖库安装 1 2 # yum install curl-devel expat-deve…
centOS7下NAT的静态网卡的配置 最近在cenOS7下搭建大数据,发现centOS7配置静态ip的必要性.这篇博文就来谈谈如何VM虚拟机中配置centOS7的静态ip.如有不足,还望志同道合者纠正和交流,一同进步. 一 为什么要配置在centOS中配置静态ip地址: 这是因为在vm中的centOS中的ip地址在没有重启的情况下发生变化,虚拟机的ip租约过期后,ip就会重新分配,从而造成ip地址的自行变化.为了应用方便和ip地址的固定,就需要设置centOS的静态ip,也就是固态ip地址.…
环境 Centos7 Redis版本 3.2.0 安装目录 /usr/local/redis/redis-3.2.0 Redis的介绍 参见官网 安装 1 安装gcc与tcl # yum install gcc tcl  2 下载3.2.0 # mkdir /usr/local/redis  # cd /usr/local/redis  # wget http://download.redis.io/releases/redis-3.2.0.tar.gz 3 解压 # tar -zxvf red…
1.启用Apache2 Centos7默认已经安装httpd服务,只是没有启动.如果你需要全新安装,可以 yum install -y httpd 启动服务:systemctl start httpd.service 设置开机自动启动:systemctl enable httpd.service HTTP服务器已经启动,进行一下简单配置 vim /etc/httpd/conf/httpd.conf #编辑文件 ServerSignature On  #添加,在错误页中显示Apache的版本,Of…
安装前准备:yum -y install gcc gcc-c++ autoconf automake make yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 一.下载keepalived方法一:yum -y install keepalived方法二:下载二进制源码包:http://www.keepalived.org/download.html#下载安装文件 cd /usr/local/src wget…
一.硬件配置 CentOS7@VMware® Workstation 15 Pro,分配资源:CPU:2颗,内存:4GB,硬盘空间:30GB 二.软件准备  linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip SecureCRT 三.虚拟机的配置 挂载镜像,配置本地yum源 /etc/yum.repos.d设置network.service(配ip) /etc/sysconfig/network-scripts/…
1.安装 #yum install -y postgresql-server 2.postgresql数据库初始化 #service postgresql initdb 3.启动postgresql服务 #systemctl start postgresql #systemctl enable postgresql 4.查看postgresql状态 #netstat -tlunp|grep 5432 #ss -tlunp|grep 5432 5.连接postgresql数据库 想连接到数据库,需…