Chinaunix首页 | 论坛 | 博客
  • 博客访问: 496413
  • 博文数量: 77
  • 博客积分: 4011
  • 博客等级: 上校
  • 技术积分: 800
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-10 09:53
个人简介

天天向上

文章分类

全部博文(77)

文章存档

2010年(1)

2008年(21)

2007年(39)

2006年(10)

2004年(6)

我的朋友

分类: 系统运维

2007-10-10 16:00:31

Juniper Olive 8.3完美安装手册
 
by:
 
根据: Juniper Olive 7.5完美安装手册  改编

 

值得注意的几个关键点:

安装FreeBSD时,将/var区 分到ad0s1f上面,注意建文件系统时的顺序可实现

安装文件要复制到/var/tmp/里面

安装包的顺序:

jinstall-7.4R1.7-export-signed.tgz
jinstall-8.1R1.5-export-signed.tgz
jinstall-8.3R2.8-export-signed.tgz
jweb-8.2R1.7-signed.tgz

 


1、准备工作
--1、PC配置要求:
虽说FreeBSD 4.11 并不是很老的系统,很多硬件都是支持的,但olive里面去除了很多硬件的支持,所以并不是说能运行FreeBSD的机器就能运行
olive. olive只支持intel网卡,很多朋友使用815主板都没有安装成功,会卡在“挂载内存文件系统”那里,而无法继续。
已经有很多朋友在intel BX/LX芯片级的主板上成功安装olive. 
Pentium CPU/256M内存/4.3GB IDE硬盘/Intel EtherExpress Pro 10/100M 网卡
Intel EtherExpress网卡有基于三种芯片的,分别是Intel82557、82558和82559,这三种都可以在olive上使用,taobao上很多82559 也才10块
钱左右,82559的芯片只要有台湾产的和韩国产的,有部分芯片的网卡,可以识别但在olive里面插上网线后不能UP,所以有些网友选择82558的
网卡来安装olive以避免可能出现的这个问题.
安装时,必须有一个显示器和键盘,在olive安装完必之后可以不用,最好设置好BIOS,以防止不接键盘时报错而进不了系统;不安装显卡能够启
动的主板现在比较少见,如果不安装显卡最好弄清楚你的主板支不支持,有些网友说有些AMI公司的BIOS的主板可以不安装显卡.
最好再自备一条Cisco的 Console线缆,串口线应该说是必须的,因为安装过程中会自动把输出定向到串口,虽说安装好后可以把输出再定向到
显示器,但这个过程中会用到的,可接到笔记本上用超级终端连接olive机器COM1口进行配置。
--2、FreeBSD操作系统:
JunOS是基于FreeBSD3.3之前的版本开发的,所以推荐采用FreeBSD 3.x版本,4.x也可以,5.x绝对不行。可以从获得
FreeBSD 的mini版本ISO文件。我是用的FreeBSD 4.11上面进行安装的.
虽说FreeBSD的安装方式很多,但强烈建议你刻录一张MINI版的4.11光盘,因为一次成功的比较少,可能要安装几次才能成功

如果采用软驱启动安装,请利用光碟上提供的工具软件\tools\fdimage.exe将目录\floppies下的kern.flp和mfsroot.flp两个文件分别写到两
张软盘上,用这两张软盘来启动机器,让后通过FTP/CD-ROM/NFS/HTTP等方式进行FreeBSD的安装。
2、安装工作
--1、FreeBSD的安装
我这里不对FreeBSD安装作具体的介绍,主要列一下几个注意点
        分区时无论你用任何方法,都必须把/var区分在/dev/ad0s1f这个设备上,否则后面的Olive安装步骤将无法继续。
        原因:olive之后会建立自己的文件系统结构和分区,它会把packages现存放到这个缓存分区,如果ad0s1f是/tmp分区,安装重启后会
