摘要: RAC以及ASM安装全过程整理--lisx2009-6-19更改主机名第一步:#hostname oratest 第二步:修改/etc/sysconfig/network中的hostname第三步:修改/etc/hosts文件设置hosts文件可参考:[root@amdocs01 mapper]# cat /etc/hosts# Do not remove the following line, ... 阅读全文
posted @ 2009-06-23 11:31 李世侠 阅读(6855) 评论(0) 推荐(0) 编辑
摘要: 新到了服务器,让我小试了一把,我简单记录一下安装以及升级的过程,里面还有向高手学到的经验安装linux as 4.7的时候,选择LVM可以方便的管理空间,自由增加和缩小文件系统的大小,选择安装了全部的服务,就是在安装的最后,选择安装哪些服务的时候选择的,安装好后,禁用了sendmail服务,这个服务可能会非常影响服务器。安装oracle10g很简单,设置好相关参数后,直接安装,没出什么问题,升级的... 阅读全文
posted @ 2009-06-16 21:10 李世侠 阅读(1936) 评论(0) 推荐(0) 编辑
摘要: linux as 4 oracle10g 升级 阅读全文
posted @ 2009-06-16 21:03 李世侠 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 11合并与分割s o r t命令的一般格式为:sort -cmu -o output_file [other options] +pos1 +pos2 input_files下面简要介绍一下s o r t的参数:-c 测试文件是否已经分类。-m 合并两个分类文件。-u 删除所有复制行。-o 存储s o r t结果的输出文件名。其他选项有:-b 使用域进行分类时,忽略第一个空格。-n 指定分类是域上... 阅读全文
posted @ 2009-05-18 16:53 李世侠 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: awk的用法 a w k语言的最基本功能是在文件或字符串中基于指定规则浏览和抽取信息 调用awk 有三种方式调用a w k, 第一种是命令行方式,如: awk –F : ‘commands’ input-files 第二种方法是将所有a w k命令插入一个文件,并使a w k程序可执行,然后用a w k命令作为脚本的首行,以便通过键入脚本名称来调用它。 第三种方式是将所有的a... 阅读全文
posted @ 2009-04-27 15:37 李世侠 阅读(42929) 评论(1) 推荐(1) 编辑
摘要: shell命令执行的相应顺序 && 令1 && 命令2 如果这个命令1执行成功& &那么执行这个命2 mv myfile myfile2 && echo "if you are seeing this then mv was success!" || 如果| |左边的命令(命令1)未执行成功,那么就执行| |右边的命令(命令2) mv myfile myfile2 && echo ... 阅读全文
posted @ 2009-04-14 22:42 李世侠 阅读(54073) 评论(2) 推荐(0) 编辑
摘要: -----------------------------------------------------------------------vi用法-------------------------------------------------- kjhl 上下左右w,b------使光标向前或向后跳过一个单词 /word → 向光标之下查找一个名称为 word 的字符串。如想查找 eri... 阅读全文
posted @ 2009-04-14 18:54 李世侠 阅读(1387) 评论(0) 推荐(1) 编辑
摘要: ORACLE重设表空间的大小 You can enlarge a tablespace by: • Change the size of a data file: - Automatically during tablespace creation SQL> CREATE TABLESPACE userdata02 DATAFILE '/u01/oradata/userdata02.db... 阅读全文
posted @ 2009-03-07 18:52 李世侠 阅读(615) 评论(0) 推荐(0) 编辑
摘要: --手动更改日志组 ALTER SYSTEM SWITCH LOGFILE; --增加日志组 ALTER DATABASE ADD LOGFILE GROUP 5 ('E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO04.LOG') SIZE 8M; --删除日志组 alter database drop logfile group 4 ; --添加日志组成员... 阅读全文
posted @ 2009-03-05 20:33 李世侠 阅读(667) 评论(2) 推荐(0) 编辑
摘要: Sizing the Control File Keywords specified during the creation of the database affect the size of the control file. This is particularly significant when the parameters have large values. The size of ... 阅读全文
posted @ 2009-03-02 19:45 李世侠 阅读(756) 评论(0) 推荐(0) 编辑