手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网站运营>建站经验>列表

Solaris 10 安装及SVC管理

来源:互联网 作者:west263.com 时间:2008-04-16
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

6.4、选择默认的色彩深度,根据我们期望的显示模式,选择 "5",24Bit显示;
========================================================================
Please specify which color depth you want to use by default:

1 1 bit (monochrome)
2 4 bits (16 colors)
3 8 bits (256 colors)
4 16 bits (65536 colors)
5 24 bits (16 million colors)

Enter a number to choose the default depth.
========================================================================
7、"y"保存。(假如不想直接保存到系统配置文档,能够选择"n"然后在下一步中保存到其他路径。)
========================================================================
I am going to write the xorg.conf file now. Make sure you don't accidently
overwrite a previously configured one.

Shall I write it to /etc/X11/xorg.conf? y
========================================================================
8、重新启动系统,或直接启动图像界面。
========================================================================
# sync && reboot

or

# /etc/rc2.d/S99dtlogin stop && /etc/rc2.d/S99dtlogin start
========================================================================

一点Tips:

虽然Solaris 10的dtlogin换了新look--有点像gdm,但是Linux的手用万足们相同能够用gdm
来完全替换掉他,比较dirty的方法,只要修改/etc/rc2.d/S99dtlogin中的如下行:
if [ -x /usr/dt/bin/dtlogin ] ; then
/usr/dt/bin/dtlogin -daemon &
fi
;;
把/usr/dt/bin/dtlogin -daemon & 改为/usr/bin/gdm & 就能够自动运行gdm了。
当然,要完全一点最好还是手工写一个rc脚本,来替换dtlogin这个。

另外,dtlogin默认是能够远程xdmcp登录的,而gdm出于安全原因考虑默认则不允许远程登录,
能够修改/etc/X11/gdm/gdm.conf文档中的
#Port=177
一行,取消掉#注释,然后重新启动gdm即可。

最后,附上我的Solaris 10在Vmware中的X.org配置文档( /etc/X11/xorg.conf )
========================================================================
# Generated by tracy @Katty at Mon Feb 14 00:59:30 2005
# for Vmware GSX 3.1 / Workstation 4.5 / ACE 1.0


# X.org ExtandModules
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "bitstream"
Load "type1"

Load "Xst"
Load "IA"
# Load "glx"
# Load "dri"
EndSection


# Fonts Config
Section "Files"
RgbPath "/usr/X11/lib/X11/rgb"
FontPath "/usr/X11/lib/X11/fonts/TrueType/"
FontPath "/usr/X11/lib/X11/fonts/Type1/"
FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"
FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"
FontPath "/usr/X11/lib/X11/fonts/misc/"
FontPath "/usr/X11/lib/X11/fonts/100dpi/"
FontPath "/usr/X11/lib/X11/fonts/75dpi/"
# FontPath "/usr/X11/lib/X11/fonts/local/"
# FontPath "/usr/X11/lib/X11/fonts/Speedo/"
# FontPath "/usr/X11/lib/X11/fonts/freefont/"
# ModulePath "/usr/X11/lib/modules"
EndSection


# Input Device: KeyBoard
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us"
EndSection


# Input Device: Mouse
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/kdmouse"
EndSection


# Vmware Virtual Monitor
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 48.5
VertRefresh 50-90
EndSection


# Default VGA Card
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!