男人三十 清心寡欲 修养身心
===========================================================
RHCE ZT
===========================================================
RHCE考试AS3的Troubleshooting中,linux 系统不能开机或可能出现的错误情况(第四次修改) 查看全文
mugen 发表于:2007.11.09 11:10 ::分类: ( linux & unix ) ::阅读:(205次) :: 评论 (0)
===========================================================
find and top
===========================================================

Oracle produces many extraneous files: trace files, log files, dump

files, and so on. Unless they are cleaned periodically, they can fill

up the filesystem and bring the database to a halt.

To ensure that doesn't happen, simply search for the files with

extension "trc" and remove them if they are more than three days old. A

simple command does the trick:

find . -name "*.trc" -ctime +3 -exec rm {} ;

To forcibly remove them prior to the three-day limit, use the -f

option.


find . -name "*.trc" -ctime +3 -exec rm -f {} ;

If you just want to list the files:

find . -name "*.trc" -ctime +3 -exec ls -l {} ;

 查看全文
mugen 发表于:2007.11.05 17:03 ::分类: ( linux & unix ) ::阅读:(76次) :: 评论 (0)
===========================================================
rhce相关连接
===========================================================

rhce相关连接

 查看全文
mugen 发表于:2007.10.15 02:00 ::分类: ( linux & unix ) ::阅读:(192次) :: 评论 (0)
===========================================================
RHCE考试大纲
===========================================================

RHCTRHCE必要的知识点

1.考生必须必须掌握以下基本技能,因为它们是RHCTRHCE考试中必考的内容

* use standard command line tools (e.g., ls, cp, mv, rm, tail, cat, etc.) to create, remove, view, and investigate files and directories

* use grep, sed, and awk to process text streams and files

* use a terminal-based text editor, such as vi/vim, to modify text files

* use input/output redirection

* understand basic principles of TCP/IP networking, including IP addresses, netmasks, and gateways

* use su to switch user accounts

* use passwd to set passwords

* use tar, gzip, and bzip2v

* configure an email client on Red Hat Enterprise Linux

* use mozilla and/or links to access HTTP/HTTPS URLs

* use lftp to access FTP URLs

 查看全文

mugen 发表于:2007.10.15 01:50 ::分类: ( linux & unix ) ::阅读:(345次) :: 评论 (0)
===========================================================
hp-ux常用命令
===========================================================

系统维护常用配置文件

1./etc/hosts
主机名字解析文件,提供主机名和IP地址的对应。

2./etc/passwd
口令文件,内容为:
登录用户名:加密口令:用户ID:组ID:保留:初始工作目录:shell路径

3. /etc/group
内容为:
组名:加密密码:组ID:所有属于该组的用户。

4. /etc/profile
如果该文件存在,则每个用户登录时将执行该文件。该文件一般用于设置一些通用环境变量,如果用户的home目录中存在.profile文件,则在执行/etc/profile之后,再执行用户的.profile文件。

5. /etc/inittab
内部初始化之后,系统将启动/etc/init这个deamon进程,使/etc/init进程取得引导序列的控制权。而init进程从文件/etc/inittab(init table,初始化表)取得指示,该文件 的内容控制所有init状态,同时也控制那些已消亡进程的再生。

6. /etc/fstab
系统中可以mount的文件系统的信息。

7. /etc/lvmtab
使用命令:
# strings /etc/lvmtab;查看系统VG和磁盘信息。

8. /etc/rc.config.d/netconf
包含系统名称和网络配置信息,如IP地址、子网掩码和路由信息等。

9. /stand/system
包含系统的驱动程序和子系统信息,内核设备信息和一些系统可调参数信息。

 查看全文
