<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>征程无限</title>
	<atom:link href="http://www.chengyongxu.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chengyongxu.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 09:13:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://www.chengyongxu.com/blog/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>Nagios更改报警邮件发件人地址</title>
		<link>http://www.chengyongxu.com/blog/nagios%e6%9b%b4%e6%94%b9%e6%8a%a5%e8%ad%a6%e9%82%ae%e4%bb%b6%e5%8f%91%e4%bb%b6%e4%ba%ba%e5%9c%b0%e5%9d%80/</link>
		<comments>http://www.chengyongxu.com/blog/nagios%e6%9b%b4%e6%94%b9%e6%8a%a5%e8%ad%a6%e9%82%ae%e4%bb%b6%e5%8f%91%e4%bb%b6%e4%ba%ba%e5%9c%b0%e5%9d%80/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:13:07 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[MAIL服务器]]></category>
		<category><![CDATA[服务器监控]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=555</guid>
		<description><![CDATA[#发现nagios的发件人地址是这样的：
#“运行nagios的用户”@“服务器上hosts文件中配置的主机名”
#觉得不爽，改之
#nagios发邮件是调用sendmail，所以牵扯到sendmail的配置
#centos下yum安装的sendmail配置文件路径是在/etc/mail/下
#sendmail.cf是Sendmail的主配置文件，其中的内容为特定宏，因为文件中的宏代码实在是太多了。sendmail.cf通常是由一个以mc结尾的文件编译生成。
#先备份下
cp sendmail.cf sendmail.cf.default
cp sendmail.mc sendmail.mc.default
vi sendmail.mc
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-引用文字-开始&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
#找到:
dnl MASQUERADE_AS(`mydomain.com&#8217;)dnl
#改为自己想要的地址:
MASQUERADE_AS(`chengyongxu.com&#8217;)dnl
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-引用文字-结束&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
#然后编译一下
m4 /etc/mail/sendmail.mc  > /etc/mail/sendmail.cf
#如果报下面的错误
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-引用文字-开始&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4&#8242;: No such file or directory
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-引用文字-结束&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
#请安装sendmail-cf
yum install sendmail-cf
#重启sendmail
service sendmail restart
#这样再收到报警邮件发件人变成了
nagios@chengyongxu.com
#引申
#如果把自己的地址配成yahoo.com
#那么是不是可以伪装为yahoo邮箱呢？
]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/nagios%e6%9b%b4%e6%94%b9%e6%8a%a5%e8%ad%a6%e9%82%ae%e4%bb%b6%e5%8f%91%e4%bb%b6%e4%ba%ba%e5%9c%b0%e5%9d%80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下快速找到占用大量磁盘空间的新文件</title>
		<link>http://www.chengyongxu.com/blog/linux%e4%b8%8b%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%8d%a0%e7%94%a8%e5%a4%a7%e9%87%8f%e7%a3%81%e7%9b%98%e7%a9%ba%e9%97%b4%e7%9a%84%e6%96%b0%e6%96%87%e4%bb%b6/</link>
		<comments>http://www.chengyongxu.com/blog/linux%e4%b8%8b%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%8d%a0%e7%94%a8%e5%a4%a7%e9%87%8f%e7%a3%81%e7%9b%98%e7%a9%ba%e9%97%b4%e7%9a%84%e6%96%b0%e6%96%87%e4%bb%b6/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 03:03:22 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[shell编程]]></category>
		<category><![CDATA[桌面应用]]></category>
		<category><![CDATA[find]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=543</guid>
		<description><![CDATA[半夜收到N条服务器报警短信，发现40分钟内少了3个G空间。
find / -cmin -600 -size +10M
-cmin -600  #是600分钟内创建的文件
-size +10M  #是大于10M的文件
扩展：
-mtime -n +n #按更改时间来查找文件，-n指n天以内，+n指n天以前
-atime -n +n #按访问时间来查找文件，-n指n天以内，+n指n天以前
-ctime -n +n #按创建时间来查找文件，-n指n天以内，+n指n天以前
-size -n +n单位    #按大小来查找文件，单位可以是b,c,w,k,M,G
常用的命令，但不是所有的参数都常用，不过还是记一笔吧，不然下次又要man find了
]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/linux%e4%b8%8b%e5%bf%ab%e9%80%9f%e6%89%be%e5%88%b0%e5%8d%a0%e7%94%a8%e5%a4%a7%e9%87%8f%e7%a3%81%e7%9b%98%e7%a9%ba%e9%97%b4%e7%9a%84%e6%96%b0%e6%96%87%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用Audacity编辑音频</title>
		<link>http://www.chengyongxu.com/blog/%e4%bd%bf%e7%94%a8audacity%e7%bc%96%e8%be%91%e9%9f%b3%e9%a2%91/</link>
		<comments>http://www.chengyongxu.com/blog/%e4%bd%bf%e7%94%a8audacity%e7%bc%96%e8%be%91%e9%9f%b3%e9%a2%91/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 15:09:26 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[桌面应用]]></category>
		<category><![CDATA[audacity]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=519</guid>
		<description><![CDATA[#通过蓝牙向手机传音乐，文件太大了，传不了，还是剪一段吧
#用Audacity，是跨平台的
#下载地址在
http://audacity.sourceforge.net/download/
#选择你自己的操作系统版本
#Mac下的导出MP3用的lame库地址在
http://lame.buanzo.com.ar/Lame_Library_v3.98.2_for_Audacity_on_OSX.dmg
#Mac下使用，：

#Linux下使用：



]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/%e4%bd%bf%e7%94%a8audacity%e7%bc%96%e8%be%91%e9%9f%b3%e9%a2%91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suse下搭建svn服务</title>
		<link>http://www.chengyongxu.com/blog/suse%e4%b8%8b%e6%90%ad%e5%bb%basvn%e6%9c%8d%e5%8a%a1/</link>
		<comments>http://www.chengyongxu.com/blog/suse%e4%b8%8b%e6%90%ad%e5%bb%basvn%e6%9c%8d%e5%8a%a1/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 13:46:06 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[服务器]]></category>
		<category><![CDATA[桌面应用]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=507</guid>
		<description><![CDATA[####################################
#SVN Configuration
#Author:楚霏
#Date: 2010-01-02
#Env: SuSe Linux Enterprise Desktop 11
####################################

一、安装
####################################
#由于是做桌面，管理自己的文档代码，所以采用的YAST安装
#搜索subversion所在的源，使用daemon的方式的，就不依赖WEB服务器了
#打开http://software.opensuse.org/search
#输入subversion进入查找，如下图：

#如果用的是opensuse，注意选择正确的版本，然后选择

#接下来的按提示非常容易就安装好了
#也可以打开1 key install上边那个链接，把地址复制增加到YAST的更新源里（url方式），直接search安装，效果是一样的
http://download.opensuse.org/repositories/devel:/tools:/scm:/svn/SLE_11/
####################################
二、服务端配置
####################################
#在相应的位置建服务端源目录
#mkdir -p /wwwroot/chengyongxu.com/svnroot
#启动服务端
svnserve -d -r /wwwroot/chengyongxu.com/svnroot
#创建一个版本库
svnadmin create shells
#进入目录配置一个权限
cd /wwwroot/chengyongxu.com/svnroot/shells
vi authz
#增加组和成员的权限
#----------------------------增加文字-开始----------------------------
admin = admin
[shells_svn:/]
@admin = rw
#----------------------------增加文字-结束----------------------------
vi passwd
#增加密码，一行一个用户
#----------------------------增加文字-开始----------------------------
admin = yourpassword
#----------------------------增加文字-结束----------------------------
vi svnserve.conf
#去年下边4行的注释，千万注意行首不要留空格，不然会报错
#----------------------------引用文字-开始----------------------------
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
#----------------------------引用文字-结束----------------------------
####################################

三、客户端配置
####################################
#Mac OS和Windows不再赘述
#Linux下的客户端可以用esvn，如果你有更好的客户端别忘了推荐下哈

#增加一个本地的SVN工作目录
#然后就可以checkout了
#esvn执行操作时会显示执行的命令，当然，你在本地终端执行命令也是很方便的，例如检出：
svn checkout svn://127.0.0.1/shells /home/ftp/work/ --username admin --password yourpassword --non-recursive --non-interactive
#完成
]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/suse%e4%b8%8b%e6%90%ad%e5%bb%basvn%e6%9c%8d%e5%8a%a1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>备忘一下我的vim配置</title>
		<link>http://www.chengyongxu.com/blog/%e5%a4%87%e5%bf%98%e4%b8%80%e4%b8%8b%e6%88%91%e7%9a%84vim%e9%85%8d%e7%bd%ae/</link>
		<comments>http://www.chengyongxu.com/blog/%e5%a4%87%e5%bf%98%e4%b8%80%e4%b8%8b%e6%88%91%e7%9a%84vim%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 02:58:22 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[桌面应用]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=505</guid>
		<description><![CDATA[
"======================================================================================
"General settings
"======================================================================================
syntax on
set expandtab
set guifont=Courier\ New\ 12
set guifontwide=STXihei:h14
"set guifont=Bitstream\ Vera\ Sans\ Mono:h14
"set nomacatsui
"set termencoding=macroman
set backspace=indent,eol,start
set whichwrap=b,s,,[,]
colorscheme desert
set cmdheight=1
set laststatus=2
set shiftwidth=4
set tabstop=4
set number
set nolinebreak
set nocompatible
set nobackup
set nowb
set noswapfile
set mouse=a
set incsearch
set hlsearch
set history=400
set hidden
set expandtab
set confirm
set et
set wrap
set cindent
set ambiwidth=double
set foldlevel=999
set helplang=cn
set cmdheight=2
set mouse=a
set encoding=utf-8
"set go=e
set backspace=indent,eol,start

set ambiwidth=double

set dictionary-=/opt/local/share/vim/vim72/plugin/funclist.txt dictionary+=/opt/local/share/vim/vim72/plugin/funclist.txt
set complete-=k complete+=k

function! InsertTabWrapper()
    let [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/%e5%a4%87%e5%bf%98%e4%b8%80%e4%b8%8b%e6%88%91%e7%9a%84vim%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下命令配置无线网</title>
		<link>http://www.chengyongxu.com/blog/linux%e4%b8%8b%e5%91%bd%e4%bb%a4%e9%85%8d%e7%bd%ae%e6%97%a0%e7%ba%bf%e7%bd%91/</link>
		<comments>http://www.chengyongxu.com/blog/linux%e4%b8%8b%e5%91%bd%e4%bb%a4%e9%85%8d%e7%bd%ae%e6%97%a0%e7%ba%bf%e7%bd%91/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 09:13:39 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[桌面应用]]></category>
		<category><![CDATA[iwconfig]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=501</guid>
		<description><![CDATA[因为不常用，所以总是忘，还是记一下吧
#列出搜索到的无线网，记下essid，也就是无线路由器的“名字”
iwlist 无线网卡名 scan
例如：iwlist wlan0 scan
#连接没有设密码的无线网络
iwconfig 无线网卡名 essid wireless essid name
 例如：iwconfig wlan0 essid cisco
#连接有密码的无线网络
iwconfg 无线网卡名 essid wireless essid name key password
例如：iwconfg wlan0 essid cisco key idonotknow
#启用无线网卡
ifconfig wlan0 up
#通过dhcp获取IP
dhclient wlan0
#用dhcpcd wlan0也可以
]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/linux%e4%b8%8b%e5%91%bd%e4%bb%a4%e9%85%8d%e7%bd%ae%e6%97%a0%e7%ba%bf%e7%bd%91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx的worker_cpu_affinity详解</title>
		<link>http://www.chengyongxu.com/blog/nginx%e7%9a%84worker_cpu_affinity%e8%af%a6%e8%a7%a3/</link>
		<comments>http://www.chengyongxu.com/blog/nginx%e7%9a%84worker_cpu_affinity%e8%af%a6%e8%a7%a3/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 10:26:15 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[WEB服务器]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[worker_cpu_affinity]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=488</guid>
		<description><![CDATA[配置文件中的worker_cpu_affinity可以用来绑定每个nginx进程所使用的CPU
官方的解释是：
#----------------------------引用文字-开始----------------------------
Syntax: worker_cpu_affinity cpumask [cpumask...]
Default: none
Linux only.
With this option you can bind the worker process to a CPU, it calls sched_setaffinity().
For example,
worker_processes     4;
worker_cpu_affinity 0001 0010 0100 1000;
Bind each worker process to one CPU only.
worker_processes     2;
worker_cpu_affinity 0101 1010;
Bind the first worker to CPU0/CPU2, bind the second worker to CPU1/CPU3. [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/nginx%e7%9a%84worker_cpu_affinity%e8%af%a6%e8%a7%a3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nagios冗余设置</title>
		<link>http://www.chengyongxu.com/blog/nagios%e5%86%97%e4%bd%99%e8%ae%be%e7%bd%ae/</link>
		<comments>http://www.chengyongxu.com/blog/nagios%e5%86%97%e4%bd%99%e8%ae%be%e7%bd%ae/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 07:27:14 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[服务器监控]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=483</guid>
		<description><![CDATA[#主监控服务器搬迁后，原来的配置还是留下做个冗余比较好。
#原主监控机ip为10.0.0.52
#新主监控机ip为10.0.0.166
#原监控机上把配置文件都备份一下
#只留下一个被监控机，一个服务

#在新监控机上更改
#先请允许原主监控机监控自己
vi /usr/local/nrpe/etc/nrpe.cfg
#将allowed_hosts=127.0.0.1,10.0.0.166
#更改为
#----------------------------引用文字-开始----------------------------
allowed_hosts=127.0.0.1,10.0.0.52,10.0.0.166
#----------------------------引用文字-结束----------------------------
#再增加对check_nagios命令的定义
vi /usr/local/nagios/etc/nrpe.cfg
#增加下边这行
#----------------------------引用文字-开始----------------------------
command[check_nagios]=/usr/local/nagios/libexec/check_nagios -e 5 -F /usr/local/nagios/var/status.dat -C /usr/local/nagios/bin/nagios
#----------------------------引用文字-结束----------------------------
service nagios reload


#在原监控机上更改
vi hosts.cfg
#----------------------------引用文字-开始----------------------------
define host{
                host_name       10.0.0.166
                alias    [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/nagios%e5%86%97%e4%bd%99%e8%ae%be%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios监控磁盘I/O</title>
		<link>http://www.chengyongxu.com/blog/nagios%e7%9b%91%e6%8e%a7%e7%a3%81%e7%9b%98io/</link>
		<comments>http://www.chengyongxu.com/blog/nagios%e7%9b%91%e6%8e%a7%e7%a3%81%e7%9b%98io/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 03:55:00 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[服务器监控]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=461</guid>
		<description><![CDATA[#官方默认插件中并无此插件，但官方还是提供了这个插件的下载，地址在：
http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check_iostat-%252D-I-2FO-statistics/details

#注意：保证所有被监控机上都安装了sysstat包，并可以执行iostat命令

#下载之后，放在每台被监控机的/usr/local/nagios/libexec/目录下
#然后更改属组，赋予可执行权限
chown nagios:nagios /usr/local/nagios/libexec/check_iostat
chmod 755 !$
#被监控机上更改nrpe的配置文件
vi /usr/local/nagios/etc/nrpe.cfg
#增加下边这两行,如果有更多磁盘，相应增加即可，至于警告和严重警告的值，请适当调整
#----------------------------引用文字-开始----------------------------
command[check_sda_iostat]=/usr/local/nagios/libexec/check_iostat -d sda -w 100 -c 200
command[check_sdb_iostat]=/usr/local/nagios/libexec/check_iostat -d sdb -w 100 -c 200
#----------------------------引用文字-结束----------------------------
#重启服务
service nrpe restart

#打开主监控机上的servicegroups.cfg，我选择的是监控所有机器的I/O，所以在all_hosts组下增加下面一段
#----------------------------引用文字-开始----------------------------
define service{
hostgroup_name       all_hosts
service_description       check_sda_iostat
check_command       check_nrpe!check_sda_iostat
max_check_attempts       4
check_interval       [...]]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/nagios%e7%9b%91%e6%8e%a7%e7%a3%81%e7%9b%98io/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>需要层次论与打麻将</title>
		<link>http://www.chengyongxu.com/blog/%e9%9c%80%e8%a6%81%e5%b1%82%e6%ac%a1%e8%ae%ba%e4%b8%8e%e6%89%93%e9%ba%bb%e5%b0%86/</link>
		<comments>http://www.chengyongxu.com/blog/%e9%9c%80%e8%a6%81%e5%b1%82%e6%ac%a1%e8%ae%ba%e4%b8%8e%e6%89%93%e9%ba%bb%e5%b0%86/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 10:30:39 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[心理学]]></category>
		<category><![CDATA[需要层次]]></category>
		<category><![CDATA[马斯洛]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=458</guid>
		<description><![CDATA[    马斯洛的需要层次理论是经典得再不能经典的心理学理论了，学习心理学的人应该都会多次听到不同的老师在不同的学科谈及这一理论，今天翻看闲书的时候发现北邮电的赵玉平老师也在讲这个理论，不过他用来说明需要层次理论的例子比较有意思，用的是中国人熟知的“打麻将”。
需要层次论的基本观点：
(1)生理的需求。这是人类维持自身生存的最基本要求，包括饥、渴、衣、住、性等方面的要求。
(2)安全的需求。这是人们保障自身安全，避免各种危险和威胁的需求，如避免失业和财产损失、避免职业病的侵袭、解除严酷的监督等方面的需求。
(3)社交的需求。一是爱的需求，即人人都需要伙伴之间、同事之间的关系融洽或保持友谊和忠诚;人人都希望得到爱情，希望爱别人，也渴望接受别人的爱。二是归属的需求，即人都有一种归属于一个群体的感情，希望成为群体中的一员，并相互关心和照顾。感情上的需求比生理上的需求来得细致，它和一个人的生理特性、经历、教育、宗教信仰都有关系。
(4)尊重的需求。人人都希望自己有稳定的社会地位，要求个人的能力和成就得到社会的承认。
(5)自我实现的需求。这是最高层次的需要，它是指实现个人的理想、抱负，尽量发挥个人的能力，完成与自己的能力相称的一切事情的需要。自我实现的需求是在努力挖掘自己的潜力，使自己越来越成为自己所期望的人物。
五种需求像阶梯一样从低到高，按层逐级递升，但这种次序不是完全固定的，可以变化，也有很多例外情况。一般来说，某一层次的需求相对满足了，就会向高一层次发展，追求更高一层次的需求就成为驱使行为的动力。
同一时期，一个人可能有几种需求，但每一时期总有一种需求占支配地位，对行为起决定作用。任何一种需求都不会因为更高层次需求的发展而消失。各层次的需求相互依赖和重叠，高层次的需求发展后，低层次的需求仍然存在，只是对行为影响的程度太小。
用打麻将来说明：
打麻将这一游戏：有的人打麻将是为了赢钱，这是典型的物质需求，是一楼层面的;有的人打麻将只要不输钱就可以，这就是安全需求，上升到了二楼;有的人打麻将是为了哥几个聚在一起热闹热闹，这是社会需求，已经上升到三楼了;有的人打麻将是为了向别人证明自己聪明、牌技好，这个是尊严的需求，是第四楼了;还有的人打麻将不为别的，就为了和牌时候的快感，完成挑战性任务后的内心满足，这就是自我实现了，是五楼的需求。一个游戏可以满足人的五大需求，所以这个游戏一定是有着强大生命力的。我们的管理制度和市场营销方式如果都能设计成这种模式，可以全方位满足各个层面的差异化需求，那一定也可以大行其道、所向无敌。 

原文地址：http://www.xlxcn.net/archives/1710
]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/%e9%9c%80%e8%a6%81%e5%b1%82%e6%ac%a1%e8%ae%ba%e4%b8%8e%e6%89%93%e9%ba%bb%e5%b0%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
