yum install yum-fastestmirror -y yum install compat-db* yum install compat-libc* yum install compat-gcc* yum install libXp.so.6 yum install libc-* yum install libaio* yum install openmotif yum install glibc-devel* yum install libgcc* yum install gnome-lib*
[root@localhost ~]# cpio -idmv > 10201_database_linux_x86_64.cpio
[root@localhost ~]# groupadd oracleinstall [root@localhost ~]# groupadd oracle [root@localhost ~]# useradd -m -g oracleinstall-G oracle oracle [root@localhost ~]# id oracle uid=501(oracle) gid=501(oracleinstall) groups=501(oracleinstall),502(oracle)
[root@localhost ~]# passwd oracle Changing password for user oracle. New password: Retype new password:passwd:all authentication tokens updated successfully.
[root@localhost ~]# mkdir -p /oracledata/oracle [root@localhost ~]# mkdir -p /oracledata/oradata [root@localhost ~]# chown -R oracle:oracleinstall /oracledata/oracle /oracledata/oradata [root@localhost ~]# chmod -R 775 /oracledata/oracle /oracledata/oradata
cat >> /etc/sysctl.conf <<EOF 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 EOF
[oracle@www/]$ ./Oracle/database/runInstaller
cat > /etc/redhat-release << EOF Red Hat Enterprise Linux AS release 3 (Taroon) EOF
[root@www oradata]# ./orainstRoot.sh Changing permissions of /oracledata/oradata to 770. Changing groupname of /oracledata/oradata to oracleinstall. The execution of the script is complete [root@www oracle]# ./root.sh Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracledata/oracle Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed.
vim /etc/hosts
IP地址 主机名
-bash: lsnrctl: command not found
vim ~/.bash_profile
export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
source ~/.bash_profile
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有