1.硬件配置 CPU:P3 1.4G X2个 RAM:2GB(oracle官方建议最少512兆内存) HDD:32GB X 2个(RAID1) 2.硬盘分区 RHEL-U4按照以下基本要求分区,可根据需要适当调整容量
/boot 200MB(建议至少120兆) SWAP 4096MB(建议至少是内存的两倍) /oracle 4GB(oracle官方建议3.7G空间) /tmp 1GB(建议最少400兆) / 5GB(RHELU4系统) 3.开始安装系统 安装时选择如下软件包: Xwindow Gnome Development tools 系统安装好后关闭一些没有必要的服务: 命令行如下,也可以直接登陆xwindow通过服务管理工具来关闭 #chkconfig cups off #chkconfig sendmail off #chkconfig isdn off #chkconfig smartd off #chkconfig iptables off #chkconfig pimcia off 4.配置xdmcp远程桌面 4.1修改/etc/X11/xdm/Xaccess文件,找到下面的语句: #* #any host can get a login window 去掉最前面的#号,成为: * #any host can get a login window 4.2修改/etc/X11/gdm/gdm.conf文件,找到下面的语句: [xdmcp] # Distributions: Ship with this off. It is never a safe thing to leave # out on the net. Alternatively you can set up /etc/hosts.allow and # /etc/hosts.deny to only allow say local access. Enable=false 将其中的Enable=false 改为Enable=true 配置端口为177: # The port. 177 is the standard port so better keep it that way Port=177 vi /etc/X11/xdm/kdmrc修改[xdmcp]段的Enable=false为true port=177 /usr/share/config/kdm/kdmrc和 /etc/opt/kde2/share/config/kdm/kdmrc也需同样修改 4.3修改/etc/inittab文件, 将 id:3:initdefault: 改为 id:5:initdefault:;将 x:5:respawn:/etc/X11/prefdm -nodaemon 改为 x:5:respawn:/usr/bin/gdm 4.4修改/etc/X11/xdm/xdm-config的最后一行,在 displayManager.requestPort:0 前面加上一个!号 确保/etc/X11/xdm/Xservers的属性为444,/etc/X11/xdm/Xsetup_0的属性为755(这两个文件默认的属性就是444和775) 4.5修改防火墙配置/sbin/iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 177 -j ACCEPT 4.6重启 reboot 4.7在windows机器上安装xmanager2.0 4.8运行 Xbrowser,New Session Wizard -> 选XDMCP -> Method 选 Query,Host 填写ip地址,Port Number 填写 177 -> X server 设置都 用缺省 -> Session Name 填写会话名字,自己定义(我这里习惯用ip)-> 完成