作者steve6307
untitled副本.gif (78.9 KB)
2006-8-5 16:56
好久没有碰Juniper了,闲暇之际下了个Jweb,猜想在Olive上安装应该问题不大,于是开始动手。。。
Jweb必须安装在Junos7.3版本以上的Juniper设备上,这次测试用的Jweb版本为7.5,junos版本为7.4。
Jweb安装文件我已经传到FTP了,文件路径为:
/Software/Juniper/JunOS/JUNOS7.x/jweb-7.5R1.12-signed.tgz
[Copy to clipboard] [ - ]
CODE:
root@juniper% ftp ftp.njut.edu.cn
ftp> get
jweb-7.5R1.12-signed.tgz
local:
jweb-7.5R1.12-signed.tgz remote:
jweb-7.5R1.12-signed.tgz
200 PORT Command successful.
150 Opening BINARY mode data connection for
jweb-7.5R1.12-signed.tgz (3082932 Bytes).
100% |**************************************************| 3010 KB 00:00 ETA
226 Transfer complete.
3082932 bytes received in 0.33 seconds (8.82 MB/s)
ftp> exit
221 Goodbye!
root@juniper% cli
root@juniper> request system software add
jweb-7.5R1.12-signed.tgz
NOTICE: Validating configuration against
jweb-7.5R1.12-signed.tgz.
NOTICE: Use the 'best-effort-load' option to match the checks done at boot time.
NOTICE: Use the 'no-validate' option to skip this if desired.
Checking compatibility with configuration
Initializing...
Using jbase-7.4R1.7
Using /var/tmp/
jweb-7.5R1.12-signed.tgz
Verified
jweb-7.5R1.12.tgz signed by PackageProduction_7_5_0
Using /var/validate/tmp/
jweb-signed/
jweb-7.5R1.12.tgz
Checking
jweb requirements on /
Available space: 64162 require: 5210
Using jkernel-7.4R1.7
Using jroute-7.4R1.7
Validating against /config/juniper.conf.gz
mgd: commit complete
Validation succeeded
Installing package '/var/tmp/
jweb-7.5R1.12-signed.tgz' ...
Verified
jweb-7.5R1.12.tgz signed by PackageProduction_7_5_0
Adding
jweb...
Available space: 64162 require: 5210
Mounted
jweb package on /dev/vn5...
Executing /packages/mnt/
jweb-7.5R1.12/mount.post..
/packages/mnt/
jweb-7.5R1.12/mount.post: /sbin/clonedev: not found
Reloading /config/juniper.conf.gz ...
Activating /config/juniper.conf.gz ...
mgd: commit complete
Restarting mgd ...
Saving package file in /var/sw/pkg/
jweb-7.5R1.12-signed.tgz ...
Saving state for rollback ...
WARNING: cli has been replaced by an updated version:
CLI release 7.4R1.7 built by builder on 2005-10-21 01:30:05 UTC
Restart cli using the new version ? [yes,no] (yes) yes
Restarting cli ...
root@juniper> configure
Entering configuration mode
[edit]
root@juniper# set system services web-management http port 80
root@juniper# set system login user wanglinlin class super-user authentication plain-text-password
root@juniper# set interface fxp0 unit 0 family inet address 202.195.30.181/24
root@juniper# commit