- 论坛徽章:
- 0
|
1 OS
1)Require RPMS
#rpm -ivh libaio-0.3.102-1.i386.rpm
#rpm –ivh libaio-devel0.3.102-1.i386.rpm
2)OS parameter
a)/etc/sysctl.conf
kernel.core_uses_pid=1
kernel.shmall=2097152
kernel.shmmax=2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
b)config service
chkconfig sshd on
chkconfig sendmail off
chkconfig smartd off
chkconfig iptables off
chkconfig isdn off
chkconfig pcmica off
c)/etc/security/limits.conf
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
d)add user ,user group
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle
e)add directory
mkdir -p /opt/oracle/10g
chown -R oracle:oinstall /opt/oracle
f)modify oracle profile
ORACLE_BASE=/opt/oracle
ORACLE_HOME=/opt/oracle/10g
ORACLE_SID=oracle
PATH=$ORACLE_HOME/bin:$PATH:
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH
2 Oracle Install
1)#xhost +
2)#su - oracle(check profile)
3)#$run runInstaller
3 Jboss Install
1) 建立jboss用户
2) 安装jdk
3) 设置jboss环境变量 ~/.bash_profile
JAVA_HOME=/usr/java/jdk1.5.0_11
export JAVA_HOME
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export PATH
LANG=zh_CN.GB2312 #乱码问题
4) Unzip
5) run.sh &
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19562/showart_451836.html |
|