JUNOS 5.5版本到5.6版本升级心得
时间:2023-06-11 05:03:42 点击:36

刚刚配了IP地址,保存配置
lab@host# commit
commit complete

切换到operational mode
lab@host# exit
Exiting configuration mode

测试与我的笔记本的连通性^_^
lab@host> ping 192.168.36.43
PING 192.168.36.43 (192.168.36.43): 56 data bytes
64 bytes from 192.168.36.43: icmp_seq=0 ttl=64 time=2.678 ms
64 bytes from 192.168.36.43: icmp_seq=1 ttl=64 time=1.857 ms
64 bytes from 192.168.36.43: icmp_seq=2 ttl=64 time=1.129 ms
64 bytes from 192.168.36.43: icmp_seq=3 ttl=64 time=1.467 ms
64 bytes from 192.168.36.43: icmp_seq=4 ttl=64 time=0.716 ms
64 bytes from 192.168.36.43: icmp_seq=5 ttl=64 time=2.036 ms
64 bytes from 192.168.36.43: icmp_seq=6 ttl=64 time=2.346 ms
^C
--- 192.168.36.43 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.716/1.747/2.678/0.637 ms

转到空间比较大的目录/var下
root@host%
root@host% cd /var
root@host% ls -l
total 44
drwxr-xr-x 2 bin bin 512 Jan 19 2001 account
drwxr-xr-x 4 root wheel 512 Feb 22 2002 at
drwxr-x--- 2 root wheel 512 Jan 19 2001 backups
drwxr-x--- 2 root wheel 512 Feb 22 2002 crash
drwxr-x--- 3 root wheel 512 Feb 22 2002 cron
drwxr-xr-x 5 bin bin 512 Mar 19 17:42 db
drwxr-xr-x 5 root wheel 2560 Mar 19 17:42 etc
drwxrwxr-x 5 root games 512 Feb 22 2002 games
drwxr-xr-x 8 root wheel 512 Jan 28 16:35 home
drwxrwxr-x 2 root wheel 512 Mar 19 17:42 log
drwxrwxr-x 2 bin mail 512 Jan 19 2001 mail
drwxr-xr-x 2 daemon bin 512 Jan 19 2001 msgs
drwxr-xr-x 2 bin bin 512 Jan 19 2001 preserve
drwxr-xr-x 2 root bin 1536 Mar 19 17:42 run
drwxrwxr-x 2 bin daemon 512 Jan 19 2001 rwho
drwxr-xr-x 9 bin bin 512 Feb 22 2002 spool
drwxr-xr-x 3 root wheel 512 Feb 22 2002 sw
drwxrwxrwt 3 bin field 512 Jan 29 00:10 tmp
drwxr-xr-x 2 bin bin 512 Feb 22 2002 yp
root@host% cd /var/tmp
root@host% ls
jbundle-5.5R2.3-export.tgz sampled.pkts
jinstall-5.5R2.3-export-signed.tgz vi.recover
root@host% cd /var/
root@host% pwd
/var

开始FTP.........:-)

root@host% ftp 192.168.36.43
Connected to 192.168.36.43.
220 Serv-U FTP Server v4.0 for WinSock ready...
Name (192.168.36.43:root): ftp
331 User name okay, please send complete E-mail address as password.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> binary
200 Type set to I.
ftp> ls -l
200 PORT Command successful.
150 Opening ASCII mode data connection for /bin/ls.
drw-rw-rw- 1 user group 0 Dec 5 17:06 4.4R3.4
-rw-rw-rw- 1 user group 1474560 Dec 5 15:28 boot.flp
-rw-rw-rw- 1 user group 17728 Nov 28 18:53 fdimage.exe
-r--r--r-- 1 user group 24735403 Nov 25 18:15 jbundle-5.5R2.3-export-signed.tgz
-rw-rw-rw- 1 user group 24759041 Mar 3 08:35 jbundle-5.5R3.1-export-signed.tgz
-rw-rw-rw- 1 user group 28687432 Feb 19 09:01 jbundle-5.6R2.4-export-signed.tgz
-rw-rw-rw- 1 user group 21051665 Apr 27 2002 jinstall-5.0R1.4-export.tgz
-rw-rw-rw- 1 user group 23983137 Dec 5 14:10 jinstall-5.1B3.1-export.tgz
-r--r--r-- 1 user group 25599684 Jul 25 2002 jinstall-5.2R3.4-export.tgz
-r--r--r-- 1 user group 27314596 Nov 25 18:23 jinstall-5.5R2.3-export-signed.tgz
-rw-rw-rw- 1 user group 31351247 Mar 18 21:20 jinstall-5.6R2.4-export-signed.tgz