提示找不到安装文件,下面是一个分区示例:
Slice            Size    Mount Poing       说   明
----------------------------------------------
/dev/ad0s1a      400M    /                 ;根分区
/dev/ad0s1b      256M    swap              ;交换空间,一般是内存的倍数,这里取2倍;
/dev/ad0s1e      200M    /tmp              ;似乎在Juniper的路由器中用不到
/dev/ad0s1f      rest    /var              ;存放各种配置和系统文件等;
/dev/ad0s1g  500M  /usr
/dev/ad0s1h  100M    /config
--2、JunOS的安装
在FreeBSD顺利安装完毕之后,可通过FTP或光碟等方式将jinstall文件拷贝到/var/tmp目录下。
建议你准备一个小型的FTP SERVER软件,以方便把安装文件复制到将要安装olive的FreeBSD机器上.复制时olive要一个一个的弄,因为安装过程
中/var/tmp目录会被清空以存入安装过程的临时文件.全部复制过来的话,后面也要重新复制一下才行的.
为了安装8.3版本的olive,需要先安装7.x的,然后再升级到更高版本。直接安装8.x的我试了几个版本,都没有成功.
准备安装包:安装要按如下的排列顺序才能成功
jinstall-7.4R1.7-export-signed.tgz
jinstall-8.1R1.5-export-signed.tgz
jinstall-8.3R2.8-export-signed.tgz
jweb-8.2R1.7-signed.tgz
b.安装Olive
# pkg_add jinstall-7.4R1.7-export-signed.tgz
c.修改/boot/loader.conf 中的 console="comconsole" 改为:console="vidconsole"
(在JunOS成功安装之后,安装程序将修改/boot/loader.conf文件,将启动信息DUMP到COM1上,这样就无法在显示器上看到详细的启动信息,
只能从com连接管理。)其实你改了也没有用的,安装过程中会重启一次,而且无法干预,又会被定向到串口上的.
3、olive的基本配置
由于root用户只能在console上登录,所以完成olive的基本安装之后,可进行一些基本的配置,如创建用户、设置主机名/域名信息、接口地址
和网关等等。
例如:
使用用户:root    密码:<空>   登陆系统
ifconfig -a看一下是否正确认出了你的Intel网卡
运行cli
cli
root> configure
Entering configuration mode
root#
set system root-authentication plain-text-password
//按提示为root设置新密码;
set system login user lab uid 2004 class super-user authentication plain-text-password
//创建lab用户,并按提示为超级用户lab设置密码;
set system host-name olive
//更改主机名,类似于Cisco的hostname命令
set system domain-name juniper.net
set interface fxp0 unit 0 family inet address 192.168.1.2/24
//设置接口ip地址
set routing-options static route default nexthop 192.168.1.1 retain no-readvertise
//设置默认路由
set system services ftp
set system services telnet
//开启ftp和telnet服务
设置完以后记得commit哦,不然配置是不会生效的^_^

4、Olive升级
首先在Unix命令行中将升级文件通过FTP拷贝到/var/tmp,不要把文件下载在root的家目录/root里面,因为根分区/的容量一般较小,被装满了会
致使olive无法正常启动.
ftp 10.1.1.10
ftp的binary命令设置为二进制传输模式.
用get命令拷贝升级文件。
然后进入Junos命令行
root# request system sotfware add 文件名
升级时必须使用Jinstall安装包,例如:jinstall-8.1R1.5-export-signed.tgz
升级为8.1R1.5后,使用相同的方法安装升级包jinstall-8.3R2.8-export-signed.tgz
安装jweb-8.2R1.7-signed.tgz包后可以使用j-web来进行管理.但需要打开http服务,最好新建一个用户来登陆j-web.
 
------------------------------------
我的部分安装过程:
 
