
Linux故障集合
Benson_xuhb
活到老学到老。
展开
-
Apache站点中文乱码解决方案
1.编辑apache配置文件修改以下内容vim /etc/httpd/conf/httpd.conf查找AddDefaultCharset字段将UTF-8修改为GBK或者GB2312重启httpd服务后,中文显示正常2.将UTF-8改为GBK/GB2312 确实可以让中文正常显示,但是UTF-8编码的文件又会乱码。 将AddDefaultCharset 设置为 OFF ,重启httpd服务,就可以原创 2016-07-05 10:48:38 · 3347 阅读 · 0 评论 -
iptables提示:Firewall modules are not loaded
具体的异常现象: 1.启动或者关闭防火墙没任何的提示[root@ethnicity ~]# service iptables start[root@ethnicity ~]# service iptables stop2.查看防火墙的状态直接提示模块未加载[root@ethnicity ~]# service iptables statusiptables: Firewall modules原创 2016-07-05 10:50:22 · 8038 阅读 · 0 评论 -
日常linux相关工作问题汇总
此篇博文记录自己学习Linux及Linux工作中遇到的各种故障及问题的汇总CentOS6.5中安装Mysql后在建立mysql库时并初始化时出现错误提示:Installing MySQL system tables…./bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open share...原创 2015-11-26 14:26:38 · 2233 阅读 · 0 评论