扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
[root@wallet01 ~]# useradd -u 1101 -g oinstall -G dba,asmdba oracle [root@wallet01 ~]# echo oracle | passwd --stdin oracle Changing password for user oracle. passwd: all authentication tokens updated successfully. [root@wallet01 ~]# id oracle uid=1101(oracle) gid=1201(oinstall) groups=1201(oinstall),1200(dba),1203(asmdba) [root@wallet01 ~]# cat >> /etc/profile <> /etc/security/limits.conf < > /etc/pam.d/login < > /etc/profile < > /etc/security/limits.conf < > /etc/pam.d/login < >~/.ssh/authorized_keys [oracle@wallet01 ~]$ ssh wallet02 cat ~/.ssh/id_dsa.pub >>~/.ssh/authorized_keys [oracle@wallet01 ~]$ scp ~/.ssh/authorized_keys wallet02:.ssh/authorized_keys [oracle@wallet01 ~]$ (ssh wallet01 "date;hostname";ssh wallet02 "date;hostname") Sun May 5 10:12:50 CST 2019 wallet01 Sun May 5 10:12:50 CST 2019 wallet02 [oracle@wallet02 ~]$ (ssh wallet01 "date;hostname";ssh wallet02 "date;hostname") Sun May 5 10:12:58 CST 2019 wallet01 Sun May 5 10:12:58 CST 2019 wallet02 [oracle@wallet01 ~]$ unzip p13390677_112040_Linux-x86-64_1of7.zip [oracle@wallet01 ~]$ unzip p13390677_112040_Linux-x86-64_2of7.zip [oracle@wallet01 ~]$ cd database/ [oracle@wallet01 database]$ ./runInstaller
[root@wallet01 ~]# /u01/app/oracle/product/11.2.0/db_1/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. 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 script. Now product-specific root actions will be performed. Finished product-specific root actions. [root@wallet02 ~]# /u01/app/oracle/product/11.2.0/db_1/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. 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 script. Now product-specific root actions will be performed. Finished product-specific root actions.
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流