2007年5月27日星期日

在虚拟机里装oracle, [真想有独立电脑来装]

os: RHEL4 AS4 update 4
oracle:10g_linux_x86_db_10_1_0_3
ref:20061019-oracle_in_rhel4_1.pdf
20061019-oracle_in_rhel4_2.pdf
b15660.pdf
oracle在rh里面的安装流程


关闭不需要的servicechkconfig cups offchkconfig sendmail offchkconfig isdn offchkconfig smartd offchkconfig iptables offchkconfig pcmcia off
检查软件包是否安装Red Hat Enterprise Linux 4.0 and Asianux 2.0:binutils-2.15.92.0.2-13.EL4compat-db-4.1.25-9compat-libstdc++-296-2.96-132.7.2control-center-2.8.0-12gcc-3.4.3-22.1.EL4gcc-c++-3.4.3-22.1.EL44glibc-2.3.4-2.9glibc-common-2.3.4-2.9gnome-libs-1.4.1.2.90-44.1libstdc++-3.4.3-22.1libstdc++-devel-3.4.3-22.1make-3.80-5pdksh-5.2.14-30sysstat-5.0.5-1xscreensaver-4.18-5.rhel4.2setarch-1.6-1
rpm -qa binutils compat-* control-center gcc* glibc* gnome-libs libstdc* make pdksh sysstat xscreensaver setarch sort
添加组和用户groupadd oinstallgroupadd dbauseradd -g oinstall -G dba oraclepasswd oracleid oracle [check oracle user]uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)id nodoby [check if nodody exist]
修改内核参数/etc/sysctl.conf kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default = 1048576net.core.rmem_max = 1048576net.core.wmem_default = 262144net.core.wmem_max = 262144
增加性能
/etc/security/limits.conf oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536
/etc/pam.d/loginsession required /lib/security/pam_limits.sosession required pam_limits.so
/etc/profile if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fifi
if ( $USER == "oracle" ) then limit maxproc 16384 limit descriptors 65536endif
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8 or UnitedLinux-1.0 Failed <<<<
The following J2EE Applications have been deployed and are accessible at the URLs listed below.
Ultra Search URL:http://RHEL:5620/ultrasearch
Ultra Search Administration Tool URL:http://RHEL:5620/ultrasearch/admin
iSQL*Plus URL:http://RHEL:5560/isqlplus
iSQL*Plus DBA URL:http://RHEL:5560/isqlplus/dba
Enteprise Manager 10g Database Control URL:http://192.168.18.8:5500/em

2007年5月25日星期五

开始用google的bloger了

开始用google的bloger了。
space 写心情,这里写我的作为程序员开发经历和经验。
以及平时的点点滴滴~~

回国科学上网姿势 软路由 通过apple私有Mac地址动态切换

回国科学上网姿势 软路由 通过apple私有Mac地址动态切换 断断续续的尝试了很多科学上网方式,自己搭VPS,家里路由器也升级了好几次,都是为了能装可以跑科学上网的固件,但是最大的问题是性能都一般,速度也不是很稳定。 最近软路由被提到较多,最吸引人的是可以达的速度非常高,可以看...