随笔分类 - Centos7
摘要:#表的结构 test3CREATE TABLE IF NOT EXISTS test3 (id int(11) NOT NULL auto_increment,bid int(11) NOT NULL,cid int(11) NOT NULL,dtime datetime NOT NULL,PRIM
阅读全文
摘要:上次防火墙重启,关闭了443端口导致https域名无效: 查看防火墙端口: service iptables status 开启443端口: iptables -I INPUT -p tcp --dport 443 -j accept
阅读全文
摘要:// 查看防火墙状态 service iptables status // 开启防火墙 service iptables start // 重启防火墙 service iptables restart // 关闭防火墙 service iptables stop // 屏蔽某个IP iptables -I INPUT -s **.**.**.** -j DROP// 屏蔽某个IP段iptabl...
阅读全文
摘要:实例: 即时通讯聊天室demo可以打开两个页面互相发送消息查看。 websocket.js /* 判断浏览器是否内置了websocket */ if ('WebSocket' in window) { websocket = new WebSocket('ws://180.76.144.202:19
阅读全文
摘要:查询端口号80 是否开启:firewall-cmd --query-port=80/tcp 永久开放80端口号:firewall-cmd --permanent --zone=public --add-port=80/tcp 移除80端口号:firewall-cmd --permanent --zo
阅读全文
摘要:1、安装php5.4 2、安装apache 3、安装mysql 查看apache状态: 启动apache:
阅读全文
浙公网安备 33010602011771号