??xml version="1.0" encoding="utf-8" standalone="yes"?>久久99久久久精品欧美,一区二区日本视频,动漫成人在线观看http://www.aygfsteel.com/sk8boy/category/4317.htmlzh-cnSat, 15 Sep 2007 19:43:40 GMTSat, 15 Sep 2007 19:43:40 GMT60suseW一个终端下的图片效?/title><link>http://www.aygfsteel.com/sk8boy/archive/2007/09/15/145408.html</link><dc:creator>思?/dc:creator><author>思?/author><pubDate>Sat, 15 Sep 2007 10:58:00 GMT</pubDate><guid>http://www.aygfsteel.com/sk8boy/archive/2007/09/15/145408.html</guid><wfw:comment>http://www.aygfsteel.com/sk8boy/comments/145408.html</wfw:comment><comments>http://www.aygfsteel.com/sk8boy/archive/2007/09/15/145408.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/sk8boy/comments/commentRss/145408.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/sk8boy/services/trackbacks/145408.html</trackback:ping><description><![CDATA[<p>在suse中设|用字符界面启动Q第一个终端下面有Ҏ。今天无意中看到在哪里可以改。记下来?br /> /etc/sysconfig/bootsplash<br /> <br /> ## Path:        System/Boot<br /> ## Description: selects bootsplash graphics theme<br /> ## Type:        string<br /> ## Default:     SuSE-SLES<br /> # Choose the bootsplash theme. It should be based in<br /> # /etc/bootsplash/themes/<br /> THEME="SuSE-SLES"<br /> ## Path:        System/Boot<br /> ## Description: enables/disables bootup graphics<br /> ## Type:        yesno<br /> ## Default:     yes<br /> #<br /> # SPLASH can be set to "no" to turn off the splash-screen on console 1<br /> # at boot time (after kernel load).<br /> #<br /> # SPLASH=no to disable the splash screen<br /> #<br /> # SPLASH=yes to show the splash screen<br /> #<br /> SPLASH="yes"</p><img src ="http://www.aygfsteel.com/sk8boy/aggbug/145408.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/sk8boy/" target="_blank">思?/a> 2007-09-15 18:58 <a href="http://www.aygfsteel.com/sk8boy/archive/2007/09/15/145408.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java~程实现支持中文的Base64~码转换http://www.aygfsteel.com/sk8boy/archive/2007/09/15/145403.html思?/dc:creator>思?/author>Sat, 15 Sep 2007 10:40:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2007/09/15/145403.htmlhttp://www.aygfsteel.com/sk8boy/comments/145403.htmlhttp://www.aygfsteel.com/sk8boy/archive/2007/09/15/145403.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/145403.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/145403.html阅读全文

]]>
test使用帮助http://www.aygfsteel.com/sk8boy/archive/2007/08/12/136141.html思?/dc:creator>思?/author>Sun, 12 Aug 2007 02:38:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2007/08/12/136141.htmlhttp://www.aygfsteel.com/sk8boy/comments/136141.htmlhttp://www.aygfsteel.com/sk8boy/archive/2007/08/12/136141.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/136141.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/136141.htmltest: test [expr]
    Exits with a status of 0 (true) or 1 (false) depending on
    the evaluation of EXPR.  Expressions may be unary or binary.  Unary
    expressions are often used to examine the status of a file.  There
    are string operators as well, and numeric comparison operators.
   
    File operators:
   
        -a FILE        True if file exists.
        -b FILE        True if file is block special.
        -c FILE        True if file is character special.
        -d FILE        True if file is a directory.
        -e FILE        True if file exists.
        -f FILE        True if file exists and is a regular file.
        -g FILE        True if file is set-group-id.
        -h FILE        True if file is a symbolic link.
        -L FILE        True if file is a symbolic link.
        -k FILE        True if file has its `sticky' bit set.
        -p FILE        True if file is a named pipe.
        -r FILE        True if file is readable by you.
        -s FILE        True if file exists and is not empty.
        -S FILE        True if file is a socket.
        -t FD          True if FD is opened on a terminal.
        -u FILE        True if the file is set-user-id.
        -w FILE        True if the file is writable by you.
        -x FILE        True if the file is executable by you.
        -O FILE        True if the file is effectively owned by you.
        -G FILE        True if the file is effectively owned by your group.
        -N FILE        True if the file has been modified since it was last read.
   
      FILE1 -nt FILE2  True if file1 is newer than file2 (according to
                       modification date).
   
      FILE1 -ot FILE2  True if file1 is older than file2.
   
      FILE1 -ef FILE2  True if file1 is a hard link to file2.
   
    String operators:
   
        -z STRING      True if string is empty.
   
        -n STRING
        STRING         True if string is not empty.
   
        STRING1 = STRING2
                       True if the strings are equal.
        STRING1 != STRING2
                       True if the strings are not equal.
        STRING1 < STRING2
                       True if STRING1 sorts before STRING2 lexicographically.
        STRING1 > STRING2
                       True if STRING1 sorts after STRING2 lexicographically.
   
    Other operators:
   
        -o OPTION      True if the shell option OPTION is enabled.
        ! EXPR         True if expr is false.
        EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.
        EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.
   
        arg1 OP arg2   Arithmetic tests.  OP is one of -eq, -ne,
                       -lt, -le, -gt, or -ge.
   
    Arithmetic binary operators return true if ARG1 is equal, not-equal,
    less-than, less-than-or-equal, greater-than, or greater-than-or-equal
    than ARG2.

]]>
SuSE安装Oracle 9i后无法自动启动数据库http://www.aygfsteel.com/sk8boy/archive/2007/07/15/130408.html思?/dc:creator>思?/author>Sun, 15 Jul 2007 10:26:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2007/07/15/130408.htmlhttp://www.aygfsteel.com/sk8boy/comments/130408.htmlhttp://www.aygfsteel.com/sk8boy/archive/2007/07/15/130408.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/130408.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/130408.htmlorarun-1.8-109.15.i586.rpm包,也无法正常启动?br>
后来跟踪了启动的Shell脚本Q最后发现是需要更?ORACLE_HOME/bin/dbstart文g。在该文件中Q定义变量PFILEQ?br>PFILE=${ORACLE_HOME}/dbs/init${ORACLE_SID}.ora
其中Q在Oracle9i中已l通过spfile${ORACLE_SID}.ora。因此,PFILE变量修改为:
PFILE=${ORACLE_HOME}/dbs/spfile${ORACLE_SID}.ora
同时Qؓ了可以在x的时候关闭数据库Q同时在$ORACLE_HOME/bin/dbshut文g中对应的位置也需要修改PFILE文g的定义?br>
另外Q还有一U方法,是生成pfile。用sqlplusq接数据库,
conn / as sysdba
create pfile from spfile;
q样Q就会参?{ORACLE_HOME}/dbs/spfileora9i.ora生成initora9i.oraq个pfile。这样就不用改启动脚本文件了?br>
以上两种Ҏ已经证明都可以正常工作?img src ="http://www.aygfsteel.com/sk8boy/aggbug/130408.html" width = "1" height = "1" />

]]>
自己修改的SuSE下Oracle 10g的启动脚?/title><link>http://www.aygfsteel.com/sk8boy/archive/2007/06/05/122061.html</link><dc:creator>思?/dc:creator><author>思?/author><pubDate>Tue, 05 Jun 2007 01:50:00 GMT</pubDate><guid>http://www.aygfsteel.com/sk8boy/archive/2007/06/05/122061.html</guid><wfw:comment>http://www.aygfsteel.com/sk8boy/comments/122061.html</wfw:comment><comments>http://www.aygfsteel.com/sk8boy/archive/2007/06/05/122061.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/sk8boy/comments/commentRss/122061.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/sk8boy/services/trackbacks/122061.html</trackback:ping><description><![CDATA[在SuSE下,׃SuSEҎ的脚本管理方法,Should-Stop和Default-Stop选项被忽略了。同Ӟ在脚本开始处执行/etc/rc.status脚本Q可以通过调用rc_status -v查启动命令的执行l果q彩色显C出来?br><br>#!/bin/bash<br>#<br># /etc/init.d/oracle<br>#<br>### BEGIN INIT INFO<br># Provides:<br># Required-Start: $network $syslog<br># Should-Start:<br># Required-Stop:<br># Should-Stop:<br># Default-Start: 3 5<br># Default-Stop: 0 1 2 4 6<br># Description: Startup/shutdown script for oracle listener and instance;<br>### END <br>. /etc/rc.status<br>rc_reset<br>        <br>start() <br>{<br>        <br>        #when system stop redhat  check /var/lock/subsys/oracle <br>        #to make sure oracle is running.<br>        touch /var/lock/subsys/oracle<br>        # start tsnlisnter     <br>        echo -n "Start tsnlisnter:"<br>                su - oracle -c "lsnrctl start" >/dev/null 2>/dev/null <br>        rc_status -v<br>        # start database<br>        echo -n "Start Oracle database instance:"<br>        su - oracle -c "echo \"<br>                        CONN / AS SYSDBA<br>                        STARTUP<br>                        exit \"|sqlplus /NOLOG" >/dev/null 2>/dev/null <br>        rc_status -v<br>        # start enterprise manager<br>        echo -n "Start Enterprise Manager:"<br>        su - oracle -c "emctl start dbconsole" >/dev/null 2>/dev/null <br>        rc_status -v<br>        #start isqlplus<br>        echo -n "Start isqlplus"<br>        su - oracle -c "isqlplusctl start">/dev/null 2>/dev/null <br>        rc_status -v<br>}<br>stop()<br>{<br>        #when system stop redhat  check /var/lock/subsys/oracle <br>        #to make sure oracle is running.<br>        rm -rf /var/lock/subsys/oracle<br>        # shutdown database<br>        echo -n "Shutdown Oracle database instance:"<br>        su - oracle -c "echo \"<br>                        CONN / AS SYSDBA<br>                        SHUTDOWN immediate<br>                        exit \"|sqlplus /NOLOG">/dev/null 2>/dev/null<br>        rc_status -v<br>        # stop tsnlisnter<br>        echo -n "Stop tsnlisnter:"<br>                su - oracle -c "lsnrctl stop">/dev/null 2>/dev/null<br>        rc_status -v<br>        # stop enterprise manager<br>        echo -n "Stop Enterprise Manager:"<br>        su - oracle -c "emctl stop dbconsole" <br>        rc_status -v<br>        # stop isqlplus<br>        echo -n "Stop isqlplus:"<br>        su - oracle -c "isqlplusctl stop" <br>        rc_status -v<br>}<br>case "$1" in<br>start)<br>        start<br>        echo "Oracle Start at:" `date` >>/var/log/oracle.log<br>        ;;<br>stop)<br>        stop<br>        echo "Oracle Stop at:" `date` >>/var/log/oracle.log<br>        ;;<br>restart)<br>        echo "Oracle Restart at:" `date` >>/var/log/oracle.log<br>        stop<br>        start<br>        ;;<br>*)<br>        echo "Usage: $0 { start | stop| restart }"<br>        exit 1<br> <br>       ;;<br>esac<br>rc_exit<img src ="http://www.aygfsteel.com/sk8boy/aggbug/122061.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/sk8boy/" target="_blank">思?/a> 2007-06-05 09:50 <a href="http://www.aygfsteel.com/sk8boy/archive/2007/06/05/122061.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>成功上传文g后的自动操作http://www.aygfsteel.com/sk8boy/archive/2006/04/12/40737.html思?/dc:creator>思?/author>Wed, 12 Apr 2006 14:10:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2006/04/12/40737.htmlhttp://www.aygfsteel.com/sk8boy/comments/40737.htmlhttp://www.aygfsteel.com/sk8boy/archive/2006/04/12/40737.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/40737.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/40737.html
l过2天的学习和探索,l于试成功Q期_发现了一些问题,也都一一解决了:Q?img src ="http://www.aygfsteel.com/sk8boy/aggbug/40737.html" width = "1" height = "1" />

]]>
pure-ftpd对虚拟用L支持http://www.aygfsteel.com/sk8boy/archive/2006/04/11/40350.html思?/dc:creator>思?/author>Mon, 10 Apr 2006 16:27:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2006/04/11/40350.htmlhttp://www.aygfsteel.com/sk8boy/comments/40350.htmlhttp://www.aygfsteel.com/sk8boy/archive/2006/04/11/40350.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/40350.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/40350.html 1 Q简?/span>

自从 0.99.2 版本开始, pure-ftpd 开始支持虚拟用戗虚拟用h式十分类?/span> /etc/passwd Q将用户的相关信息,如口令、姓名?/span> uid 、目录等Q存入文件。但是该文g只适用?/span> FTP ?/span>

q意味着Q可以ؓ FTP 讄虚拟用户Q而不需要在pȝ中添加系l用戗同Ӟ可以些用户单独设|配额?/span> ratio 、带宽等限制。很多虚拟用户可以共享同一个系l用L属性,因此些虚拟用户单独创Z个系l用P从而方便管理?/span>

首先Q可以在pȝ中添加相应的用户和组Q如 ftpuser ?/span> ftpgroup 。如Q?/span>

groupadd ftpgroup

useradd -g ftpgroup -d /dev/null -s /etc ftpuser

可以使用 ”pure-pw?/font> 来创拟用戗虚拟用L信息以每个用户一行的方式存放在相应的文g中,其格式如下所C:

<account>:<password>:<uid>:<gid>:<gecos>:<home directory>:<upload bandwidth>:<download bandwidth>:<upload ratio>:<download ratio>:<max number of connections>:<files quota>:<size quota>:<authorized local IPs>:<refused local IPs>:<authorized client IPs>:<refused client IPs>:<time restrictions>

其中Q除了帐受口令?/span> uid ?/span> gid ?/span> home 目录之外Q其它的可以是空倹{?/span>

2 Q创Z个用?/span>

接下来,我们来创Z个新的用戗?/span> pure-pw 的语法规范如下:

pure-pw useradd <login> [-f <passwd file>] -u <uid> [-g <gid>]

      -D/-d <home directory> [-c <gecos>]

      [-t <download bandwidth>] [-T <upload bandwidth>]

      [-n <max number of files>] [-N <max Mbytes>]

      [-q <upload ratio>] [-Q <download ratio>]

      [-r <allow client host>[/<mask>][,<allow client host>[/<mask>]]...]

      [-R <deny client host>[/<mask>][,<deny client host>[/<mask>]]...]

      [-i <allow local host>[/<mask>][,<allow client host>[/<mask>]]...]

      [-I <deny local host>[/<mask>][,<deny local host>[/<mask>]]...]

      [-y <max number of concurrent sessions>]

      [-z <hhmm>-<hhmm>] [-m]

假设我们要创?/span> joe q样一个虚拟用P则可以用如下命令:

pure-pw useradd joe -u ftpuser -d /home/ftpusers/joe

其中Q?/span> -u 虚拟用?/span> joe 同系l用?/span> ftpuser 兌在一赗?/span> -d 参数?/span> joe 只能讉K?/span> home 目录。而如果想让他讉K整个文gpȝQ可以用 -D 选项?/span>

q时Q如?/span> pure-ftpd 启动时加?/span> -j(--createhome) 选项Q则不需要创?/span> /home/ftpuser/joe 目录。系l会在该用户W一ơ登陆时自动创徏?/span>

-z 选项q用用户在一天当中指定的旉D连接服务器。如 -z 0900-1800 Q则该用户只能在上午 9 点到晚上 6 点之间连接服务器?/span>

-r 选项?/span> -R 选项Q可以限制用户从指定 IP 和掩码连入服务器

-y Q用户同一旉的ƈ发连接数?/span> ’?/font> 或?/span> 0 意味着不限?/span>

-f Q默认虚拟用L信息会被存放?/span> /etc/pureftpd.passwd 文g中,通过该选项可以改变该文件的位置?/span>

用户的口令会Ҏpȝ对加密方式的支持情况Q选择一个最安全的方式进行加密?/span>

3 Q更改一个用?/span>

?/span> pure-pw adduser 唯一不同的是Q?/span> pure-pw usermod 不是创徏一个用P而是更改已经存在用户的某些属性?/span>

重置某些属性的语法如下Q?/span>

pure-pw usermod <user> -n '' Q禁用文仉?/span>

pure-pw usermod <user> -N '' Q禁用文件大配?/span>

pure-pw usermod <user> -q '' -Q '' Q禁?/span> ratio

pure-pw usermod <user> -t '' Q禁用下载带宽限?/span>

pure-pw usermod <user> -T '' Q禁用上传带宽限?/span>

pure-pw usermod <user> <-i,-I,-r or -R> '' Q禁?/span> IP qo

pure-pw usermod <user> -z '' Q禁用时间段U束

pure-pw usermod <user> -y '' Q禁用ƈ发数限制

4 Q删除一个用?/span>

删除一个用的命令语法是Q?/span>

pure-pw userdel <login> [-f <passwd file>] [-m]

q时Q用L信息会被从指定的 passwd 文g中删除,但是用户?/span> home 目录会被保留Q需要手工删除?/span>

5 Q改变用户口?/span>

更改一个用户口令的语法是:

pure-pw passwd <login> [-f <passwd file>] [-m]

6 Q显C用户信?/span>

/etc/pureftpd.passwd 文g中记录的信息不方便用L阅读Q因?/span> pure-ftpd 提供了显C用户信息的命o。其语法是:

pure-pw show <login> [-f <passwd file>]

7 Q提交更?/span>

可以通过上面提到的命令,或者以手工方式?/span> /etc/pureftpd.passwd 文gq行修改Q从而创建、修改和删除一个虚拟用户信息。但是,只有提交q些更改Ӟ pure-ftpd 讉K才能生效?/span>

提交更改Q意味着pȝ会根?/span> /etc/pureftpd.passwd Q或者指定的其它文gQ来创徏一?/span> pure-ftpd 可读的二q制格式的文?/span> /etc/pureftpd.pdb 。通常Q通过下面的命令:

pure-pw mkdb

可以通过 /etc/pureftpd.passwd 文g自动创徏 /etc/pureftpd.pbd 文g。但是,如果需要指定特定的文gQ可以通过下面的方式来实现Q?/span>

pure-pw mkdb /etc/accounts/myaccounts.pdb -f /etc/accounts/myaccounts.txt

q时Q没有必要去重启 pure-ftpd 服务Q对虚拟用户q行的更改可以更新。同Ӟ也可以通过 -m 选项Q在?/span> /etc/pureftpd.passwd 文gq行修改的时候自动进行提交?/span>

8 Q打开对虚拟用L支持

使得 pure-ftpd 支持虚拟用户Q需要在~译的时候加入选项 --with-puredb 。这Ӟ可以通过在启动服务是?/span> ?l?/font> 参数来设|。如Q?/span>

/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/pureftpd.pdb &

可以在后収ͼ以自动创拟用?/span> home 目录Q用 puredb 的方式来支持虚拟用户?/span>

9 Q{换系l用?/span>

可以通过如下命oQ将pȝ用户转换拟用P

pure-pwconvert

如果?/span> root 用户q行该命令,pȝ用户的口令一q被转入虚拟用户配置文g。如Q?/span>

pure-pwconvert >> /etc/pureftpd.passwd

10 Q环境变?/span>

默认的情况下Q如果指定了环境变量 PURE_PASSWDFILE Q则虚拟用户?/span> passwd 文g位置p变量的值指定。否则,默认?/span> /etc/pureftpd.passwd 。用P PURE_DBFILE 环境变量用来指定 pdb 文g的位|。默认是 /etc/pureftpd.pdb ?/span>



]]>
Linux-NTFS RPMs Documentationhttp://www.aygfsteel.com/sk8boy/archive/2006/04/06/39585.html思?/dc:creator>思?/author>Thu, 06 Apr 2006 06:49:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2006/04/06/39585.htmlhttp://www.aygfsteel.com/sk8boy/comments/39585.htmlhttp://www.aygfsteel.com/sk8boy/archive/2006/04/06/39585.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/39585.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/39585.html转蝲Q?a >http://www.linux-ntfs.org/content/view/127/63/Q?br />
This documentation should help you choosing the right RPM for your kernel and Linux distribution, and assist you in installing (and testing) it.

Which RPM

It is important to install exactly the same version of NTFS kernel module as the kernel you have installed. Below are some simple instructions to help you find the file you need.

A quick way to find the version is to use the . Save the file and run it. Then go to the install section.

				

    chmod  700  whichrpm
    ./whichrpm


The script, above, just automates what we will do next. First we need to decide which release you have. Run this command:
				

    cat /etc/redhat-release


and you will probably see one of the following responses:
				

    Fedora Core release 
3  (Heidelberg)
    Fedora Core release 
4  (Stentz)
    Fedora Core release 
5  (Bordeaux)
    Red Hat Linux release 
9  (Shrike)


Next find out your kernel version:

				

    uname -r


You should see a response something like one of these:

				

    
2.4.18 - 3    
    
2.4.18 - 17.7 .x
    
2.4.22 - 1.2115 .nptl
    
2.6.8 - 1.521


The version might also have one of the following suffixes:

				

    smp
    bigmem
    hugemem
    BOOT


Note: If the result ends with smp then you have a multi-processor computer (you probably already knew that).

Next find out what sort of processor you have. This command will ask which kernel rpm was installed for you.

Note: If your version number had a suffix, then use it here, e.g. replace kernel with kernel-smp, or kernel-bigmem.

				

    rpm -q --queryformat 
" %{ARCH}\n "  kernel


Most people will have an i686 processor (a recent Pentium computer). Other options are athlon, i586 or i386.

Next download the RPM. Follow the links for

* Fedora 4 (Stentz)
* Fedora 3 (Heidelberg)
* Fedora 2 (Tettnang)
* Fedora 1 (Yarrow)
* RedHat Enterprise 4 (Nahant)
* RedHat Enterprise 3 (Taroon)
* RedHat 9 (Shrike)
* RedHat 8.0 (Psyche)
* RedHat 7.3 (Valhalla)

When you have downloaded the RPM, we will continue with the installation instructions.

Install

You must be root for the rest of the commands. The examples will continue as if you downloaded kernel-ntfs-2.4.18-14.i686.rpm.

Note: Newer NTFS RPMs have names like


    kernel-module-ntfs-
2.6.8-1.541-2.1.17-0.fc.1.2.i586.rpm


Next install the rpm:

    rpm -ihv kernel-ntfs-2.4.18-14.i686.rpm

    Preparing...      ############################### 
[100%]
       
1:kernel-ntfs  ############################### [100%]


There should be no errors, just some '#'-charakters.

Note: newer NTFS RPMs will also print a message telling you if install succeeded.

If something goes wrong see the
Help Section.

This is the only command we actually needed, but we'll go on and test what we have done.

Next load the kernel module


    /sbin/modprobe ntfs


There should be no output. If there are a lot of error messages see the Help Section.

The next command, dmesg prints the kernel logs. We search them for NTFS using grep.


    dmesg | grep NTFS

    NTFS driver v1
.1.22 [Flags: R/O MODULE]


We can now check that the kernel really understands NTFS. The output may vary slightly, but you are looking for the entry ntfs.


    cat /proc/filesystems

    nodev   rootfs
    nodev   bdev
    nodev   proc
    nodev   sockfs
    nodev   tmpfs
    nodev   shm
    nodev   pipefs
            ext3
            ext2
    nodev   ramfs
    nodev   devpts
            ntfs


 

Mount

Mounting an NTFS Volume is covered in more detail in Section 4 of the Linux-NTFS FAQ (in the Wiki).

First you need to know which device your NTFS Volume is on and you need to create a directory as a mount point.

    /sbin/fdisk -l


The output might look like:

    Disk /dev/hda: 64 heads, 63 sectors, 4465 cylinders
    Units = cylinders of 4032 * 512 bytes

       Device Boot    Start       End    Blocks   Id  System
       /dev/hda1             1      2125   4283968+  07  NTFS/HPFS
       /dev/hda2          2126     19851  35735616   0f  Win95 Ext'd (LBA)
       /dev/hda5   *      2126      4209   4201312+  83  Linux
       /dev/hda6          4210      4465    516064+  82  Linux swap
          

    mkdir /mnt/windows
    mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222
    ls -l /mnt/windows

    ...
    -r-xr--r-- 1 root root  9719 Aug 24 1996 ansi.sys
    -r-xr--r-- 1 root root 15252 Aug 24 1996 attrib.exe
    -r-xr--r-- 1 root root 28096 Aug 24 1996 chkdsk.exe
    -r-xr--r-- 1 root root  5175 Aug 24 1996 choice.com
    ...


Hopefully everything is working for you now.

Note: Now, please read the NTFS FAQ (Frequently Asked Questions, in the Wiki), especially if you want to know:

* How to change the owner or permissions of the mounted partition (Section 4.9) * How to have Linux mount the partition automatically at boot time (Section 4.10)

Uninstall

If you wish to remove the NTFS RPM, first list all the RPMs with ntfs in their name. You output might look something like this:

    rpm -qa | grep -i ntfs

    kernel-module-ntfs-2.6.9-1.667smp-2.1.20-0.fc.1.2


Then, cut and paste the name into the rpm erase command:

    rpm -e kernel-module-ntfs-2.6.9-1.667smp-2.1.20-0.fc.1.2


]]>
媒体服务器Helix安装http://www.aygfsteel.com/sk8boy/archive/2006/04/04/39166.html思?/dc:creator>思?/author>Tue, 04 Apr 2006 06:39:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2006/04/04/39166.htmlhttp://www.aygfsteel.com/sk8boy/comments/39166.htmlhttp://www.aygfsteel.com/sk8boy/archive/2006/04/04/39166.html#Feedback3http://www.aygfsteel.com/sk8boy/comments/commentRss/39166.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/39166.html      Z充分教研室服务器的资源,打算在服务器上安装一个流媒体Ҏpȝ。ؓ此,选择使用Real公司的Helix产品。只要有合适的LicenseQHelix可以支持l大多数的流媒体格式Q包括:
RealNetworks:          RealAudio (.rm, .ra), RealVideo (.rm, .rmvb), RealPix (.rp),RealText (.rt), Multi-Rate Container (.mrc)
Macromedia:             Flash (.swf)
Microsoft:                 Windows Media (.asf, .wma, .wmv)
Apple:                      QuickTime (.mov)
Standards-Based:      MPEG-4, MP3
Image Formats:         GIF (.gif), JPEG (.jpg, jpeg), PNG (.png)
Other:                      AU (.au), AIFF (.aif, .ief), WAV (.wav)

      教研室的服务器安装的是Fedora Core 4 x86_64pȝQ开始只扑ֈ了Helix Server 9.0.2.794。安装之后,q行时提C错误:

* Heartbeat Failure 1 (Step 3)

-------------------------------------------------------------------------------
*** Helix Server Heartbeat Failure Report
When: 04-Apr-06 14:09:41
Environment: linux-2.2-libc6-i586-server, , 9.0.2.794
* Heartbeat Failure 2 (Step 3)

-------------------------------------------------------------------------------
*** Helix Server Heartbeat Failure Report
When: 04-Apr-06 14:10:04
Environment: linux-2.2-libc6-i586-server, , 9.0.2.794
* Heartbeat Failure 3 (Step 3)


Helix Server not responding normally...
Heartbeat check disabled
* Heartbeat Failure 4 (Step 3)
* Heartbeat Failure 5 (Step 3)
* Heartbeat Failure 6 (Step 3)
* Heartbeat Failure 7 (Step 3)

在网上找了很多相关的资料Q都没解册个问题。后来考虑可能时系l版本的问题Q于是下载了Helix Server 11.0.1.1884。在q个版本自带的文档中介绍了遇Cq问题时Q可以在配置文gl尾加入如下3行代码:
<List Name="IPBindings">?br />      <Var Address_01="any"/>
</List>
其中Qany指得是服务器的IP地址。但是,按照q种方式修改Q在我们的服务器上依然存在上面的问题Q不知道其它版本的Linuxpȝ是否可以解决。遇到相同问题的人可以尝试一下这U办法?br />
         ?1q个版本中,启动时已l不会出现这个问题了。但是当服务启动了之后,我在本地计算Z无法讉K。但是在服务器上通过localhost可以正常使用。这个问题可能是防火墙的问题Q于是加入了相应的规则,但是依然无法讉K。后来,l过阅资料Q得知如果是服务器上有多个网卡,需要对其进行绑定。否则,只能通过localhost来访问。原来是q样Q在服务器上通过览器,在管理员界面加入了相应的规则。重启服务,哈哈Q终于可以访问了Q?br />
         最后,可以在sample面Ҏ持的媒体格式进行测试。在试的时候,q有一些小的插曌Ӏ因为我们现在多Ch用的是暴风媄韻I像我根本没有安装realplayer。所以,开始是出现rmvb格式的媒体无法观看的问题。后来重新安装了realoneplayer之后解决了上q问题。另外一个让我弄了一个多时的问题是Q无法播放MP3格式的文件。最后,把用来播放MP3的插件——mp3fformat.so的文件从Plugins目录UdQ重启系l,再移入,重启pȝ。后来就可以播放了。具体原因还不知道ؓ什么:Q不怎么P最后是大功告成了,可以正常使用了?br />
         接下来的d是讄加蝲点,使用ftp目录中的媒体来供教研室的同学讉K了?br />
PSQHelixg不支持中文,所以接下来可能要作一件事情,是如何中文文件名可以被用?/p>

]]>
Linux常用命ohttp://www.aygfsteel.com/sk8boy/archive/2006/03/31/38423.html思?/dc:creator>思?/author>Fri, 31 Mar 2006 03:19:00 GMThttp://www.aygfsteel.com/sk8boy/archive/2006/03/31/38423.htmlhttp://www.aygfsteel.com/sk8boy/comments/38423.htmlhttp://www.aygfsteel.com/sk8boy/archive/2006/03/31/38423.html#Feedback0http://www.aygfsteel.com/sk8boy/comments/commentRss/38423.htmlhttp://www.aygfsteel.com/sk8boy/services/trackbacks/38423.htmldmesg   查看启动信息
chkconfig   配置启动信息
setup         囑Ş化的安装配置信息

makewhatis    为man手册徏立烦?br />whatis            以完整字W匹配的方式查询man手册?br />apropos         查询man手册?br />
updatedb      建立和更新slocate的数据库
slocate         以更安全的方式向用户提供在整个文件系l中搜烦有权限的文g
locate            slocate的符可接,在GNU Linux?br />whereis         定位源文件、二q制文g和手册页

rpm -ivh      安装RPM?br />rpm -e         删除RPM?br />rpm -qpl      RPM包中的文件内?br />rpm -qa      查询pȝ中已l安装的RPM包信?br />
ntpdate -u    Ҏ指定|络旉服务器的旉更新pȝ旉

mount -t vfat -o CHARSET=cp936
                     可以昄Windown FAT32pȝ中的中文



]]>
վ֩ģ壺 | | ʡ| ɳ| ʹ| | ͼ| | | | ɽ| | | ¡| ̩| °Ͷ| ɳ| ɽ| | | ƽ| ɳ| ɽ| ӽ| | | | Ȫ| Ͽ| ֶ| Ƥɽ| Ϻӿ| | | | | | | | | ɫ|