{"rsdb":{"rid":"155943","subhead":"","postdate":"0","aid":"117060","fid":"57","uid":"1","topic":"1","content":"

1\u3001Linux\u64cd\u4f5c\u7cfb\u7edf\u5b89\u88c5\u7ec4\u5efa\u9009\u62e9\uff1a
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet(\u53ef\u4ee5\u4e0d\u9009\u62e9)
Development Libraries
Development Tools
Server Configuration Tools(\u53ef\u4ee5\u4e0d\u9009\u62e9)
Administration Tools
Base
System Tools
X Window System<\/p>

2\u3001\u4e3a\u4e86\u9632\u6b62\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u4e71\u7801
vi \/etc\/sysconfig\/i18n
LANG=\"en_US.UTF-8\"
SYSFONT=\"latarcyrheb-sun16\"<\/p>

3\u3001\u5b89\u88c5Oracle \u4f9d\u8d56\u5305\uff1b
\u6709\u7684\u4f9d\u8d56\u5305\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\u65f6\u5df2\u7ecf\u5b89\u88c5\uff0c\u8fd9\u91cc\u53ea\u88c5\u7f3a\u5c11\u7684\uff0c\u4e5f\u662f\u5fc5\u987b\u7684\uff0c\u5426\u5219\uff0c\u5b89\u88c5oracle\u8fc7\u7a0b\u4f1a\u62a5\u9519\u3002
compat-libstdc++-33 libaio-devel sysstatunixODBC unixODBC-devel<\/p>

4\u3001\u521b\u5efa\u5fc5\u8981\u7684\u7528\u6237\u7ec4\u53ca\u7528\u6237\uff1b
\/usr\/sbin\/groupadd oinstall
\/usr\/sbin\/groupadd dba
\/usr\/sbin\/useradd -g oinstall -G dba oracle
passwd oracle<\/p>

5\u3001\u521b\u5efa\u6240\u9700\u76ee\u5f55\u53ca\u8d4b\u4e88\u76ee\u5f55\u6743\u9650\uff1b
\u521b\u5efaoracle\u5b89\u88c5\u76ee\u5f55\uff1a
mkdir-p \/data\/oracle\/app\/
mkdir -p\/data\/oracle\/oraInventory
\u521b\u5efaoracle\u6570\u636e\u5e93<\/a>\u5b58\u653e\u76ee\u5f55\uff1a
mkdir-p \/data\/oracle\/oradata
chown -R oracle:oinstall \/data\/oracle\/app\/
\u521b\u5efaoracle\u5907\u4efd\u76ee\u5f55\uff1a
mkdir -p \/backup\/oracle\/
\u8d4b\u4e88\u5404\u4e2a\u76ee\u5f55\u6743\u9650\uff1a
chown-R oracle:oinstall \/data\/oracle\/oradata
chown -Roracle:oinstall \/data\/oracle\/oraInventory
chmod-R 775 \/data\/oracle\/app\/
chmod-R 775 \/data\/oracle\/oradata
chmod -R775 \/data\/oracle\/oraInventory
chown -R oracle:oinstall \/backup\/oracle\/
chmod-R 775 \/backup\/oracle\/<\/p>

6\u3001\u4fee\u6539oracle\u5b89\u88c5\u7528\u6237\u8d44\u6e90\u9650\u5236\uff1b
\u5f53\u7136\uff0c\u6b64\u5904\u7684\u503c \u9700\u8981\u6839\u636e\u5b9e\u9645\u53bb\u4fee\u6539\uff1b
vi \/etc\/security\/limits.conf
oracle soft nproc 2047
oraclehard nproc 16384
oraclesoft nofile 1024
oraclehard nofile 65536<\/p>

7\u3001\u8bbe\u7f6eoracle\u7528\u6237\u73af\u5883\u53d8\u91cf
su -oracle
vim\/home\/oracle\/.bash_profile \u52a0\u5165\u4ee5\u4e0b\u5185\u5bb9<\/p>

ORACLE_BASE=\/data\/oracle\/app
ORACLE_HOME=$ORACLE_BASE\/product\/11.2.0\/db_1
exportORACLE_BASE ORACLE_SID ORACLE_HOME
#\u7528\u4e8e\u542f\u52a8EM\u65f6\u4f7f\u7528
ORACLE_HOSTNAME=$HOSTNAME;export ORACLE_HOSTNAME
ORACLE_UNQNAME=$ORACLE_SID;export ORACLE_UNQNAME

PATH=$PATH:$ORACLE_HOME\/bin
exportPATH

LD_LIBRARY_PATH=$ORACLE_HOME\/lib:\/lib:\/usr\/lib
exportLD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME\/JRE:$ORACLE_HOME\/jlib:$ORACLE_HOME\/rdbms\/jlib
exportCLASSPATH
#NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
NLS_LANG=AMERICAN_AMERICA.AL32UTF8
exportNLS_LANG

umask022
sttyerase ^\uff1f<\/p>

\u4f7f\u73af\u5883\u53d8\u91cf\u751f\u6548<\/p>

source\/home\/oracle\/.bash_profile<\/p>

8\u3001\u914d\u7f6evnc\u670d\u52a1\uff1b<\/p>

vim \/etc\/sysconfig\/vncservers<\/p>

VNCSERVERS=\"2:oracle\"
VNCSERVERARGS[2]=\"-geometry 1024x768-nolisten tcp -nohttpd\" <\/p>

9\u3001\u914d\u7f6evnc\u5bc6\u7801\uff1b
su - oracle
vncserver
\u6839\u636e\u63d0\u793a\u8f93\u5165\u5bc6\u7801\uff1b<\/p>

10\u3001\u4fee\u6539\u8fdc\u7a0b\u684c\u9762\u914d\u7f6e\u6587\u4ef6<\/p>

vim \/home\/oracle\/.vnc\/xstartup \u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec \/etc\/X11\/xinit\/xinitrc
[ -x \/etc\/vnc\/xstartup ] && exec \/etc\/vnc\/xstartup
[ -r $HOME\/.Xresources ] && xrdb $HOME\/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title \"$VNCDESKTOP Desktop\" &
gnome-session &<\/p>

11\u3001\u7528root\u542f\u52a8vnc\u670d\u52a1<\/p>

\/etc\/init.d\/vncserverstart<\/p>

12\u3001\u5c06oracle 11g \u7684\u5b89\u88c5\u5305\u4e0a\u4f20\u5230\u670d\u52a1\u5668\uff0c\u5e76\u89e3\u538b\uff0c\u8d4b\u4e88\u6743\u9650\uff1b<\/p>

unzip linux.x64_11gR2_database_1of2.zip<\/p>

unzip linux.x64_11gR2_database_2of2.zip<\/p>

chown \u2013R oracle:oinstall database<\/p>

13\u3001\u4f7f\u7528vnc\u5de5\u5177\uff0c\u767b\u5f55\u5230\u670d\u52a1\u5668\uff0c\u5e76\u8fdb\u5165\u6570\u636e\u5e93<\/a>\u89e3\u538b\u76ee\u5f55\uff0c\u8fd0\u884c.\/runInstaller\uff1b<\/p>

14\u3001\u7a0d\u540e\u4f1a\u51fa\u73b0\u5982\u4e0b\u7684\u5b89\u88c5\u754c\u9762\uff1b<\/p>

\"\"<\/p>

15\u3001\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u53bb\u9009\u62e9\uff1b<\/p>

\"\"<\/p>

16\u3001\u56e0\u4e3a\u6211\u6ca1\u6709\u586b\u5199email\u5730\u5740\uff0c\u6240\u4ee5\u63d0\u793a\u5982\u4e0b\u4fe1\u606f\uff0c\u9ed8\u8ba4yes\u5373\u53ef\uff1b<\/p>

\"\"<\/p>

17\u3001\u9009\u62e9\u5b89\u88c5\u65b9\u5f0f\uff0c\u9ed8\u8ba4\u9009\u62e9\u53ea\u5b89\u88c5\u6570\u636e\u5e93\u8f6f\u4ef6\u5373\u53ef\uff1b<\/p>

\"\"<\/p>

18\u3001\u5b89\u88c5\u9009\u9879\uff0c\u5355\u4e00\u5b9e\u4f8b\u5b89\u88c5\uff1b<\/p>

\"\"<\/p>

19\u3001\u5b89\u88c5\u8bed\u8a00\u9009\u62e9\uff1b<\/p>

\"\"<\/p>","orderid":"0","title":"Red Hat Enterprise Linux 5.7 \u5b89\u88c5Oracle\u6570\u636e\u5e93","smalltitle":"","mid":"0","fname":"\u6570\u636e\u5e93\u7f16\u7a0b","special_id":"0","bak_id":"0","info":"0","hits":"94","pages":"1","comments":"0","posttime":"2017-01-02 08:14:57","list":"1483316097","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"http:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"Red<\/A> Hat<\/A> Enterprise<\/A> Linux<\/A> 5.7<\/A> \u5b89\u88c5<\/A> Oracle<\/A> \u6570\u636e\u5e93<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"14.17.22.31","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"Red Hat Enterprise Linux 5.7 \u5b89\u88c5Oracle\u6570\u636e\u5e93","lastview":"1500633486","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}