226 Transfer complete.
ftp> get jbundle-5.6R2.4-export-signed.tgz
local: jbundle-5.6R2.4-export-signed.tgz remote: jbundle-5.6R2.4-export-signed.tgz
200 PORT Command successful.
150 Opening BINARY mode data connection for jbundle-5.6R2.4-export-signed.tgz (28687432 bytes).
100% |**************************************************| 28015 KB 00:00 ETA
226 Transfer complete.
28687432 bytes received in 35.23 seconds (795.31 KB/s)
ftp> bye
221 Goodbye!

开始升级(因我这是小版本升级5.x-->5.y,所以只需要jbundle文件就可以了)

root@host% cli
reroot@host> request system software add jbundle-5.6R2.4-export-signed.tgz

Installing package '/var/jbundle-5.6R2.4-export-signed.tgz' ...
Verified MD5 checksum of jbundle-5.6R2.4-export.tgz
Adding jbundle...
Verified MD5 checksum of jbase-5.6R2.4.tgz
Verified MD5 checksum of jboot-5.6R2.4
Verified MD5 checksum of jdocs-5.6R2.4.tgz
Verified MD5 checksum of jkernel-5.6R2.4.tgz
Verified MD5 checksum of jpfe-5.6R2.4.tgz
Verified MD5 checksum of jroute-5.6R2.4.tgz
Mounted jboot on /mnt (/dev/vn5)
Updating root filesystem...
Unmounted /mnt
Auto-deleting old jroute...
Auto-deleting old jdocs...
Auto-deleting old jpfe...
Auto-deleting old jkernel...
Auto-deleting old jbase...
Adding jbase...

WARNING: A reboot is required to load this software correctly
WARNING: Use the 'request system reboot' command
WARNING: when software installation is complete

Adding jkernel...
Mounted jkernel package on /dev/vn5...
Adding jpfe...
Mounted jpfe package on /dev/vn2...
Adding jdocs...
Mounted jdocs package on /dev/vn6...
Adding jroute...
Mounted jroute package on /dev/vn7...
Saving package file in /var/sw/pkg/jbundle-5.6R2.4-export-signed.tgz ...
Saving state for rollback ...
WARNING: Package jkernel wants to reboot

root@host>

重新启动机器

root@host> request system reboot
Reboot the system ? [yes,no] (no) yes

shutdown: [pid 3555]
Shutdown NOW!

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


Mar 19 17:47:59 init: syslogd (PID 323) exited with status=0 Normal Exit
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: 10m13s
ata0: resetting devices .. done
Rebooting...
Console: serial port
BIOS drive C: is disk0
BIOS 638kB/64504kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
(builder@zu.juniper.net., Fri Feb 14 23:14:36 GMT 2003)
Loading /boot/defaults/loader.conf
/kernel text=0x2f95e7 data=0x266bc+0x49660 syms=[0x4+0x39180+0x4+0x42e68]

Loader Quick Help
-----------------
The boot order is PCMCIA or floppy -> Flash -> Disk -> Lan ->
back to PCMCIA or floppy. Typing reboot from the command prompt will
cycle through the boot devices. On some models, you can set the next
boot device using the nextboot command: nextboot compact-flash | disk

For more information, use the help command: help

Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel]...
Copyright (c) 1996-2001, Juniper Networks, Inc.
All rights reserved.
Copyright (c) 1992-2001 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.
JUNOS 5.6R2.4 #0: 2003-02-14 23:22:39 UTC
builder@zu.juniper.net.:/build/zu-b/5.6R2.4/obj-i386/sys/compile/JUNIPER
Timecounter “i8254“ frequency 1193182 Hz
Timecounter “TSC“ frequency 298648827 Hz
CP

最新游戏更多

最新软件更多

  • 玩家推荐
  • 游戏攻略

金钼软件下载站 Copyright(C) 2008- 601958.cn All Rights Reserved!

闽ICP备2023004188号| 免责声明