$ ls
$ su
Password:
bsd# cd /var
bsd# ls
account         cron            heimdal         preserve        tmp
at              db              log             run             yp
backups         empty           mail            rwho
crash           games           msgs            spool
bsd# cd tmp
bsd# ls
vi.recover
bsd# ftp 192.168.1.11
Connected to 192.168.1.11.
220 Xlight FTP 2.4 ?íD÷...
Name (192.168.1.11:xiao): abc
a331 Dèòa?ü?? abc
Password:
530 ??óDè¨?T
ftp: Login failed.
Remote system type is UNIXààDí:.
ftp> user
(username) abc
331 Dèòa?ü?? abc
Password:
230 μ???3é1|
ftp> dir
150 ?y?ú′ò?a??±??£ê?êy?Yá??ó?a /bin/ls (387 ±èì?).
drw-rw-rw- 1 ftp ftp                0 Oct 06 17:05 Ahead.Nero.Burning.ROM.v6.6.0.1
drw-rw-rw- 1 ftp ftp                0 Oct 06 19:37 ISO
drw-rw-rw- 1 ftp ftp                0 Oct 08 15:42 RECYCLER
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:15 System Volume Information
drw-rw-rw- 1 ftp ftp                0 Oct 09 14:23 c
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:45 a
226 ′??ííê±? (9.675 KB/s).
ftp> cd c
250 3é1|?D??????
ftp> dir
150 ?y?ú′ò?a??±??£ê?êy?Yá??ó?a /bin/ls (1354 ±èì?).
-rw-rw-rw- 1 ftp ftp            42517 Oct 08 20:10 07.9.jpg
-rw-rw-rw- 1 ftp ftp          6179957 Oct 07 12:06 360safe.exe
drw-rw-rw- 1 ftp ftp                0 Oct 07 20:00 DeepinGhostXP-5.0
-rw-rw-rw- 1 ftp ftp            15719 Oct 07 12:31 DeepinGhostXP-5.0.torrent
-rw-rw-rw- 1 ftp ftp         91914211 Oct 09 14:23 jinstall-8.1R1.5-export-signed.tgz
-rw-rw-rw- 1 ftp ftp           385536 Oct 07 14:04 JN0-341 v2.doc
drw-rw-rw- 1 ftp ftp                0 Oct 09 11:12 juniper
drw-rw-rw- 1 ftp ftp                0 Oct 06 20:03 msendisk
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:16 RECYCLER
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:15 System Volume Information
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:18 TDDOWNLOAD
drw-rw-rw- 1 ftp ftp                0 Oct 09 15:57 Tencent
-rw-rw-rw- 1 ftp ftp        640637555 Oct 08 22:08 TomatoWinXP_SP2_V3.3_Greendown.cn.rar.td
-rw-rw-rw- 1 ftp ftp            35655 Oct 08 22:08 TomatoWinXP_SP2_V3.3_Greendown.cn.rar.td.cfg
-rw-rw-rw- 1 ftp ftp           133211 Oct 07 18:15 _20071007061046_JUM4JUJBJUQ2JUY3JUNEJUM2JUJDJUY2JUEzJUJBMzQxLXRrLWRvYyslQkYlQzklQjQlRjIlRDMlQTE=.rar
dr--r--r-- 1 ftp ftp                0 Oct 08 16:05 ?òμ???μμ
-rw-rw-rw- 1 ftp ftp          2104260 Apr 05 23:13 ??ó°′??μ.mp3
-rw-rw-rw- 1 ftp ftp          1511453 Oct 07 19:21 °???????50ìì?ú?à2á.rar
226 ′??ííê±? (29.435 KB/s).
ftp> cd juniper
250 3é1|?D??????
ftp> dir
150 ?y?ú′ò?a??±??£ê?êy?Yá??ó?a /bin/ls (359 ±èì?).
drw-rw-rw- 1 ftp ftp                0 Oct 09 11:12 .
drw-rw-rw- 1 ftp ftp                0 Oct 09 11:12 ..
-rw-rw-rw- 1 ftp ftp         69045945 Sep 08 17:06 jinstall-7.4R1.7-export-signed.tgz
-rw-rw-rw- 1 ftp ftp         94927919 Sep 05 20:34 jinstall-8.3R2.8-export-signed.tgz
-rw-rw-rw- 1 ftp ftp          3669610 Sep 05 17:44 jweb-8.2R1.7-signed.tgz
226 ′??ííê±? (8.756 KB/s).
ftp> binary
200 ààDíéè???a I.
ftp> get jinstall-7.4R1.7-export-signed.tgz
local: jinstall-7.4R1.7-export-signed.tgz remote: jinstall-7.4R1.7-export-signed.tgz
150 ?y?ú′ò?a?t?????£ê?êy?Yá??ó?a jinstall-7.4R1.7-export-signed.tgz (69045945 ±èì?).
100% |**************************************************| 67427 KB    00:00 ETA
226 ′??ííê±? (10633.905 KB/s).
69045945 bytes received in 6.41 seconds (10.28 MB/s)
ftp> get jinstall-8.3R2.8-export-signed.tgz
local: jinstall-8.3R2.8-export-signed.tgz remote: jinstall-8.3R2.8-export-signed.tgz
150 ?y?ú′ò?a?t?????£ê?êy?Yá??ó?a jinstall-8.3R2.8-export-signed.tgz (94927919 ±èì?).
100% |**************************************************| 92703 KB    00:00 ETA
226 ′??ííê±? (9772.279 KB/s).
94927919 bytes received in 9.63 seconds (9.40 MB/s)
ftp> get jweb-8.2R1.7-signed.tgz
local: jweb-8.2R1.7-signed.tgz remote: jweb-8.2R1.7-signed.tgz
150 ?y?ú′ò?a?t?????£ê?êy?Yá??ó?a jweb-8.2R1.7-signed.tgz (3669610 ±èì?).
100% |**************************************************|  3583 KB    00:00 ETA
226 ′??ííê±? (7195.314 KB/s).
3669610 bytes received in 0.43 seconds (8.17 MB/s)
ftp> dir
150 ?y?ú′ò?a??±??£ê?êy?Yá??ó?a /bin/ls (446 ±èì?).
drw-rw-rw- 1 ftp ftp                0 Oct 09 16:24 .
drw-rw-rw- 1 ftp ftp                0 Oct 09 16:24 ..
-rw-rw-rw- 1 ftp ftp         69045945 Sep 08 17:06 jinstall-7.4R1.7-export-signed.tgz
-rw-rw-rw- 1 ftp ftp         91914211 Oct 09 14:23 jinstall-8.1R1.5-export-signed.tgz
-rw-rw-rw- 1 ftp ftp         94927919 Sep 05 20:34 jinstall-8.3R2.8-export-signed.tgz
-rw-rw-rw- 1 ftp ftp          3669610 Sep 05 17:44 jweb-8.2R1.7-signed.tgz
226 ′??ííê±? (12.054 KB/s).
ftp> cd ..
250 3é1|?D??????
ftp> dir
150 ?y?ú′ò?a??±??£ê?êy?Yá??ó?a /bin/ls (1267 ±èì?).
-rw-rw-rw- 1 ftp ftp            42517 Oct 08 20:10 07.9.jpg
-rw-rw-rw- 1 ftp ftp          6179957 Oct 07 12:06 360safe.exe
drw-rw-rw- 1 ftp ftp                0 Oct 07 20:00 DeepinGhostXP-5.0
-rw-rw-rw- 1 ftp ftp            15719 Oct 07 12:31 DeepinGhostXP-5.0.torrent
-rw-rw-rw- 1 ftp ftp           385536 Oct 07 14:04 JN0-341 v2.doc
drw-rw-rw- 1 ftp ftp                0 Oct 09 16:24 juniper
drw-rw-rw- 1 ftp ftp                0 Oct 06 20:03 msendisk
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:16 RECYCLER
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:15 System Volume Information
drw-rw-rw- 1 ftp ftp                0 Oct 07 21:18 TDDOWNLOAD
drw-rw-rw- 1 ftp ftp                0 Oct 09 15:57 Tencent
-rw-rw-rw- 1 ftp ftp        640637555 Oct 08 22:08 TomatoWinXP_SP2_V3.3_Greendown.cn.rar.td
-rw-rw-rw- 1 ftp ftp            35655 Oct 08 22:08 TomatoWinXP_SP2_V3.3_Greendown.cn.rar.td.cfg
-rw-rw-rw- 1 ftp ftp           133211 Oct 07 18:15 _20071007061046_JUM4JUJBJUQ2JUY3JUNEJUM2JUJDJUY2JUEzJUJBMzQxLXRrLWRvYyslQkYlQzklQjQlRjIlRDMlQTE=.rar
dr--r--r-- 1 ftp ftp                0 Oct 08 16:05 ?òμ???μμ
-rw-rw-rw- 1 ftp ftp          2104260 Apr 05 23:13 ??ó°′??μ.mp3
-rw-rw-rw- 1 ftp ftp          1511453 Oct 07 19:21 °???????50ìì?ú?à2á.rar
226 ′??ííê±? (40.871 KB/s).
ftp> cd juniper
250 3é1|?D??????
ftp> dir
150 ?y?ú′ò?a??±??£ê?êy?Yá??ó?a /bin/ls (446 ±èì?).
drw-rw-rw- 1 ftp ftp                0 Oct 09 16:24 .
drw-rw-rw- 1 ftp ftp                0 Oct 09 16:24 ..
-rw-rw-rw- 1 ftp ftp         69045945 Sep 08 17:06 jinstall-7.4R1.7-export-signed.tgz
-rw-rw-rw- 1 ftp ftp         91914211 Oct 09 14:23 jinstall-8.1R1.5-export-signed.tgz
-rw-rw-rw- 1 ftp ftp         94927919 Sep 05 20:34 jinstall-8.3R2.8-export-signed.tgz
-rw-rw-rw- 1 ftp ftp          3669610 Sep 05 17:44 jweb-8.2R1.7-signed.tgz
226 ′??ííê±? (11.436 KB/s).
ftp> get jinstall-8.1R1.5-export-signed.tgz
local: jinstall-8.1R1.5-export-signed.tgz remote: jinstall-8.1R1.5-export-signed.tgz
150 ?y?ú′ò?a?t?????£ê?êy?Yá??ó?a jinstall-8.1R1.5-export-signed.tgz (91914211 ±èì?).
100% |**************************************************| 89759 KB    00:00 ETA
226 ′??ííê±? (9639.666 KB/s).
91914211 bytes received in 9.45 seconds (9.27 MB/s)
ftp> cd ..
250 3é1|?D??????
ftp> bye
221 ?ù??
bsd# df
Filesystem  1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad0s1a    128990  36886   81786    31%    /
/dev/ad0s1h     74702      2   68724     0%    /config
/dev/ad0s1e    100750     10   92680     0%    /tmp
/dev/ad0s1g    503966 284230  179420    61%    /usr
/dev/ad0s1f   1814318 253878 1415296    15%    /var
procfs              4      4       0   100%    /proc
bsd# df -H
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a   132M    38M    84M    31%    /
/dev/ad0s1h    76M   2.0K    70M     0%    /config
/dev/ad0s1e   103M    10K    95M     0%    /tmp
/dev/ad0s1g   516M   291M   184M    61%    /usr
/dev/ad0s1f   1.9G   260M   1.4G    15%    /var
procfs        4.1K   4.1K     0B   100%    /proc
bsd# ls
jinstall-7.4R1.7-export-signed.tgz      jweb-8.2R1.7-signed.tgz
jinstall-8.1R1.5-export-signed.tgz      vi.recover
jinstall-8.3R2.8-export-signed.tgz
bsd# pwd
/var/tmp
bsd# pkg_add jinstall-8.1R1.5-export-signed.tgz
Verified SHA1 checksum of jinstall-8.1R1.5-export.tgz
Adding jinstall...
sysctl: unknown oid 'hw.re.model'
sysctl: unknown oid 'hw.re.model'
usage: disklabel [-r] disk
                (to read label)
       disklabel -w [-r] [-n] disk type [ packid ]
                (to write label with existing boot program)
       disklabel -e [-r] [-n] disk
                (to edit label)
       disklabel -R [-r] [-n] disk protofile
                (to restore label with existing boot program)
       disklabel -B [-n] [ -b boot1 [ -s boot2 ] ] disk [ type ]
                (to install boot program with existing label)
       disklabel -w -B [-n] [ -b boot1 [ -s boot2 ] ] disk type [ packid ]
                (to write label and boot program)
       disklabel -R -B [-n] [ -b boot1 [ -s boot2 ] ] disk protofile [ type ]
                (to restore label and boot program)
       disklabel [-NW] disk
                (to write disable/enable label)
