CentOS 5.10 下静默安装Oracle 11g R2
发现网上Linux下静默安装Oracle 11g R2的文章很多,乱七八糟,五花八门!来个扫盲的!
CentOS 5.10 下安装Oracle 11g R2
************************************
1.系统部分
************************************
------1.安装系统
--applications
graphics
graphical internet
text-based internet
offce/productivity
editors
sound and video
--base system
Administration Tools
base
legacy software support: compat-libstdc- compat-db-
X Window System
system tools :sysstat-
---desktop envirements
gnome desktop environment
--development默认选项后添加下面选项
Development Libraries :libstdc-
development tools :gcc-
legacy software development
--languages
chinese support
---server
ftp server
legacy network server:rsh-server telnet-server
printing support
server configure tools
------2.配置xmanager连接linux
---2.1 centos 6.5
1).yum install xdm 安装XDM
2).vi /etc/X11/xdm/Xaccess
49 * #any host can get a login window
3).修改/etc/gdm/custom.conf文件。
[xdmcp]
Enable=true
DisplaysPerHost=5
Port=177
[security]
AllowRemoteRoot=true
4).重启gpm服务:
service gpm restart
chkconfig gpm on 确认GPM服务开机启动
5).重启gdm服务
/usr/sbin/gdm -restart
---2.2 centos 5.10
--1.编辑配置文件
ls -al /usr/share/gdm/defaults.conf
chmod 644 /usr/share/gdm/defaults.conf
vi /usr/share/gdm/defaults.conf
/****
/usr/share/gdm/defaults.conf 和/etc/gdm/custom.conf 内容一致,修改任意一个即可
****/
[xdmcp]
Enable=true
DisplaysPerHost=5
Port=177
[security]
AllowRemoteRoot=true
vi /usr/share/gdm/defaults.conf
214行 AllowRemoteRoot=true
263行 Enable=true
279行 DisplaysPerHost=2
284行 Port=177
--2.重启gpm服务:
service gpm restart
chkconfig gpm on 确认GPM服务开机启动
--2.重启gdm服务
/usr/sbin/gdm-restart
-------1.3 配置yum源
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.old
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
yum makecache
检查可更新的rpm包
#yum check-update
更新所有的rpm包
#yum update
yum -y groupinstall 'Development Libraries'