Appendix B. Set Up External Repo
Appendix B. Set Up External RepoAppendix B. Set Up External Repo
Complete the following procedure to set up an external repository (Repo).
Note: 1.) You need an unzip utility installed on the host to complete this procedure. 2.) You must know how to create a web server before you complete the following procedure.
- (Conditional) Complete this step if you have an external repo and you want to override it.
- Case 1: You bootstrapped the host from an external repo and you want to upgrade using a local repo on the Admin Server.
- Create the /etc/netwitness/platform/repobase file.
vi /etc/netwitness/platform/repobase - Edit the repobase file so that the only information in the file is the following URL.
https://nw-node-zero/nwrpmrepo - Complete the instructions on how to run the upgrade using the upgrade-cli-client tool.
- Create the /etc/netwitness/platform/repobase file.
- Case 2: You bootstrapped the host from local repo on the Admin server (NW Server host) and you want to use an external repo for the upgrade.
- Create the /etc/netwitness/platform/repobase file.
vi /etc/netwitness/platform/repobase - Edit the repobase file so that the only information in the file is the following URL.
https:/// - Complete the instructions on how to run the upgrade using the upgrade-cli-client tool.
The instructions are in "Appendix A. Offline Method (No Connectivity to Live Services) - Command Line Interface" in the Upgrade Guide for NetWitness Platform. Go to the NetWitness All Versions Documents page and find NetWitness Platform guides to troubleshoot issues.
- Create the /etc/netwitness/platform/repobase file.
- Case 1: You bootstrapped the host from an external repo and you want to upgrade using a local repo on the Admin Server.
- Set up the external repo.
- Log in to the web server host.
- Create directory to host the NW repository (netwitness-11.7.0.0.zip), for example ziprepo under web-root of the web server. For example, /var/netwitness is the web-root, run the following command string.
mkdir -p /var/netwitness/ - Create the 11.7.0.0 directory under /var/netwitness/
.
mkdir -p /var/netwitness//11.7.0.0 - Create the OS and RSA directories under /var/netwitness/
/11.7.0.0.
mkdir -p /var/netwitness//11.7.0.0/OS
mkdir -p /var/netwitness//11.7.0.0/RSA - Unzip the netwitness-11.7.0.0.zip file into the /var/netwitness/
/11.7.0.0 directory.
unzip netwitness-11.7.0.0.zip -d /var/netwitness//11.7.0.0
Unzipping netwitness-11.7.0.0.zip results in two zip files (OS-11.7.0.0.zip and RSA-11.7.0.0.zip) and some other files. - Unzip the:
OS-11.7.0.0.zip into the /var/netwitness/
/11.7.0.0/OS directory.
unzip /var/netwitness//11.7.0.0/OS-11.7.0.0.zip -d /var/netwitness/ /11.7.0.0/OS
The external url for the repo is http://
/ . - Unzip the:
RSA-11.7.0.0.zip into the /var/netwitness//11.7.0.0/RSA directory.
unzip /var/netwitness//11.7.0.0/RSA-11.7.0.0.zip -d /var/netwitness/ /11.7.0.0/RSA
- (Conditional - For Azure) Follow these steps for Azure update.
- mkdir -p /var/netwitness/
/11.7.0.0/OS/other - unzip nw-azure-11.3-extras.zip -d /var/netwitness/
/11.7.0.0/OS/other - cd /var/netwitness/
/11.7.0.0/OS - createrepo
- Use the http://
/ in response to Enter the base URL of the external update repositories prompt from NW 11.7.0.0 Setup program (nwsetup-tui) prompt.