hp 9000日常维护手册
目录
前言 2
第一章 Fundamental of HP-UNIX system.. 2 一、Some beginning commands. 2 二、Basic file system commands. 3 三、What can we do with files?.... 3 四、File permissions and access. 3 五、shell的基础知识.... 4 六、shell的高级特征.... 4 七、引用.... 5
八、输入和输出重定向.... 5 九、使用网络服务.... 6 十、进程控制.... 6 十一、Shell编程.... 6 十二、shell编程—分支.... 7 十三、Shell编程—循环.... 8 十四、Vi工具.... 8 十五、文件脱机存储.... 9 第二章 Admin I 9 一、受限SAM.... 9 二、定制用户账号.... 10 三、文件系统.... 10 四、联接外围设备.... 10
五、配置设备文件.... 10 六、配置磁盘设备.... 11 七、文件系统.... 11 八、文件系统创建.... 12 九、File system的修复.... 12 十、文件系统管理.... 12 十一、系统备份.... 12 十二、计划cron作业.... 13 十三、用SD-UX管理软件.... 13 十四、补丁管理.... 14 十五、重新配置内核..... 14 十六、Shutdown and reboot 14 十七、管理交换区.... 15 第三章 Admin II 15 一、局域网概念.... 15 二、局域网硬件.... 15 三、配置IP连通性.... 16 四、配置路由.... 16 五、配置子网.... 16
六、解决网络连通性问题.... 16 七、启动网络服务.... 16 八、NFS概念.... 17 九、NFS配置.... 17 十、Automounter. 17
十一、DNS名字解析.... 18
十二、配置和保护ARPA/Berkeley服务.... 19 十三、管理bootp和tftp.. 19
十四、介绍网络时间协议(NTP).... 20 第四章 综合知识... 21 一、 Features of RA-RISC... 21 二、SS_CONFIG... 22 三、Machine checks. 22
四、Small Computer System Interface. 23 五、K Class. 23 六、R&D Class. 23 七、维护小知识.... 24
前言
HP9000系统知识手册是根据本人的培训笔记和日常的维护服务工作记录编写而成,主要包含四个章节,前三章主要是HP-UNIX老三篇的内容,第四章包括一些HP9000小型机系统的基本知识和本人在维护中积累的维护小知识。
本人编写此知识手册的目的主要有两个方面,一是对自己的记忆力没有信心,担心我记录的笔记一旦丢失,我多年的积累的东西就全部付之东流,我的大脑一夜就回到了解放前。二是形成一个电子版的手册,便于需要时查询,尤其是在用户现场时,不用去翻书,以避免用户的冷眼相待。
由于本人的水平有限,所以此知识手册的内容有一些片面之处,尤其是第四章维护小知识中的一些case产生问题的原因多种多样,那么解决这些问题的solution也是多方面的,而此手册记录的方法只是其一,仅供同志们在遇到此类问题时多一条思路。 欢迎兄弟们补充完善这个手册。
第一章 Fundamental of HP-UNIX system
一、Some beginning commands
1、id ;Display you user and group identifications 2、who ;Indentify other users logged on to the system 3、date ;Display the system time and date
4、passwd ;Assign a password to your user account 5、echo ;Display simple messagess to your screen 6、banner ;Display arguments in large letters 7、clear ;Clears terminal screen
8、write username [tty] ;Sends message to username if logged in 9、mesg [y|n] ;Allows or denies “write”to your terminal 10、news[-a] [-n] [headline] ;Display the system news -a ;Display all news -n ;Display new headlines
二、Basic file system commands
1、pwd ;Display where are you 2、ls –a ;List all files -d ;列举目录的特征
-l(ll) ;列出文件详细信息
-F(lsf) ;显示中用/表示目录,用*表示可执行文件 -R(lsr) ;递归显示指定目录及其下的文件 3、cd ;Change directory
4、find path_list expression
example:find / -name .profile 5、mkdir and rmdir
mkdir [-p] [-m mode] dir_pathname
-p ;如果中间目录不存在,创建中间目录 -m ;创建完后,将其权限设定为mode指定权限
三、What can we do with files?
1、ls ;Look at the characteristics of a file 2、cat ;Look at the contents of a file
3、more ;Look at the contents of a file,one screenful at a time 4、tail [-n] ;Display the end of files -n ;显示文件最后n行
5、lp [-d dest] [-n number] [-o option] [-t title] [-w] [file?] -n ;打印份数
-d ;执行打印请求的打印机名 -t ;打印结果的首页标题 -o ;指定与打印机有关的选项
-w ;文件打印完时向用户终端写一个消息 6、lpstat [-t]
7、cancel [id] [printer] ;取消打印作业
8、cp [-r] [-I] file1[dir] new_file[destdir] ;拷贝一个文件或目录 9、mv [-I] file1[dir] newfile[destdir] ;剪切一个文件或目录 10、ln file newfile[destdir] ;链接一个文件或目录