Solaris实践之安装配置(Day 6)

接上面,最终只得重新安装系统,仍然是solaris 9,不过安装在第三块硬盘上(C1t2d0)

重新安装后,第一次启动日志显示

Rebooting with command: boot                                         
Boot device: disk2:b  File and args:
SunOS Release 5.9 Version Generic_118558-11 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
-
SC Alert: SC Request to send Break to host.
Hardware watchdog enabled
Configuring ATM interfaces:
configuring IPv4 interfaces: ce0.
Hostname: jnumath
Configuring /dev and /devices
Configuring the /dev directory (compatibility devices)
The system is coming up.  Please wait.
checking ufs filesystems
/dev/rdsk/c1t2d0s7: is logging.
loading skip keystore.
Successfully initialized certificate database in /etc/skip/certdb
starting skip key manager daemon.
starting rpc services: rpcbind done.
Setting netmask of ce0 to 255.255.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway jnumath
syslog service starting.
Apr 20 10:09:02 jnumath sendmail[295]: My unqualified host name (jnumath) unknown; sleeping for retry
Apr 20 10:09:02 jnumath sendmail[294]: My unqualified host name (jnumath) unknown; sleeping for retry
Starting Web Start Launcher in Command Line Mode.

Please specify the media from which you will install Java Enterprise System.

Alternatively, choose the selection for "Skip" to skip this disc and go on to
the next one.

Media:

1. CD/DVD
2. Network File System
3. Skip

   Media [1]: Apr 20 10:10:02 jnumath sendmail[295]: unable to qualify my own domain name (jnumath) -- using short name
Apr 20 10:10:02 jnumath sendmail[294]: unable to qualify my own domain name (jnumath) -- using short name
2

Please specify the path to the network file system from which you will install
Java Enterprise System.

Example:   server:/path_to_install_area

If you do not wish to install at this time, enter S to skip.
To select a different media, enter B to go Back.
    [] s

   Pausing for 90 seconds at the "Reboot" screen. The wizard will continue to
   the next step unless you select "Pause". Enter 'p' to pause. Enter 'c' to
   continue. [c] c

Apr 20 10:11:54 jnumath reboot: rebooted by root
Apr 20 10:11:54 jnumath syslogd: going down on signal 15
Apr 20 10:11:54 rpcbind: rpcbind terminating on signal.
syncing file systems... done
rebooting...

SC Alert: Host System has Reset

配置可以从xmanager访问图形界面

# /usr/dt/bin/dtconfig -e
done
desktop auto-start enabled.
#

配置默认网关

# route add default 网关地址

#route add default 202.116.0.123

    查看用 # netstat –rn

有人说,也可以直接修改/etc/defaultrouter,该文件用来配置路由器设置,输入如下内容:

202.116.0.123

但是我没有找到这个文件,直接建立。

vi /etc/resolv.conf (注:若无此文件,请创建)

输入:
       domain jnumath.domain.com 
       nameserver 202.116.0.1 (注:首选DNS) 
       nameserver 202.116.0.2 (注:备选DNS)

从远程用telnet登录

1. 注意关闭windows Firewal

2. telnet IP 用root登录显示:not on system console

搜索结果,显示首先要用非root用户登录,然后编辑/etc/default/login文件,把其中的#CONSOLE=/dev/console注释掉,我试过用root用户登录,提示是只读文件。(后来发现只需要在保存是加上!,即w!,即可保存)

3. 因此,首先要添加用户

# groupadd admin

#cat /etc/group //查看group文件,记录下刚才创建的group ID(100)

# mkdir /export/home/fanzz

# useradd -u 101 -d /expert/home/fanzz -g 100 fanzz      //添加用户fanzz

# passwd fanzz         //修改密码

#cat /etc/shadow        //显示用户信息

#exit                   ///退出root

# 用新用户登录

#reboot

重新telnet IP,登录成功。

但是用 xmanager登录不成功,做了如下尝试:

1. Solaris 系统默认启动DXCMP,不需要配置 ,只需检查进程是否启动即可
     #ps -ef|grep dtlogin

root   521     1   0   3ÔÂ 30 ?           0:00 /usr/dt/bin/dtlogin -daemon
    root   616   521   0   3ÔÂ 30 ?           0:00 /usr/dt/bin/dtlogin -daemon
    root 26766 24105   0 15:19:47 pts/3       0:00 grep dtlogin

如果没有启动 #delogin start

2. 重新启动,在本地接回机房的USB 键盘、Mouse及显示器,即可显示CDE登录窗口。用root用户可以正常显示,如果用普通用户,登录后只显示一个xterm窗口。

3. 查看/var/dt/Xerrors文件,显示了从xmanager登录产生的错误:

Mon Apr 20 12:16:58 2009
error (pid 609): Hung in XOpenDisplay(192.168.40.11:1) attempt #0, aborting.

Mon Apr 20 12:16:58 2009
error (pid 609): Server open attempt #0 failed for 192.168.40.11:1, giving up

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值