mugen 发表于:2005.04.28 10:32 ::分类: ( linux & unix ) ::阅读:(873次) :: 评论 (0)
===========================================================
hp ux笔记
===========================================================
1.开始使用unix.Unix的两个最常用的版本是:Berkley Distribution(BSD) AT&T System V Release 4(SVR4),多数其它UNIX都是基于这两个版本之一,HP-UNIX是由SVR4发展而来。UNIX操作系统的核心被称为内核,内核是处理用户软件和计算机硬件之间所有通信的一个软件。UNIX用户无法直接同内核直接交互的,而是经常同一个叫UNIX shell的程序打交道,shell是一个命令解释器。最常用的shell:Korn SH Bourne SH CSH POSIX SH(HP-UNIX默认用的shell)Root用户的ID是0,所有拥有了这个ID的用户也就有超级用户的权限。Shell提示符:#表示是超级用户,¥表示是普通用户。口令长度必须是6-8位,并且同时包括字符和数字。口令中至长有2个字符是字母而且至少有一个是数字或特殊字符,如:横杠,下划线,或星号,如果使用超过8个字符的口令,第八个以后的被忽略。命令的历使保存在用户主目录的.sh_history文件中,用户可以通过命令来设定历史条目的数量回调上一个的命令用ESC+K,如用用户想回退多步,只需要每回退一步按一下K鍵。History命令可以回调以前使用过的命令:History –3命令别名:是命令的另外一个名字,方便记忆 如:alias dir=lsshell启动文件登录HP-UX时,有些命令会自动执行并设好环境,这些都是通过shell启动文件来完成,有两种:系统启动文件:是对全部系统用户都通用的任务 /etc/profile用户启动文件:叫做.profile并存放在用户的主目录下,在启动过程中,系统启动文件首先被执行,然后用户的启动文件被执行简单的命令:我在哪儿:pwd当前的目期和时间:date我是谁:whoami所有登录的用户:who显示所有的用户并告诉启动的时间,用户正在做什么:w(相当于uptime)系统名是什么:uname –a打印标签:banner josephxd日历:cal用手册页获得帮助:man cal可以在一行执行多个参数,中间有分号隔开:cal;date  查看全文
mugen 发表于:2005.04.27 22:08 ::分类: ( linux & unix ) ::阅读:(972次) :: 评论 (0)
===========================================================
solaris 的vi使用方法
===========================================================
发现solaris好多地方跟linux下的不太一样.于是google了这篇文档,好好的学习学习了 查看全文
mugen 发表于:2005.04.25 15:21 ::分类: ( linux & unix ) ::阅读:(2736次) :: 评论 (0)
===========================================================
redhat linux 9.0 VSFTP配置大全
===========================================================
redhat linux 9.0 VSFTP配置大全2004-04-23 15:18 pm作者:作者
来自:Linux知识宝库
现载:http://www.douzhe.com/docs/linuxtips/
地址:无名
 查看全文
mugen 发表于:2005.04.19 18:47 ::分类: ( linux & unix ) ::阅读:(575次) :: 评论 (0)
===========================================================
配置telnet服务
===========================================================
Telnet服务的配置步骤如下:

    

    一、安装telnet软件包(通常要两个)

    

    1、 telnet-client (或 telnet),这个软件包提供的是 telnet 客户端程序;

    

    2、 telnet-server ,这个软件包提供的是 telnet 服务器端程序;

    
 查看全文
mugen 发表于:2005.04.19 18:45 ::分类: ( linux & unix ) ::阅读:(780次) :: 评论 (0)
===========================================================
lilo使用指南
===========================================================
lilo使用指南2004-04-23 15:18 pm作者:作者
来自:Linux知识宝库
现载:http://www.douzhe.com/docs/linuxtips/
地址:无名
先整理资料,省的到时候google,一下又找不到.麻烦,贴到blog里面做笔记把
 查看全文
mugen 发表于:2005.04.19 18:37 ::分类: ( linux & unix ) ::阅读:(481次) :: 评论 (0)
===========================================================
linux启动自动进入x window或text的方法
===========================================================

要做笔记,年纪大了,好多记不住,懒的google了

在xterm下输入setup或者Xconfigurator,就进入图形化配置X window界面,自己也就能看懂了。

自动进入文本模式,
修改/etc/inittab中:
id:3:initdefault
若把3改成5,则进入图形化界面。


mugen 发表于:2005.04.19 18:34 ::分类: ( linux & unix ) ::阅读:(702次) :: 评论 (0)
===========================================================
今天解决了vsftp的问题
===========================================================

做了什么事情,马上记下笔记,现在年纪大了,好多事情记不住的。

在vmware上安装了linux rhel 3.0,配置vsftp发现了问题:

[root@localhost vsftpd]# ftp 192.168.10.138
Connected to 192.168.10.138.
220 localhost.localdomain FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: No credentials cache found
GSSAPI error: initializing context
GSSAPI authentication failed
334 Using authentication type KERBEROS_V4; ADAT must follow
KERBEROS_V4 accepted as authentication type
Kerberos V4 krb_mk_req failed: You have no tickets cached
Name (192.168.10.138:root): root
530 Must perform authentication before identifying USER.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

google了一下,发现了解决方案:

If you are using gssftp

open this file:

/etc/xinit.d/gssftp

locate this line:

server_args = -l -a

remove the -a

that is it。

搞定了。以前的公司,linux方面,我们有人配置的,现在新公司,一。我也不认识人,也不知道叫谁去作。二。也不好意思在问这样弱智的问题了。自己搞定把。现在做个笔记了


mugen 发表于:2005.04.18 11:15 ::分类: ( linux & unix ) ::阅读:(681次) :: 评论 (0)
自我介绍
切换风格
新闻聚合
博客日历
文章归档...
最新发表...
最新评论...
博客统计...
Blog信息
网站链接...