易截截图软件、单文件、免安装、纯绿色、仅160KB

linux redhat4+oracle10g

在虚拟机Red Hat Enterprise Linux 4 update 4中安装oracle 10.2.0.1
1)查看系统内存
[root@linux4 ~]# grep MemTotal /proc/meminfo
2)查看交换区大小
[root@linux4 ~]# grep SwapTotal /proc/meminfo
3)
查看/tmp目录大小
[root@linux4 ~]# df -m /tmp
4)查看操作系统版本
[root@linux4 ~]# cat /etc/issue
5)检查系统是否装有如下软件包
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
使用rpm –q命令查看上述软件包
6)创建oinstall组
[root@linux4 ~]# /usr/sbin/groupadd oinstall
创建oper组
[root@linux4 ~]# /usr/sbin/groupadd oper
7)
创建oracle用户,指定其主组为oinstall,并还属于组dba和oper
[root@linux4 ~]# useradd -g oinstall -G dba,oper oracle
[root@linux4 ~]# passwd oracle
设置密码
8)调整内核参数
使用vi编辑文件/etc/sysctl.conf
[root@linux4 ~]# vi /etc/sysctl.conf
使内核参数立即生效
[root@linux4 ~]# sysctl –p
9)修改用户限制
10)
使用vi编辑文件/etc/pam.d/login,在文件末尾添加如下内容
[root@linux4 ~]# vi /etc/pam.d/login
11)使用vi编辑文件/etc/csh.login
[root@linux4 ~]# vi /etc/csh.login
12)
创建oracle软件安装目录
创建软件安装目录
[root@linux4 ~]# mkdir -p /db/oracle
将创建的目录授权给oracle用户
[root@linux4 ~]# chown -R oracle:oinstall /db/oracle
[root@linux4 ~]# chmod -R 775 /db/oracle
13)设置oracle用户环境变量
切换到oracle用户
[root@linux4 ~]# su – oracle
使用vi编辑文件~/.bash_profile,添加如下内容
[oracle@linux4 ~]$ vi .bash_profile
#reboot
以oracle用户登录系统
进入oracle源文件目录
$./runInstaller
选择默认设置即可


相关文档:

【数据结构重温】Linux内核中的hash和bucket

 哈希表(Hashtable)又称为“散置”,Hashtable是会根据索引键的哈希程序代码组织成的索引键(Key)和值(Value)配对的集合。Hashtable 对象是由包含集合中元素的哈希桶(Bucket)所组成的。而Bucket是Hashtable内元素的虚拟子群组,可以让大部分集合中的搜寻和获取工作更容易、更快速。
 
哈希函 ......

oracle学习(简单查询)

    (1)查询C01课程成绩不为Null的学生的姓名和成绩。
         分析:因为涉及到课程成绩和学生姓名,需要对student表和sc表进行连接。
代码:
select sname,grade from student,sc where student.sno=sc.sno and c ......

linux 文件系统

linux 文件系统结构
/       根目录
/bin         常用的命令   binary   file   的目录
/boot      存放系统启动时必须读取的档案,包括核心   (kernel)   ......

每日必看的linux网站和博客收集

http://www.linuxjournal.com/
Linux Kernel Newbies
一方适合内核开发初级黑客的乐土——该网站几乎能够满足所有磨刀霍霍向内核的新手的需求。
http://kernelnewbies.org/
http://vger.kernel.org/
了解如何使用linux内核列表
http://www.tux.org/lkml/
Linux
新闻周刊,它有一个专区报道有关内核的重要 ......

linux配置网络连接

linux网络连接配置通过命令ifconfig来完成,也就是interface configuration。
!!友情提醒:下面用的命令有些需要root权限
查看网络连接
    ifconfig
    eth0      Link encap:以太网  硬件地址 00:e0:61:02:af:ba 
    &n ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号