ELF binary type "0" not known.
Abort trap

WARNING: This installation attempt will be aborted.
WARNING: If you wish to force the installation despite these warnings
WARNING: you may use the 'force' option on the command line.
pkg_add: package /var/tmp/instmp.NHFyw7/jinstall-8.1R1.5-export.tgz fails requirements - not installed
pkg_add: install script returned error status
bsd#

bsd# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005
   
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (233.86-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
  Features=0x80fbff
real memory  = 268435456 (262144K bytes)
avail memory = 255705088 (249712K bytes)
Preloaded elf kernel "kernel" at 0xc055c000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f8180
npx0: on motherboard
npx0: INT 16 interface
pcib0: on motherboard
pci0: on pcib0
agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0
pcib1: at device 1.0 on pci0
pci1: on pcib1
pci1: at 0.0 irq 0
isab0: at device 7.0 on pci0
isa0: on isab0
atapci0: port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: irq 0 at device 7.2 on pci0
uhci0: Could not map ports
device_probe_and_attach: uhci0 attach returned 6
chip0: port 0x5f00-0x5f0f at device 7.3 on pci0
fxp0: port 0xdc80-0xdcbf mem 0xefe00000-0xefefffff,0xeffff000-0xefffffff irq 9 at device 10.0 on pci0
fxp0: Ethernet address 00:d0:b7:6c:7b:2c
inphy0: on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: port 0xdc00-0xdc3f mem 0xefc00000-0xefcfffff,0xefffe000-0xefffefff irq 10 at device 11.0 on pci0
fxp1: Ethernet address 00:90:27:5d:91:50
inphy1: on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0:
bsd# ls
jinstall-7.4R1.7-export-signed.tgz      jweb-8.2R1.7-signed.tgz
jinstall-8.1R1.5-export-signed.tgz      vi.recover
jinstall-8.3R2.8-export-signed.tgz
bsd# pkg_add jinstall-7.4R1.7-export-signed.tgz
Verified SHA1 checksum of jinstall-7.4R1.7-export.tgz
Adding jinstall...
sysctl: unknown oid 'hw.re.model'
sysctl: unknown oid 'hw.re.model'
usage: disklabel [-r] disk
                (to read label)
       disklabel -w [-r] [-n] disk type [ packid ]
                (to write label with existing boot program)
       disklabel -e [-r] [-n] disk
                (to edit label)
       disklabel -R [-r] [-n] disk protofile
                (to restore label with existing boot program)
       disklabel -B [-n] [ -b boot1 [ -s boot2 ] ] disk [ type ]
                (to install boot program with existing label)
       disklabel -w -B [-n] [ -b boot1 [ -s boot2 ] ] disk type [ packid ]
                (to write label and boot program)
       disklabel -R -B [-n] [ -b boot1 [ -s boot2 ] ] disk protofile [ type ]
                (to restore label and boot program)
       disklabel [-NW] disk
                (to write disable/enable label)
WARNING:     This package will load JUNOS 7.4R1.7 software.
WARNING:     It will save JUNOS configuration files, and SSH keys
WARNING:     (if configured), but erase all other files and information
WARNING:     stored on this machine.  It will attempt to preserve dumps
WARNING:     and log files, but this can not be guaranteed.  This is the
WARNING:     pre-installation stage and all the software is loaded when
WARNING:     you reboot the system.
Saving the config files ...
Installing the bootstrap installer ...
WARNING:     A REBOOT IS REQUIRED TO LOAD THIS SOFTWARE CORRECTLY. Use the
WARNING:     'request system reboot' command when software installation is
WARNING:     complete. To abort the installation, do not reboot your system,
WARNING:     instead use the 'request system software delete jinstall'
WARNING:     command as soon as this operation completes.
bsd#
bsd# reboot

cd /var/tmp
ls
install                                 jinstall-8.3R2.8-export-signed.tgz
jbundle-7.4R1.7-export.tgz              preinstall_boot_loader.conf
jbundle-8.1R1.5-export.tgz              sampled.pkts
jinstall-8.1R1.5-export-signed.tgz      vi.recover
cli
root> request system software add jinstall-8.1R1.5-export-signed.tgz
Verified jinstall-8.1R1.5-export.tgz signed by PackageProduction_8_1_0
Adding jinstall...
WARNING:     This package will load JUNOS 8.1R1.5 software.
WARNING:     It will save JUNOS configuration files, and SSH keys
WARNING:     (if configured), but erase all other files and information
WARNING:     stored on this machine.  It will attempt to preserve dumps
WARNING:     and log files, but this can not be guaranteed.  This is the
WARNING:     pre-installation stage and all the software is loaded when
WARNING:     you reboot the system.
Saving the config files ...
Installing the bootstrap installer ...
WARNING:     A REBOOT IS REQUIRED TO LOAD THIS SOFTWARE CORRECTLY. Use the
WARNING:     'request system reboot' command when software installation is
WARNING:     complete. To abort the installation, do not reboot your system,
WARNING:     instead use the 'request system software delete jinstall'
WARNING:     command as soon as this operation completes.
Saving package file in /var/sw/pkg/jinstall-8.1R1.5-export-signed.tgz ...
Saving state for rollback ...
root> request system reboot
Reboot the system ? [yes,no] (no) yes
Shutdown NOW!
Reboot consistency check bypassed - jinstall 8.1R1.5 will complete installation
upon reboot
[pid 11128]

*** FINAL System shutdown message from root@ ***
System going down IMMEDIATELY

root> Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped
syncing disks... 2
done
Uptime: 30m35s
ata0: Spinning down devices. Please wait...
ata2: Spinning down devices. Please wait...
Rebooting...
=================== Bootstrap installer starting ===================6 irq 15 on isa0e stop   remove  /etc/pccard_ether $device st
atkbdc
Initialized the environment42)> at port 0x60,0x64 on i
Routing engine model is Olive "Xircom" "CreditCard 10/100"
Discovered that flash disk =  , hard disk = ad0n atkbdc0e" ?    config  auto "sn" ?   
     
