随笔分类 -  centos

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

返回顶部 有事您Q我