Archive for the ‘Uncategorized’ category

MX Lookup

August 10th, 2010

This test will list MX records for a domain in priority order. The MX lookup is done directly against the domain’s authoritative name server, so changes to MX Records should show up instantly. You can click Diagnostics , which will connect to the mail server, verify reverse DNS records, perform a simple Open Relay check and measure response time performance. You may also check each MX record (IP Address) against 147 DNS based blacklists . (Commonly called RBLs, DNSBLs)

» Read more: MX Lookup

The SPF Setup Wizard

August 10th, 2010

Most domains send outbound mail through a relatively small number of servers. Domains should describe that set of servers in an SPF record in their DNS. Internet email receivers can then reject forged messages which don’t come from an envelope sender domain’s approved servers. This wizard helps domain owners identify all the servers which could be expected to send mail from their domain.

» Read more: The SPF Setup Wizard

SELINUX — setsebool常用设置

July 21st, 2010

===ftp===
//If you want to share files anonymously
chcon -R -t public_content_t /var/ftp
//If you want to setup a directory where you can upload files
chcon -t public_content_rw_t /var/ftp/incoming
You must also turn on the boolean allow_ftpd_anon_write
setsebool -P allow_ftpd_anon_write=1
//If you are setting up this machine as a ftpd server and wish to allow users to access their home directorories
setsebool -P ftp_home_dir 1
//If you want to run ftpd as a daemon
setsebool -P ftpd_is_daemon 1
//You can disable SELinux protection for the ftpd daemon
setsebool -P ftpd_disable_trans 1
» Read more: SELINUX — setsebool常用设置

性能研究(二): 浏览器缓存的用法

July 16th, 2010

这是关于优化网页性能系列的第二篇文章,你可能会奇怪为什么会在 YUI Blog 看到关于性能的文章,这证明了其实大多数网页性能是受前端影响的,就是说 UI 的设计和开发。

» Read more: 性能研究(二): 浏览器缓存的用法

正则表达式学习

May 21st, 2010
\b 是正则表达式规定的一个特殊代码(好吧,某些人叫它元字符,metacharacter),代表着单词的开头或结尾,也就是单词的分界

» Read more: 正则表达式学习

关于反向域名解析(Reverse DNS)

April 19th, 2010

    反向域名解析,Reverse DNS。反向域名解析与通常的正向域名解析相反,提供IP地址到域名的对应。IP反向解析主要应用到邮件服务器中来阻拦垃圾邮件,特别是在国外。多数垃圾邮件发送者使用动态分配或者没有注册域名的IP地址来发送垃圾邮件,以逃避追踪,使用了域名反向解析后,就可以大大降低垃圾邮件的数量。关于反向解析如何被应用到邮件服务器中来阻拦垃圾邮件的。

» Read more: 关于反向域名解析(Reverse DNS)

域名反向解析查看命令

April 19th, 2010

如果自己做邮件服务器,一般的情况下是需要做域名反向解析的,可以让IP提供商帮忙做.

» Read more: 域名反向解析查看命令

PHP & memcached

March 23rd, 2010

一、memcached 简介

在很多场合,我们都会听到 memcached 这个名字,但很多同学只是听过,并没有用过或实际了解过,只知道它是一个很不错的东东。这里简单介绍一下,memcached 是高效、快速的分布式内存对象缓存系统,主要用于加速 WEB 动态应用程序。

» Read more: PHP & memcached

windows下安装基于Apache的Subversion服务器

March 9th, 2010

my:

找到文件

libapr-1.dll
libaprutil-1.dll
libsvn_delta-1.dll
libsvn_fs-1.dll
libsvn_repos-1.dll
libsvn_subr-1.dll

» Read more: windows下安装基于Apache的Subversion服务器

rsync 使用说明

March 4th, 2010

1. Install

[url]http://www.samba.org/rsync/[/url]

shell> tar zxvf rsync-x.x.x.tar.gz
shell> cd rsync-x.x.x
shell> ./configure && make && make install

» Read more: rsync 使用说明