`
neilsh
  • 浏览: 9634 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
注:大部分内容来自互联网,我做了一点整理和归纳。 1.MX记录 添加 mx mail.xxx.com. 10 a mail ipaddress 确保MX记录生效 #host -t mx xxx.com xxx.com mail is handled by 10 mail.xxx.com. ← 确认MX记录生效 2.Postfix 安装 #yum -y install postfix 对Postfix进行配置。 [root@sample ~]# vi /etc/postfix/main.cf← 编辑Postfix的配置文件 #myhostname = host.domai ...
新版的libvirt需要sanlock支持。 由于网上libvirt的资料少,而且默认都是安装在Fedora系统上的,所以没有sanlock.RHEL6的RPM包,我花了点时间制作了一份RHEL6的sanlock.spec。 1.下载sanlock1.8 源代码 git clone git://git.fedorahosted.org/sanlock.git 2.安装依赖包libaio-devel #yum install -y libaio-devel.x86_64 3.编译RPM包(rpmbuild的安装使用就不详细阐述了) #cd sanlock #rpmbuild -ba ...
安装snmpd和mrtg #yum install mrtg net-snmp net-snmp-utils 配置SNMP,配置完成后重启snmpd (因为网络接口转而采用了脚本采集,所以snmp就不配置了) com2sec notConfigUser  localhost       public group   notConfigGroup v1           notConfigUser group   notConfigGroup v2c           notConfigUser view    systemview    included   .1.3.6.1.2 ...
搭建了一台nginx+uwsgi+django1.3的服务器。由于设计需要必须走HTTPS,但是按照默认配置后访问却总是出现问题。查阅了uwsgi文档后解决了。 server { listen 80; server_name 127.0.0.1; ssl on; ssl_certificate server.crt; ssl_certificate_key server.key; ssl_session_timeout 5m; ...
Global site tag (gtag.js) - Google Analytics