1. Preparation - 1, PC configuration requirements: Junos 5.5 or less: Pentium CPU / 64M memory / 1GB IDE hard disk / Intel EtherExpress Pro 10 / 100M network card Junos 5.5-6.2: Pentium CPU / 128M memory / 1GB IDE hard disk / Intel Etherexpress Pro 10 / 100M NIC Junos6.4-7.0: Pentium CPU / 256M Memory / 1GB IDE Hard Disk / Intel EtherExpress Pro 10 / 100M NIC Intel EtherExpress network card has three chips, named Intel82557, 82558 and 82559, these three Both can be used on Olive, in the second-hand market, their prices are about 25/35/70 yuan. When installing, there must be a display and keyboard. After the Olive is installed, it will not be used. It is best to bring a Cisco's Console cable, which can be connected to the notebook to connect the Olive Machine COM1 in the notebook.
--2, FreeBSD Operating System: Junos is developed based on FreeBSD3.3, so it is recommended to use FreeBSD 3.x version, 4.x can also, 5.x is absolutely not. You can get freebsd's MINI version ISO file from ftp://ftp.freebsd.org/. I installed Junos5.5, 5.6, 6.2, 6.4, 7.0 on FreeBSD 4.9.
If you use a CD-ROM startup installation, you have to use the Burning Tool to burn this ISO file to the disc.
If you use a flop drive to start installation, use the tool software /Tools/fdimage.ex provided on the disc to write the kern.flp and mflp of the directory / floppies to two floppy disks, with these two floppy disks Start the machine, let the freeBSD installation after ftp / cd-rom / NFS / HTTP.
2, installation work
--1, FreeBSD installation I don't specifically introduce FreeBSD installation, mainly listing several attention partitions, no matter what you use, you must divide / var / wd0s1f (FREEBSD 3.3 before version) or / DEV / AD0S1F on this device, otherwise the following Olive installation step will not continue. Cause: Olive will then establish your own file system structure and partition, which will put the packages now to this cache partition, if the AD0S1f is / TMP partition, the installation file will not be found after the installation is restarted, the following is a partition example: SLICE Size Mount Poing Ming --------------------------------------------- - / DEV / AD0S1A 400M /; root partition / dev / AD0S1b 256m swap; swap space, generally multiple memory multiple, this is 2 times here; / DEV / AD0S1E 200M / TMP; it seems to be used in Juniper's router / AD0S1F 2000M / VAR; store various configurations and system files, etc .; / dev / ad0s1g rest / usr; store freebsd system files; --2, Junos installation After freeBSD is successfully installed, it will pass through FTP or disc. JINSTALL and JBUNDLE are copied to / var / tmp. For Junos 5.x, the first installation requires a JINSTALL version. Perform the following initialization work: a. Execute command # mkdir / var / etc # touch /var/etc/master.passwd # touch /var/etc/inetd.conf # touch / var / etc / group (if you are using FreeBSD 3.3 Subsequent version, also required # r r / dev / wd0c # ln -s / dev / AD0C / DEV / WD0C
b. Install Olive # pkg_add jinstall-5.5r2.3-export-sign.tgz c. Modify /boT/Loader.conf in the console = "comConsole" in /boot/loader.conf to: console = "vidconsole" (after Junos successfully installed, install The program will modify the /boot/loader.conf file, start the information dump to COM1 so that detailed startup information cannot be seen on the display, which can only be managed from COM.) 3, Olive Basic Configuration Due to root users only You can log in on Console, so after completing the basic installation of Olive, some basic configurations can be made, such as creating users, setting host name / domain information, interface addresses, and gateways, etc. For example: User: root password: