ssh 相关的一点小技巧
修改: vi /etc/ssh/sshd_config 如下:
Port 44444
Protocol 2
PermitRootLogin without-password #root用户必须有key才能登陆
UseDNS no
PasswordAuthentication no # 强制只有key才能登陆
修改: vi /etc/ssh/sshd_config 如下:
Port 44444
Protocol 2
PermitRootLogin without-password #root用户必须有key才能登陆
UseDNS no
PasswordAuthentication no # 强制只有key才能登陆
Perlbal is our Perl-based reverse proxy load balancer and web server.
Overview
Perlbal is a single-threaded event-based server supporting HTTP load balancing, web serving, and a mix of the two (see below).
One of the defining things about Perlbal is that almost everything can be configured or reconfigured on the fly without needing to restart the software. A basic configuration file containing a management port enables you to easily perform operations on a running instance of Perlbal.
Here is a basic list of the personalities and features that Perlbal implements at this time.
Diggclone-开源digg类程序
官方:http://www.talkingpixels.org/diggclone/index.php
演示:同digg.com类似,
Wodig-国内的开源digg类程序
官方:http://www.wodig.com/
Pligg-开源digg类程序
官方:http://www.pligg.com
中文演示:http://pligg.yesxp.net
I think I should take to write an article about hearbeat and lvs…
在做ha/ldirectord+lvs的时候,会用到如下的相关配置,ldirectord.cf文件是来自heartbeat的源代码包里头,现摘录如下:
#
# Sample ldirectord configuration file to configure various virtual services.
#
# Ldirectord will connect to each real server once per second and request
# /index.html. If the data returned by the server does not contain the
# string “Test Message” then the test fails and the real server will be
# taken out of the available pool. The real server will be added back into
# the pool once the test succeeds. If all real servers are removed from the
# pool then localhost:80 is added to the pool as a fallback measure.
(阅读全文 …)
巩俐终于在百忙之中,抽控来参加全国政协会议了。在之前,她连续两年缺席。我想,如果不是去年的缺席遭“炮轰”,今年是不是还要继续缺席?
记得去年这个时候,刘绍楹先生写了一篇《巩俐委员:你明智的选择是“请辞”》,刘先生在这篇文章里列出了巩俐应该请辞的理由。应该说,刘先生列出要巩俐退出政协委员的理由是非常充分的,可巩俐并没有作出这样的明智选择,人家并没有请辞,这不她来了!
《Network-Attached Storage With FreeNAS》
Version 1.0
Author: Falko Timme
Last edited 02/11/2007
This tutorial shows how you can set up a network-attached storage server with FreeNAS. FreeNAS is based on the FreeBSD operating system and supports CIFS (samba), FTP, NFS, RSYNC, SSH, local user authentication, and software RAID (0, 1, 5). It comes with a powerful web interface and uses very little space on the hard drive – about 32MB.
详细地址:http://www.howtoforge.com/network_attached_storage_with_freenas
为php安装额外的模块
最后重起apache即可,简单吧:)
先天卦数
乾一,兑二,离三,震四,巽五,坎六,艮七,坤八。
五行生克
金生水,水生木,木生火,火生土,土生金。
金克木,木克土,土克水,水克火,火克金。
八宫所属五行
乾.兑金;坤、艮土;震、巽木;坎水;离火。
卦气旺
震、巽木旺于春;离火旺于夏;乾、兑金旺于秋;坎水旺于冬;坤、艮旺于辰、戌、丑、未月。
八宫卦序
装卦就是把用以占断的要素标记在画出的卦上,确定卦的名称,该卦属于何宫,及五行属性。
火珠林法把六十四卦分为八宫,每宫八卦:
乾宫八卦,属金。乾为天,天风垢。天山遁,大地否,风地观,山地剥,火地晋,火天大有。
坎宫八卦,属水。坎为水,水泽节,水雷屯,水火既济,泽人革,雷火丰,地火明夷,地水师。
艮宫八卦,属土。艮为山,山火贲,山天大畜,山泽损,火泽睽,天泽履,风泽中孚,风山渐。
震宫八卦,属木。震为雷,雷地豫,雷水解,雷风恒,地风升,水风井,泽风大过,泽雷随。
巽宫八卦,属木。巽为风,风天小畜,风火家人,风雷益,天雷无妄,火雷噬嗑,山雷颐,山风蛊。
离宫八卦,属火。离为火,火山旅,火风鼎,火水未济,山水蒙,风水涣,天水讼,天火同人。
坤宫八卦,属土。坤为地,地雷复,地泽临,地天泰,雷天大壮,泽天夬,水天需,水地比。
兑宫八卦,属金。兑为泽,泽水困,泽地萃,泽山咸,水山蹇,地山谦,雷山小过,雷泽归妹。
上列八宫六十四卦的排列有一定的顺序。首先,八宫的顺序是按照后天八卦图的顺序排列的,与《京氏易传》的顺序略有不同。后天八卦图按乾在西北,坎在正北,艮在东北,震在正东,巽在东南,离在正南,坤在西南,兑在正西的方位,顺时针方向排列,必须注意:八卦图的南北东西,正与现代地图上北下南相反,而是上南下北·其次每宫第一卦都是由相同的两个单卦重迭而成的,总称为八纯卦。八纯卦是该宫的宫主。因此以八纯卦的名称来命名宫名,以八纯卦的五行属性,统领该宫的七个卦。如乾宫即属金,以下天风垢,天山遁、大地否、风地观、山地剥、火地晋、火天大有,都属金。除八纯卦之外,其他卦名的命法是从上往下,以八卦的第一主象为标志来命名的。乾为天,坎为水,艮为山,震为雷,巽为风,坤为地·兑为泽,例如地天泰卦,上卦为坤,坤为地,下卦为乾,乾为天,所叫地天泰卦。天地否卦,则上卦为乾,为天,下卦为坤,为地,所以称为天地否,卦。每一宫内又根据排列次序分别为六世卦、一世卦、二世卦、三世卦、四世卦、五世卦、游魂卦、归魂卦。
环境不好,小命难保;
保护环境,人人别跑;
一起来搞,还要趁早;
珍爱生命,远离电脑。
^_^