<?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>Cactus Thinking &#187; linux</title>
	<atom:link href="http://www.cactus.org.cn/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cactus.org.cn</link>
	<description>程序是改出来的。</description>
	<lastBuildDate>Thu, 22 Sep 2011 05:13:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debian使用备忘之WIFI配置(WPA2)</title>
		<link>http://www.cactus.org.cn/2010/05/debian-linux-wifi-config-wpa.html</link>
		<comments>http://www.cactus.org.cn/2010/05/debian-linux-wifi-config-wpa.html#comments</comments>
		<pubDate>Sat, 29 May 2010 07:26:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[开发笔记]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.cactus.org.cn/?p=135</guid>
		<description><![CDATA[硬件环境:Thinkpad x61 kc1
Intel 3945 ABG 无线网卡
系统:Debian Lenny 5.0.4
1.安装iwlwifi固件
aptitude install firmware-iwlwifi

2.激活驱动
modprobe iwl3945
3配置interfaces 文件,在系统启动时自动连接wlan
vim /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
pre-up iwconfig wlan0 essid your-ssid
wpa-ssid your-ssid
wpa-psk your-password
参考文档:
http://wiki.debian.org/WiFi/HowToUse
http://wiki.debian.org/iwlwifi
]]></description>
		<wfw:commentRss>http://www.cactus.org.cn/2010/05/debian-linux-wifi-config-wpa.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 命令备忘</title>
		<link>http://www.cactus.org.cn/2009/04/linux-%e5%91%bd%e4%bb%a4%e5%a4%87%e5%bf%98.html</link>
		<comments>http://www.cactus.org.cn/2009/04/linux-%e5%91%bd%e4%bb%a4%e5%a4%87%e5%bf%98.html#comments</comments>
		<pubDate>Tue, 21 Apr 2009 05:06:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[命令]]></category>
		<category><![CDATA[备忘]]></category>

		<guid isPermaLink="false">http://www.cactus.org.cn/2009/04/linux-%e5%91%bd%e4%bb%a4%e5%a4%87%e5%bf%98.html</guid>
		<description><![CDATA[


命令
用途
示例
备注


lftp
多线程下载
lftp -c &#8220;pget -n 10 http://www.python.org/ftp/python/2.6.2/Python-2.6.2.tgz&#8221;



yum groupinstall {LANGUAGE-support}(Red  hat 系列)
安装语言支持
yum groupinstall chinese-support



update-rc.d
(Debian)
系统服务管理
update-rc.d sendmail start 99  2 3 4 5 . stop 99 1 .
update-rc.d sendmail remove
说明: 左边的命令,设置sendmail 在 runlevel 2 3 4 5 启动 优先级为99,再runlevel 1 停止 优先级为99,优先级是0~99的数字,数字越大代表的优先级越低.


rcconf
(Debian)
系统服务管理
rcconf
只能简单的控制服务启用与否,和RedHat,Centos的ntsysv类似


useradd -s /usr/bin/nologin
添加不能登录账号
useradd -s /usr/bin/nologin william



passwd -l
锁定用户
passwd -l william



passwd -u
解锁用户
passwd -u william



sudo su -l
通过sudo切换到root模式




sudo passwd -Sa &#124; awk [...]]]></description>
		<wfw:commentRss>http://www.cactus.org.cn/2009/04/linux-%e5%91%bd%e4%bb%a4%e5%a4%87%e5%bf%98.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Linux下配置Tomcat自动启动的简单方法</title>
		<link>http://www.cactus.org.cn/2008/04/linuxtomcat.html</link>
		<comments>http://www.cactus.org.cn/2008/04/linuxtomcat.html#comments</comments>
		<pubDate>Thu, 10 Apr 2008 18:43:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java世界]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://blog.dating07.com/?p=6</guid>
		<description><![CDATA[1.安装好JDK和Tomcat, 测试可以正常运行Tomcat.
2.在/etc/init.d 目录下创建名为tomcat的文件(如该目录下已经有同名文件, 则改成其他名字), 该文件内容如下:
#!/bin/sh

# chkconfig: 345 88 14# description: Tomcat Daemon

#Change to your Jdk directoryJAVA_HOME=/opt/jdkexport JAVA_HOME

#Change to your Tomcat directoryCATALINA_HOME=/opt/tomcatexport CATALINA_HOME

# Determine and execute action based on command line parameter

case "$1" instart)echo "Starting Tomcat..."sleep 2$CATALINA_HOME/bin/startup.sh;;stop)echo "Shutting down Tomcat..."sleep 2$CATALINA_HOME/bin/shutdown.sh;;*)echo "Usage: $1 {start&#124;stop}";;esacexit 0
其中以下两行必须要出现在文件中:
# chkconfig: 345 88 14        [...]]]></description>
		<wfw:commentRss>http://www.cactus.org.cn/2008/04/linuxtomcat.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

