摘要: 获取服务器时间 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netine 阅读全文
posted @ 2016-01-29 16:11 feilv 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 查看开放的端口: netstat -tunlp 查看网络配置: chkconfig 关闭防火墙: chkconfig iptables off /etc/init.d/iptables stop 开放telnet服务: yum install telnet-server #安装 vi /etc/xi 阅读全文
posted @ 2016-01-29 15:26 feilv 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 安装中文支持: yum groupinstall chinese-support 查看相关环境变量: echo $LANG locale 修改编码: vim /etc/sysconfig/i18n us_EN.UTF-8 zh_CN.UTF-8 zh_CN.GB18030 将utf-8编码的文件fi 阅读全文
posted @ 2016-01-29 11:07 feilv 阅读(484) 评论(0) 推荐(0) 编辑