06-30-2019 09:33 AM
I have followed this guide https://developer.cisco.com/docs/nso/#!getting-nso/getting-nso
but It says the folder nso-5.1 is not empty when it is. So I created folder nso-5.01 is runs and says it is completed but that folder is empty.
rw@rw-NSO:~$ sudo sh nso-5.1.0.1.linux.x86_64.installer.bin $Home/nso-5.1
ERROR ** /nso-5.1 is not empty, aborting installation
rw@rw-NSO:~$ sudo sh nso-5.1.0.1.linux.x86_64.installer.bin $Home/nso-5.1.0
INFO Using temporary directory /tmp/ncs_installer.2891 to stage NCS installation bundle
INFO Unpacked ncs-5.1.0.1 in /nso-5.1.0
INFO Found and unpacked corresponding DOCUMENTATION_PACKAGE
INFO Found and unpacked corresponding EXAMPLE_PACKAGE
INFO Generating default SSH hostkey (this may take some time)
INFO SSH hostkey generated
INFO Environment set-up generated in /nso-5.1.0/ncsrc
INFO NCS installation script finished
INFO Found and unpacked corresponding NETSIM_PACKAGE
INFO NCS installation complete
rw@rw-NSO:~$ ls
cisco_x509_verify_release.py nso-5.1.0 README.signature
Desktop nso-5.1.0.1.linux.x86_64.installer.bin tailf.cer
Documents nso-5.1.0.1.linux.x86_64.installer.bin.signature Templates
Downloads nso-5.1.0.1.linux.x86_64.signed.bin Videos
Music Pictures
nso-5.1 Public
rw@rw-NSO:~$ cd nso-5.1.0
rw@rw-NSO:~/nso-5.1.0$ ls
rw@rw-NSO:~/nso-5.1.0$
06-30-2019 11:55 AM
I'm pretty sure the output told you exactly where it installed this... and you're not looking in the correct place (because of "sudo")...
look...
rw@rw-NSO:~$ sudo sh nso-5.1.0.1.linux.x86_64.installer.bin $Home/nso-5.1.0
INFO Using temporary directory /tmp/ncs_installer.2891 to stage NCS installation bundle
INFO Unpacked ncs-5.1.0.1 in /nso-5.1.0
INFO Found and unpacked corresponding DOCUMENTATION_PACKAGE
INFO Found and unpacked corresponding EXAMPLE_PACKAGE
INFO Generating default SSH hostkey (this may take some time)
INFO SSH hostkey generated
INFO Environment set-up generated in /nso-5.1.0/ncsrc
INFO NCS installation script finished
INFO Found and unpacked corresponding NETSIM_PACKAGE
INFO NCS installation complete
and... you are in "~/nso-5.1.0" (note the "tilda")
rw@rw-NSO:~$ cd nso-5.1.0
rw@rw-NSO:~/nso-5.1.0$ ls
rw@rw-NSO:~/nso-5.1.0$
Do a "pwd" here...
Pretty sure if you look in... "/nso-5.1.0" (slash....) you will find your directory...
If all else fails there are the "basic Linux commands" to find things...
cd /
find . -name nso-5.1.0
(again note the "slash" ....)...
07-01-2019 12:07 AM
Hi there,
Shell variables are case sensitive. You are running the script referring to $Home, this is not the same as $HOME.
As a sanity check what is the output of:
sudo echo $Home
sudo echo $HOME
...this will also reveal whether running the sudo command is replacing the value of $HOME with that of the target user. ie, the files may be installed in /root/nso-5.1.0
cheers,
Seb.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide