万事皆有因
星期五, 1月 26th, 2007万事皆有因,因在自己或者别人,更多的是自己,所以不要怨天尤人…
万事皆有因,因在自己或者别人,更多的是自己,所以不要怨天尤人…
Here are 20 things you can do to make your apache configuration more secure.
Disclaimer: The thing about security is that there are no guarantees or absolutes. These suggestions should make your server a bit tighter, but don’t think your server is necessarily secure after following these suggestions.
Additionally some of these suggestions may decrease performance, or cause problems due to your environment. It is up to you to determine if any of the changes I suggest are not compatible with your requirements. In other words proceed at your own risk.
如果是web1.0的站点,那么做CDN实在是太简单的事,但是web2.0的交互性实在太强了,所以如何处理及时数据的呈现是一个比较棘手的问题!
其实针对这个问题,我想并不是不可以实现,下面是个人的一点设想:
将一个PHP页面rewrite成.html的文件,将这些数据存放到cdn节点,涉及到更新频繁的数据存放到以BDB做cache存储的系统上,因为BDB的高效,可以很快速且方便的实现cache控制,然后将这些更新的数据异步更新到后面的DB里!
在个问题是因为你导入的sql文件大于系统默认的max_allowed_packet的值,解决方法:
比如在my.cnf修改增加到:max_allowed_packet=32M #或者更高,当然也可以在mysqld启动的时候加入这个参数:)
因为该变量必须是mysqld启动的时候才生效,所以必须重起mysqld才能生效!
| 摘要:SPF 是发送方策略框架 (Sender Policy Framework) 的缩写,希望能成为一个防伪标准,来防止伪造邮件地址。这篇文章对 SPF 进行了简单介绍,并介绍了它的一些优点和不足。 |
SPF 诞生于2003年,它的缔造者 Meng Weng Wong 结合了反向 MX 域名解析(Reverse MX) 和 DMP (Designated Mailer Protocol) 的优点而付予了 SPF 生命。
(more…)
这篇文档旨在介绍如何安装配置基于2台服务器的MySQL集群。并且实现任意一台服务器出现问题或宕机时MySQL依然能够继续运行。
注意!
虽然这是基于2台服务器的MySQL集群,但也必须有额外的第三台服务器作为管理节点,但这台服务器可以在集群启动完成后关闭。同时需要注意的是并不推荐在集群启动完成后关闭作为管理节点的服务器。尽管理论上可以建立基于只有2台服务器的MySQL集群,但是这样的架构,一旦一台服务器宕机之后集群就无法继续正常工作了,这样也就失去了集群的意义了。出于这个原因,就需要有第三台服务器作为管理节点运行。
另外,可能很多朋友都没有3台服务器的实际环境,可以考虑在VMWare或其他虚拟机中进行实验。
(more…)
在上海方言中,大拐表示左拐,小拐表示右拐!而在“文王后天八卦”中,左为:震卦,右为兑卦,而震卦在次序中又表示大男,兑卦为少(小)女。不知道这两者是否有所联系?此仅为个人推测,仅为谈资:)
1. Import the key
rpm --import /usr/share/rhn/RPM-GPG-KEY rpm --import http://apt.ourlinux.net/RPM-GPG-KEY-bixuan
2. Install the Apt.
32bit rpm -Uvh http://apt.ourlinux.net/apt-0.5.15lorg3.2-7.i386.rpm or wget -c http://apt.ourlinux.net/apt-0.5.15lorg3.2-7.i386.rpm
x86_64
rpm -Uvh http://apt.ourlinux.net/apt-0.5.15lorg3.2-7.x64.rpm or wget -c http://apt.ourlinux.net/apt-0.5.15lorg3.2-7.x64.rpm
3. Config the sources.list
32bit cat > /etc/apt/sources.list << end rpm http://apt.ourlinux.net as4.4/i386 os end
x86_64
cat > /etc/apt/sources.list << end rpm http://apt.ourlinux.net as4.4/x86_64 osend end
now, I rebuilding. Please wait..
OpenOffice - office suite
PC Suite 602 - office suite
AbiWord - text editor
Atlantis Nova - text editor
(more…)