Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation method of java nso

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "the installation method of java nso". In the daily operation, I believe that many people have doubts about the installation method of java nso. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "installation method of java nso". Next, please follow the editor to study!

Front position

I adopt Ubuntu 1804 this time.

NSO environment requirements:

1. Java

2. Ant

Download nso installation file, nso-5.3.linux.x86_64.signed.bin link: https://pan.baidu.com/s/1LJIIHYG5xClvjNUszn8abA password: 4j5dnso ned xr installation file download, ncs-5.3-cisco-iosxr-7.18.2.signed.bin link: https://pan.baidu.com/s/1CaYdgz4PLXmbsrJcbxt4Ew password: 3l1w

It can also be downloaded from the official website. A Cisco account is required.

Installation environment installation apt install apt install openjdk-11-jre-headlessapt install antNSO installation

Here sub-system installation and local installation, system installation is generally used for production, this time only records the local installation, for testing purposes

System installation

Pass

Local installation

The official website documents can be found here.

Note that if the file name downloaded above ends with signed.bin, it is signed by Cisco and needs to be decompressed. If it ends with installer.bin, skip it.

Decompress sh nso-5.3.linux.x86_64.signed.bin

Extract the following files

Root@localhost:~/nso# lltotal 445032drwxr-xr-x 2 root root 4096 Sep 6 10:07. / drwx- 8 root root 4096 Sep 6 10:03.. /-rw-r--r-- 1 root root 12381 Nov 29 2019 cisco_x509_verify_release.py-rwxr-xr-x 1 root root 208163920 Nov 29 2019 nso-5.3.linux.x86_64.installer.bin*-rw-r--r-- 1 root root Nov 29 2019 nso-5.3.linux.x86_64.installer.bin.signature-rw-r--r-- 1 root root 208174605 Sep 6 10:04 nso-5.3.linux.x86_64.signed.bin-rw-r--r-- 1 root root 1812 Nov 29 2019 README.signature-rw-r--r-- 1 root root 1383 Nov 29 2019 tailf.cer

Just focus on nso-5.3.linux.x86_64.installer.bin for the time being, which is the installation file for NSO

Install nsosh nso-5.3.linux.x86_64.installer.bin-local-install ~ / nso-5.3 install the new version of NED

Ned can be thought of as an implementation of nso operating different devices, which is installed by default, but the version is older, see below

Root@localhost:~/nso-5.3# ll packages/neds/total 48drwxr-xr-x 12 root root 4096 Nov 29 2019. / drwxr-xr-x 6 root root 4096 Nov 29 2019.. / drwxr-xr-x 8 root root 4096 Nov 29 2019 a10-acos-cli-3.0/drwxr-xr-x 7 root root 4096 Nov 29 2019 alu-sr-cli-3.4/drwxr-xr-x 8 root root 4096 Nov 29 2019 cisco-asa-cli-6.6/drwxr-xr-x 7 root Root 4096 Nov 29 2019 cisco-ios-cli-3.0/drwxr-xr-x 7 root root 4096 Nov 29 2019 cisco-ios-cli-3.8/drwxr-xr-x 8 root root 4096 Nov 29 2019 cisco-iosxr-cli-3.0/drwxr-xr-x 8 root root 4096 Nov 29 2019 cisco-iosxr-cli-3.5/drwxr-xr-x 8 root root 4096 Nov 29 2019 cisco-nx-cli-3.0/drwxr-xr-x 8 root root 4096 Nov 29 2019 dell-ftos-cli -3.0/drwxr-xr-x 5 root root 4096 Nov 29 2019 juniper-junos-nc-3.0/

After downloading the new version of ned xr, it will be installed in the same way as nso.

1. Decompression

Sh ncs-5.3-cisco-iosxr-7.18.2.signed.bin

Then there will be a file named

Ncs-5.3-cisco-iosxr-7.18.2.tar.gz

two。 Go to the neds directory and unzip it.

Root@localhost:~# cd nso-5.3/packages/neds/root@localhost:~/nso-5.3/packages/neds# tar-zxvf ~ / ncs-5.3-cisco-iosxr-7.18.2.tar.gz

3. The new version is now installed

For other required NED packages, please follow the steps above.

Set up PATHroot@localhost:~# source nso-5.3/ncsrcroot@localhost:~# ncsncs ncs_cli ncs_conf_tool ncs-maapi ncs-project ncs-start-python-vmncs-backup ncs_cmd ncs_crypto_keys ncs-make-package ncs-setup Ncs-uninstallncsc ncs-collect-tech-report ncs_load ncs-netsim ncs-start-java-vm

Permanently add

Source ~ / nso-5.3/ncsrc added to ~ / .bash_profile

At this point, the installation of the NSO environment is complete, but it is not started, the next part starts!

Unloading

To uninstall, simply delete the corresponding directory of NSO and the instance directory.

If you have a running example, you need to stop first.

Cd nso-instancencs-- stoprm-rf nso-5.3rm-rf nso-instance at this point, the study on the "installation method of java nso" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report