1)查看防火墙状态 查看防火墙状态: /etc/init.d/iptables status 暂时关闭防火墙: /etc/init.d/iptables stop 重启防火墙: /etc/init.d/iptables restart 启动防火墙: /etc/init.d/iptables star Read More
问题: 数据库编码格式为utf8,表和字段也都是utf8,存进去的格式是utf-8但是用命令行工具查询命令select * from 表名; 查询出来的中文是乱码。 原因: MySQL客户端根本就不能以utf8的形式返回数据 解决如下: SET NAMES GB2312; 在命令行执行即可解决 Read More
01-.tar格式解包:[*******]$ tar xvf FileName.tar打包:[*******]$ tar cvf FileName.tar DirName(注:tar是打包,不是压缩!)02-.gz格式解压1:[*******]$ gunzip FileName.gz解压2:[*** Read More