Warning: Block size restricts cylinders per group to 94.
Setting ospackage=jboot-8.1R1.5.tgz, configpackage=configs-8.1R1.5.tgz
Setting packlist=jbundle-8.1R1.5-export.tgz
Setting isupgrade=jboot-8.1R1.5.tgz
Packages and configurations copied to /tmp
Cleaning up ad0...
Running newfs on ad0s1a...
Warning: Block size restricts cylinders per group to 96.
Warning: 3612 sector(s) in last cylinder unallocated
/dev/ad0s1a:    225764 sectors in 56 cylinders of 1 tracks, 4096 sectors
        110.2MB in 1 cyl groups (96 c/g, 192.00MB/g, 14080 i/g)
super-block backups (for fsck -b #) at:
 32
Running newfs on ad0s1e...
Warning: Block size restricts cylinders per group to 106.
Warning: 3588 sector(s) in last cylinder unallocated
/dev/ad0s1e:    25084 sectors in 7 cylinders of 1 tracks, 4096 sectors
        12.2MB in 1 cyl groups (106 c/g, 212.00MB/g, 1664 i/g)
super-block backups (for fsck -b #) at:
 32
Installing disk label on ad0
Installing JUNOS on ad0...
Adding jbase...
Mounted jbase on /mnt/packages/mnt/jbase (/dev/vn0)an, 36528 free /dev/ad0s1e: FILESYSTEM CLEAN; SKIPP
Adding jbundle-8.1R1.5-export.tgz...IA Credit Card Controller"0
       
Requested space: 355325208 bytes, free space: 1739270144 bytes in /var/tmp/instmation)?       remove  /et
# 3Com O
# IBM SC
        logstr  "GENERIC PCMCIA
Verified SHA1 checksum of jdocs-8.1R1.5.tgz
Verified SHA1 checksum of jkernel-8.1R1.5.tgz
Verified SHA1 checksum of jpfe-8.1R1.5.tgz
Verified SHA1 checksum of jroute-8.1R1.5.tgz
Verified SHA1 checksum of pkgtools.tgz
Adding jkernel...
Adding jpfe...
WARNING: hw.product.model='unknown' using jpfe-M40
Adding jdocs...
Adding jroute...
Restoring backed up configurations...
Unmounted /mnt/packages/mnt/jbase
machdep.bootsuccess: 0 -> 0
 -> Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped
syncing disks...
done
Uptime: 2m49s
ata0: Spinning down devices. Please wait...
ata1: Spinning down devices. Please wait...
Rebooting...
Starting final network daemons:.
setting ldconfig path: /usr/lib /opt/lib
starting standard daemons: cron.
Initial rc.i386 initialization: microcode kld.
Local package initialization:.
kern.securelevel: -1 -> 1
starting local daemons:.
Tue Oct  9 17:11:40 UTC 2007
Amnesiac (ttyd0)
login: root
--- JUNOS 8.1R1.5 built 2006-11-02 00:33:41 UTC
ls
.cshrc          .login          .profile
cd /var/tmp
ls
install                                 jinstall-8.3R2.8-export-signed.tgz
jbundle-7.4R1.7-export.tgz              preinstall_boot_loader.conf
jbundle-8.1R1.5-export.tgz              sampled.pkts
jinstall-8.1R1.5-export-signed.tgz      vi.recover
cli
root> request system software add jinstall-8.3R2.8-export-signed.tgz
NOTICE: Validating configuration against jinstall-8.3R2.8-export-signed.tgz.
NOTICE: Use the 'no-validate' option to skip this if desired.
Checking compatibility with configuration
Initializing...
Using jbase-8.1R1.5
Verified manifest signed by PackageProduction_8_1_0
Using /var/tmp/jinstall-8.3R2.8-export-signed.tgz
Verified jinstall-8.3R2.8-export.tgz signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jinstall-signed/jinstall-8.3R2.8-export.tgz
Using /mfs/validate/tmp/jinstall/jbundle-8.3R2.8-export.tgz
阅读(4610) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~