CentOS7默认使用的是firewalld来管理主机的网络连接,当然,如果对firewalld不熟悉的话,安装iptables-services就可以像管理之前的版本一样使用iptables对网络进行配置。这里分别对两种方式进行简单的介绍。Firewalld介绍Firewalld使用firewalld-cmd工具来对防火墙进行配置。fi..
分类:
其他好文 时间:
2017-07-03 15:09:03
阅读次数:
224
首先要先在后台启动一个 CentOS7 容器(注意不要少参数): 然后再进入这个容器 执行结果 ...
分类:
其他好文 时间:
2017-07-03 13:58:26
阅读次数:
299
一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable fire ...
分类:
其他好文 时间:
2017-07-03 12:29:06
阅读次数:
313
CentOS7.2下载地址:http://www.centoscn.com/CentosSoft/iso/2015/1218/6532.html一、安装CentOS7.2 1)成功引导系统后,会出现下面的界面 界面说明: Install CentOS 7 安装CentOS 7 Test this m... ...
分类:
其他好文 时间:
2017-07-03 10:13:21
阅读次数:
123
CentOS7.2下载地址:http://www.centoscn.com/CentosSoft/iso/2015/1218/6532.html一、安装CentOS7.2 1)成功引导系统后,会出现下面的界面 界面说明: Install CentOS 7 安装CentOS 7 Test this m... ...
分类:
其他好文 时间:
2017-07-03 10:01:27
阅读次数:
288
版本:Tomcat 9.0 问题:新安装的tomcat,用其他机器访问tomcat的Server Status、Manager App、Host Manager三个页面均显示403(本机访问没有问题),conf/tomcat-users.xml里已添加配置: <role rolename="mana ...
分类:
其他好文 时间:
2017-07-02 15:09:42
阅读次数:
197
1、下载 下载地址:https://github.com/phpredis/phpredis/ 文件名:phpredis-develop.zip 文件下载成功后,上传至/usr/local 2、安装 unzipphpredis-php7.zip cd phpredis-php7 /usr/local ...
分类:
其他好文 时间:
2017-07-02 10:24:16
阅读次数:
156
Linux之安装apache2.4.23安装环境:操作系统:Centos7.2,关闭selinux新版本的httpd-2.4新增以下特性;新增模块;mod_proxy_fcgi(可提供fcgi代理)mod_ratelimit(限制用户带宽)mod_request(请求模块,对请求做过滤)mod_remoteip(匹配客户端的IP地址)对于基于IP的访问控制..
分类:
Web程序 时间:
2017-07-02 00:11:13
阅读次数:
245
原文链接:http://blog.csdn.net/xyang81/article/details/51759200 安装环境:CentOS7 64位,MySQL5.7 1、配置YUM源 在MySQL官网中下载YUM源rpm安装包:http://dev.mysql.com/downloads/rep ...
分类:
数据库 时间:
2017-07-02 00:09:59
阅读次数:
356
在使用Linux的过程中,我们有时需要使用一些定时任务的功能,Linux上常用的计划任务工具有at、batch和cron、anacron,下面我就来简单的说一说。at:仅执行一次就从Linux的计划任务中取消batch:系统有空就执行cron:周期性执行anacron:唤醒停机期间的工作任务(一)、at(*依赖于..
分类:
其他好文 时间:
2017-07-02 00:06:17
阅读次数:
375