随笔分类 - centos
摘要:升级 php 7.2 后,使用微信提供的加解密代码时,提示 call to undefined function mcrypt_module_open() ;大脑疯狂运转1秒钟后,得出结论:php 7.2的扩展有变动;查阅相关资料知晓,mcrypt 扩展从 php 7.1.0 开始废弃;自 php
阅读全文
摘要:如果系统已安装则调过安装步骤 查找安装包 yum list | grep iptables yum list | grep iptables 安装iptables yum install iptables-services yum install iptables-services 重启防火墙使配置
阅读全文
摘要:背景:在CentOS上面安装了mysql、svn、tomcat等软件,发现访问不了,用telnet命令查看端口,发现都不通: CentOS7 默认使用firewalld防火墙,如果想换回iptables防火墙,可关闭firewalld并安装iptables。 1、关闭firewall: 停止fire
阅读全文
摘要:www目录的所有者和所属组都改为nginx用户试一下。 参考命令: chown nginx.nginx /home/www ps aux |grep nginx 看一下您的nginx是以哪个用户的身份运行的。 根据截图来看work进程是以nginx用户的身份运行的,没有问题,请您执行nginx -s
阅读全文
摘要:step 1 安装配置Vsftp服务器 一、配置防火墙,开启FTP服务器需要的端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall sy
阅读全文
摘要:1.防火墙概述 centos7搭建集群,发现没有iptables,需要安装。防火墙为firewalle CentOS7默认的防火墙不是iptables,而是firewalle. CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 firewall: syst
阅读全文
摘要:背景描述 1 在使用Docker时,启用centos7默认的firewall,启动端口映射时,防火墙规则不生效。docker默认使用了iptables防火墙机制。所以需要关闭firewall使用iptables解决。 1 在使用Docker时,启用centos7默认的firewall,启动端口映射时
阅读全文

浙公网安备 33010602011771号