﻿<?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>Gavin&#039;s Blog &#187; Unix/Linux</title>
	<atom:link href="http://laigw.name/cat/tech/unix-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://laigw.name</link>
	<description>Keep it simple, stupid. Simplicity is beauty.</description>
	<lastBuildDate>Sun, 29 Jan 2012 07:14:51 +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>Linux configure 参数解释</title>
		<link>http://laigw.name/post/429.html</link>
		<comments>http://laigw.name/post/429.html#comments</comments>
		<pubDate>Fri, 08 Jul 2011 08:19:18 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://laigw.name/?p=429</guid>
		<description><![CDATA[      Linux环境下的软件安装，并不是一件容易的事情；如果通过源代码编译后再安装，当然事情就更为复杂一些；现在安装各种软件的教程都非常普遍；但万变不离其中，对基础知识的扎实掌握，安装各种软件的问题就迎刃而解了。Configure脚本配置工具就是基础之一，它是autoconf的工具的基本应用。
　　
　　与一些技巧相比，Configure显得基础一些，当然使用和学习起来就显得枯燥乏味一些，当然要成为高手，对基础的熟悉不能超越哦。
　　
　　为此我转载了一篇关于Configure选项配置的详细介绍，供大家参考。

　 　&#8217;configure&#8217;脚本有大量的命令行选项.对不同的软件包来说,这些选项可能会有变化,但是许多基本的选项是不会改变的.带上&#8217;&#8211;help&#8217;选 项执行&#8217;configure&#8217;脚本可以看到可用的所有选项.尽管许多选项是很少用到的,但是当你为了特殊的需求而configure一个包时,知道他们的 存在是很有益处的.下面对每一个选项进行简略的介绍:
&#8211;cache-file=FILE
　　&#8217;configure&#8217;会在你的系 统上测试存在的特性(或者bug!).为了加速随后进行的配置,测试的结果会存储在一个cache file里.当configure一个每个子树里都有&#8217;configure&#8217;脚本的复杂的源码树时,一个很好的cache file的存在会有很大帮助.
&#8211;help
　　输出帮助信息.即使是有经验的用户也偶尔需要使用使用&#8217;&#8211;help&#8217;选项,因为一个复杂的项目会包含附加的选项.例如,GCC包里的&#8217;configure&#8217;脚本就包含了允许你控制是否生成和在GCC中使用GNU汇编器的选项.
&#8211;no-create
　　&#8217;configure&#8217;中的一个主要函数会制作输出文件.此选项阻止&#8217;configure&#8217;生成这个文件.你可以认为这是一种演习(dry run),尽管缓存(cache)仍然被改写了.
&#8211;quiet
&#8211;silent
　 　当&#8217;configure&#8217;进行他的测试时,会输出简要的信息来告诉用户正在作什么.这样作是因为&#8217;configure&#8217;可能会比较慢,没有这种输出的话 用户将会被扔在一旁疑惑正在发生什么.使用这两个选项中的任何一个都会把你扔到一旁.(译注:这两句话比较有意思,原文是这样的:If there was no such output, the user would be left wondering what is happening. By using this option, you too can be left wondering!)
&#8211;version
　　打印用来产生&#8217;configure&#8217;脚本的Autoconf的版本号.
&#8211;prefix=PEWFIX
　 　&#8217;&#8211;prefix&#8217;是最常用的选项.制作出的&#8217;Makefile&#8217;会查看随此选项传递的参数,当一个包在安装时可以彻底的重新安置他的结构独立部分. 举一个例子,当安装一个包,例如说Emacs,下面的命令将会使Emacs Lisp file被安装到&#8221;/opt/gnu/share&#8221;:
$ ./configure &#8211;prefix=/opt/gnu
&#8211;exec-prefix=EPREFIX
　　与&#8217;&#8211;prefix&#8217;选项类似,但是他是用来设置结构倚赖的文件的安装位置.编译好的&#8217;emacs&#8217;二进制文件就是这样一个问件.如果没有设置这个选项的话,默认使用的选项值将被设为和&#8217;&#8211;prefix&#8217;选项值一样.
&#8211;bindir=DIR
　　指定二进制文件的安装位置.这里的二进制文件定义为可以被用户直接执行的程序.
&#8211;sbindir=DIR
　　指定超级二进制文件的安装位置.这是一些通常只能由超级用户执行的程序.
&#8211;libexecdir=DIR
　　指定可执行支持文件的安装位置.与二进制文件相反,这些文件从来不直接由用户执行,但是可以被上面提到的二进制文件所执行.
&#8211;datadir=DIR
　　指定通用数据文件的安装位置.
&#8211;sysconfdir=DIR
　　指定在单个机器上使用的只读数据的安装位置.
&#8211;sharedstatedir=DIR
　　指定可以在多个机器上共享的可写数据的安装位置.
&#8211;localstatedir=DIR
　　指定只能单机使用的可写数据的安装位置.
&#8211;libdir=DIR
　　指定库文件的安装位置.
&#8211;includedir=DIR
　　指定C头文件的安装位置.其他语言如C++的头文件也可以使用此选项.
&#8211;oldincludedir=DIR
　　指定为除GCC外编译器安装的C头文件的安装位置.
&#8211;infodir=DIR
　　指定Info格式文档的安装位置.Info是被GNU工程所使用的文档格式.
&#8211;mandir=DIR
　　指定手册页的安装位置.
&#8211;srcdir=DIR
　　这个选项对安装没有作用.他会告诉&#8217;configure&#8217;源码的位置.一般来说不用指定此选项,因为&#8217;configure&#8217;脚本一般和源码文件在同一个目录下.
&#8211;program-prefix=PREFIX
　 　指定将被加到所安装程序的名字上的前缀.例如,使用&#8217;&#8211;program-prefix=g&#8217;来configure一个名为&#8217;tar&#8217;的程序将会使安装 的程序被命名为&#8217;gtar&#8217;.当和其他的安装选项一起使用时,这个选项只有当他被`Makefile.in&#8217;文件使用时才会工作.
&#8211;program-suffix=SUFFIX
　　指定将被加到所安装程序的名字上的后缀.
&#8211;program-transform-name=PROGRAM
　　这里的PROGRAM是一个sed脚本.当一个程序被安装时,他的名字将经过`sed -e PROGRAM&#8217;来产生安装的名字.
&#8211;build=BUILD
　　指定软件包安装的系统平台.如果没有指定,默认值将是&#8217;&#8211;host&#8217;选项的值.
&#8211;host=HOST
　　指定软件运行的系统平台.如果没有指定,将会运行`config.guess&#8217;来检测.
&#8211;target=GARGET
　　指定软件面向(target to)的系统平台.这主要在程序语言工具如编译器和汇编器上下文中起作用.如果没有指定,默认将使用&#8217;&#8211;host&#8217;选项的值.
&#8211;disable-FEATURE
　　一些软件包可以选择这个选项来提供为大型选项的编译时配置,例如使用Kerberos认证系统或者一个实验性的编译器最优配置.如果默认是提供这些特性,可以使用&#8217;&#8211;disable-FEATURE&#8217;来禁用它,这里&#8217;FEATURE&#8217;是特性的名字.例如:
$ ./configure &#8211;disable-gui
-enable-FEATURE[=ARG]
　　相反的,一些软件包可能提供了一些默认被禁止的特性,可以使用&#8217;&#8211;enable-FEATURE&#8217;来起用它.这里&#8217;FEATURE&#8217;是特性的名字.一个特性可能会接受一个可选的参数.例如:
$ ./configure &#8211;enable-buffers=128
`&#8211;enable-FEATURE=no&#8217;与上面提到的&#8217;&#8211;disable-FEATURE&#8217;是同义的.
&#8211;with-PACKAGE[=ARG]
　 [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/429.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VSFTP的安装和配置过程</title>
		<link>http://laigw.name/post/316.html</link>
		<comments>http://laigw.name/post/316.html#comments</comments>
		<pubDate>Tue, 07 Apr 2009 13:11:37 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[VSFTP]]></category>
		<category><![CDATA[安装配置]]></category>

		<guid isPermaLink="false">http://laigw.name/?p=316</guid>
		<description><![CDATA[ 本人在Linux下安装vsftp的过程中，参考了下面整个文档。该文档来自vsftp官方的在线文档(ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.5/INSTALL)

INSTALL
=======
This file details how to build and install / run vsftpd from the vsftpd
distribution .tar.gz file.
Step 1) Build vsftpd.
Switch to the directory created when you unpacked the vsftpd .tar.gz file.
e.g.:
cd vsftpd-1.1.2
edit &#8220;builddefs.h&#8221; to handle compile-time settings (tcp_wrappers build,
etc).
Just type &#8220;make&#8221; (and mail me to fix it if it doesn&#8217;t build  .
This should produce [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/316.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slackware 常见的46个问题(链接版)</title>
		<link>http://laigw.name/post/304.html</link>
		<comments>http://laigw.name/post/304.html#comments</comments>
		<pubDate>Sat, 07 Feb 2009 03:20:46 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Slackware 常见问题]]></category>

		<guid isPermaLink="false">http://laigw.name/?p=304</guid>
		<description><![CDATA[Slackware 常见的46个问题(链接版)
前言：该文是转自Slackware linux常见的46个问题(部分也适合于其他linux发行版)，经本人编辑，加入了目录链接，使更便于阅读。
    用了很长时间的linux，最喜欢的发行版就是slackware，现在一直都用这个了，用slackware 也遇到了不少问题，一些问题在这里找到了答案，还有一些问题在google或者其他地方，比如inuxquestions.org上面找到的答案，还有一些，自己找的解决方法，另外一些，比如43-45个问题，是在学习工作的时候为了方便管理系统，而摸索出来的东西，在这里整理出来，如有不对的地方，请大家指正。大部分解决方法来源于网上，积众人之智慧与经验，若有侵权之处，还请多多谅解。
1.slackware 9 普通用户不能访问mount的分区问题
2.how to Config X?
3.Slackware的自动载入模块配置文件在那里? 
4.Slackware9如何让普通用户也可以使用光驱？
5.如何加载中文系统？
6.系统关机的时候不能自动断电的问题
7.设置slackware命令行(控制台，console，字符界面)的字体
8.How do I make a Slackware bootdisk with this new kernel I made?
9.怎样使终端显示带颜色？
10.slackware9.0可以用电源键直接关机？
11.如何配制服务？
12.为什么~/.bashrc文件不起作用？
13.slackware9中gnome的更好汉化方法
14.Slackware下mplayer菜单乱码,怎么解决? 
15.在kde下调用gnome的程序的时候，那些gnome的程序上面的字体很
16。为什么我安装不起cce?
17.如何系统启动的时候运行xfs服务？(运行xfs之后才可以运行x,使用桌面先要启动这个)
18.非root用户在slackware下运行apache ？
19.进入linux单用户模式
20.看看谁再用设备
21.查看软件包文件的安装位置 
22.手动启用和禁用网卡 
23.如何解决slackware开机自动load 8139cp模块? 
24.slackware9怎么制作启动盘？
25.为什么我登陆console的时候名言没有了？
26.如何设置启动桌面环境?
27.如何启动默认安装的mysqld？
28.为什么我的系统安装完后没有出现引导界面？
29.为什么我安装系统的时候的lilo装不上？
30.如何从Dos引导slackware linux？
31.为什么我的系统启动的时候，每次都要选择显示模式？
32.为什么用startx进入图形界面后，再logout屏幕会黑屏？
33.You have mail,where is the mail ?
34.为什么我的proftpd服务器运行不起？
35.为什么我的gnome经常死机，或者屏幕冻结？或者鼠标用不了？
36.请问安装软件的时候如何用patch打补丁(比如给内核打补丁)？
37.请问我需要把一个可执行文件变成可以用记事本打开的文件，如何编码？
38.请问如何加载优盘？如何使用ntfs分区？
39.请问如何配置桌面的分辨率和显示模式？
40.请问为什么我的系统声音出不来？如何配置声音？
41.请问为什么启动机器的时候，显示一堆一堆的modprobe的错误？(failed to &#8230;.)
42.请问如何设置DNS?
43.请问如何在系统中快速查找某个文件？
44.请问我没有用updatedb这个命令建立数据库，如何查找系统中的文件？
45.请问如何在我的计算机中查找含有某个字符串的文件？
46. why i couldn&#8217;t lock my screen ?

1.slackware 9 普通用户不能访问mount的分区问题
这是我的fstab的内容：
/dev/hda8 swap swap defaults 0 0
/dev/hda9 [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/304.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slackware下安装配置CVSweb</title>
		<link>http://laigw.name/post/82.html</link>
		<comments>http://laigw.name/post/82.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:58:58 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[CVSWeb]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=82</guid>
		<description><![CDATA[CVSweb就是CVS的WEB界面，可以大大提高程序员定位修改的效率:
使用的样例可以看：http://www.freebsd.org/cgi/cvsweb.cgi
1、系统环境
操 作 系 统 ：slackware 12.0
CVSweb版本 ：3.0.6
Apache版本 ：2.2.4(slackware 12.0默认)
说 明 ：以下说明中，&#8221;#&#8221;表示超级用户运行的命令，&#8221;$&#8221;表示用户&#8221;user&#8221;运行的命令，其它表示命令内容。
2、假定
2.1、Apache配置(slackware 12.0默认)：

配置文件 ：/etc/httpd/httpd.conf
DocumentRoot : /srv/httpd/htdocs/
cgi directory : /srv/httpd/cgi/
2.2、安装用户为pub，其根目录为/home/pub/
2.3、安装CVSweb之前，要确保CVS已经安装好(安装方法可参考：http://lagvin.bokee.com/viewdiary.15620466.html)
3、安装
3.1、下载CVSweb(当前最新版本是3.0.6)
$cd ~
$wget http://people.freebsd.org/~scop/cvsweb/cvsweb-3.0.6.tar.gz
3.2、解压
$tar zxvf cvsweb-3.0.6.tar.gz
3.3、把配置文件cvsweb.conf复制到apache的配置文件所在目录
$cd cvsweb-3.0.6
#cp cvsweb.conf /etc/httpd/
3.4、把cvsweb.cgi复制到apache的cgi-bin目录的cvsweb子目录下
#cd /srv/httpd/cgi-bin/
#mkdir cvsweb
#cp /home/pub/cvsweb-3.0.6/cvsweb.cgi ./cvsweb/
3.5、在DocumentRoot下创建cvsweb的目录
#mkdir /srv/httpd/htdocs/cvsweb
3.6、放置好cvsweb的icons和css目录
#cp -fr /home/pub/cvsweb-3.0.6/icons/ /srv/httpd/htdocs/cvsweb/
#cp -fr /home/pub/cvsweb-3.0.6/css/ /srv/httpd/htdocs/cvsweb/
4、配置
4.1、cvsweb.cgi的配置
4.1.1、设置CVS资源库
#vi /etc/httpd/cvsweb.conf
查找@CVSrepositories，找到如下段落：
#
# &#8217;symbolic_name&#8217; =&#62; ['Name to display', '/path/to/cvsroot']
#
@CVSrepositories = (
&#8216;local&#8217; =&#62; ['Local Repository', '/var/cvs'],
# &#8216;freebsd&#8217; =&#62; ['FreeBSD', '/var/ncvs'],
# &#8216;openbsd&#8217; =&#62; [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/82.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux管理、使用点滴</title>
		<link>http://laigw.name/post/79.html</link>
		<comments>http://laigw.name/post/79.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:56:55 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Linux操作]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=79</guid>
		<description><![CDATA[1、添加用户并决定是否将之加入root用户组
   在一般情况下，一般用户通过执行“su -”命令、输入正确的root密码，可以登录为root用户来对系统进行管理员级别的配置。但是，为了更进一步加强系统的安全性，有必要建立一个管理员的 组，只允许这个组的用户来执行“su -”命令登录为root用户，而让其他组的用户即使执行“su -”、输入了正确的root密码，也无法登录为root用户。在UNIX下，这个组的名称通常为“wheel”。

[root@sample ~]# useradd test 　         ← 新增用户test
[root@sample ~]# usermod -G wheel test 　← 将一般用户 test 加在管理员组wheel组中
[root@sample ~]# vi /etc/pam.d/su 　     ← 打开这个配置文件
#auth required /lib/security/$ISA/pam_wheel.so use_uid 　     ← 找到此行，去掉行首的“#”
auth required /lib/security/$ISA/pam_wheel.so use_uid　  [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/79.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bourne Shell及shell编程</title>
		<link>http://laigw.name/post/76.html</link>
		<comments>http://laigw.name/post/76.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:55:19 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Bourne Shell]]></category>
		<category><![CDATA[Shell编程]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=76</guid>
		<description><![CDATA[来源：http://www.wanglimin.com/Tutorial/HP-UNIX/DOCS/shell01.htm
介绍：Bourne Shell 基础及其他很多有用的特性，shell编程及组织。 
主要内容：
.shell基础 基本介绍，环境，选项，特殊字符
.shell变量 用户定义变量，环境变量，位置变量(shell 参数)
.shell script编程
条件测试，循环及重复控制
.shell定制

1.shell基础知识
作者：Stephen Bourne 在Bell实验室开发
建议：man sh 查看相关UNIX上的改进或特性 
(1)shell提示符及其环境
/etc/passwd文件
提示符：$
/etc/profile $HOME/.profile
(2)shell执行选项
-n 测试shell script语法结构，只读取shell script但不执行
-x 进入跟踪方式，显示所执行的每一条命令，用于调度
-a Tag all variables for export
-c &#8220;string&#8221; 从strings中读取命令
-e 非交互方式
-f 关闭shell文件名产生功能
-h locate and remember functions as defind
-i 交互方式
-k 从环境变量中读取命令的参数
-r 限制方式
-s 从标准输入读取命令
-t 执行命令后退出(shell exits)
-u 在替换中如使用未定义变量为错误
-v verbose,显示shell输入行 
这些选项可以联合使用，但有些显然相互冲突，如-e和-i. 
(3)受限制shell(Restircted Shell)
sh -r 或 /bin/rsh 
不能执行如下操作：cd, 更改PATH,指定全路径名，输出重定向，因此可以提供一个较
好的控制和安全机制。通常rsh用于应用型用户及拨号用户，这些用户通常是看不到提
示符的。通常受限制用户的主目录是不可写的。 
不足：如果用户可以调用sh,则rsh的限制将不在起作用，事实上如果用户在vi及more
程序中调用shell,而这时rsh的限制将不再起作用。 
(4)用set改变 shell选项
用户可以在$提示符下用set命令来设置或取消shell的选项。使用-设置选项，+取消相应
选项，大多数UNIX系统允许a,e,f,h,k,n,u,v和x的开关设置/取消。 
set -xv
启动跟踪方式;显示所有的命令及替换，同样显示输入。
set -tu
关闭在替换时对未定义变量的检查。 [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/76.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache服务器配置</title>
		<link>http://laigw.name/post/73.html</link>
		<comments>http://laigw.name/post/73.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:47:45 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=73</guid>
		<description><![CDATA[Apache服务器的设置文件位于/usr/local/etc/apache目录下，传统上使用三个配置文件httpd.conf, access.conf和srm.conf，来配置Apache服务器的行为。httpd. conf提供了最基本的服务器配置，是对守护程序httpd如何运行的技术描述；srm.conf是服务器的资源映射文件，告诉服务器各种文件的MIME 类型，以及如何支持这些文件；　　 
access.conf用于配置服务器的访问权限，控制不同用户和计算机的访问限制；这三个配置文件控制着服务器的各个方面 的特性，因此为了正常运行服务器便需要设置好这三个文件。除了这三个设置文件之外，Apache还使用mime.types文件用于标识不同文件对应的MIME类型， magic文件设置不同MIME类型文件的一些特殊标识，使得Apache服务器从文档后缀不能判断出文件的MIME 类型时，能通过文件内容中的这些特殊标记来判断文档的MIME类型。


bash-2.02$ ls -l /usr/local/etc/apache
total 100
-rw-r–r–   1 root  wheel    348 Apr 16 16:01 access.conf
-rw-r–r–   1 root  wheel    348 Feb 13 13:33 access.conf.default
-rw-r–r–   1 root  wheel  30331 May 26 08:55 httpd.conf
-rw-r–r–   1 [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/73.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slackware下CVS服务器的建立和配置</title>
		<link>http://laigw.name/post/69.html</link>
		<comments>http://laigw.name/post/69.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:29:32 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[CVS]]></category>
		<category><![CDATA[CVS服务器]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=69</guid>
		<description><![CDATA[一、系统环境：
操作系统：slackware 11.0
CVS版本：1.11.22，slackware 11.0下默认的版本
Shell  ：BASH
说明  ：以下说明中，&#8221;root#&#8221;表示超级用户运行的命令，&#8221;user$&#8221;表示用户&#8221;user&#8221;运行的命令，其它表示命令内容。

二、CVS服务器的安装：
2.1、建立用户组cvs：
root# groupadd cvs
2.2、建立cvs组的用户cvsroot以及其所属的目录：
root# useradd -g cvs -G cvs -d /home/cvsroot cvsroot
2.3、为用户cvsroot添加密码：
root# passwd cvsroot
root# &#60;password&#62;
2.4、改变/home/cvsroot的目录属性：
root# chmod -R 775 /home/cvsroot
2.5、改变用户登陆身份：
root# su cvsroot
root# &#60;password&#62;
2.6、创建资源库(repository)目录(这里创建两个: project和test)
cvsroot$ cd ~
cvsroot$ mkdir test
cvsroot$ mkdir project
2.7、初始化资源库，使之成为CVS的respository：
cvsroot$ cvs -d /home/cvsroot/test init 
cvsroot$ cvs -d /home/cvsroot/project init
cvsroot$ chmod -R 775 ./test/ ./project
2.8、退出当前登陆用户cvsroot，切换到root用户身份：
cvsroot$ exit
2.9、建立CVS服务启动文件，在Slackware下默认使用inetd方式
root# vi /etc/inetd.conf
在文件尾添加：
# cvs server
cvspserver stream tcp [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/69.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在CentOS 4.4 下安装配置VNC</title>
		<link>http://laigw.name/post/66.html</link>
		<comments>http://laigw.name/post/66.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 04:50:58 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[VNC]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=66</guid>
		<description><![CDATA[1. 检查vnc客户端和服务器是否已经安装在你的系统中：
[gavin@centos ~]$ rpm -q vnc vnc-server
package vnc is not installed
vnc-server-4.0-8.1
2. 将用户名称加入到配置文件：

(注：这里的“用户名”是指linux系统用户的名称)
[gavin@centos ~]# vi /etc/sysconfig/vncservers
#
# Uncomment the line below to start a VNC server on display :1
# as my &#8216;myusername&#8217; (adjust this to your own).  You will also
# need to set a VNC password; run &#8216;man vncpasswd&#8217; to see how
# to do that.
#
# DO [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/66.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS下不能启动X问题的解决</title>
		<link>http://laigw.name/post/63.html</link>
		<comments>http://laigw.name/post/63.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 04:46:53 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[X-Window]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=63</guid>
		<description><![CDATA[之前为了在CentOS下配置服务，删掉了很多默认启动服务，机器重启后发现X启动不了了，出现如下信息:

[root@centos gavin]# startx
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-42.ELsmp i686 [ELF]
Current Operating System: Linux centos.loboltd.com 2.6.9-42.EL #1 Sat Aug 12 09:17:58 CDT 2006 i686
Build Date: 22 August 2006
Build Host: build-i386
        Before reporting problems, check http://wiki.X.Org
 [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/63.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

