Install from Source Code

In order to track and install all NMS Prime dependencies, the workflow for getting a source code installation up and running starts with the normal RPM installation process. Afterwards the NMS Prime RPM packages are replaced by the GIT repository itself.

Step 1: Installation with RPM

Step 2: Replace RPM packages with the GIT repository

migrate from RPM to GIT installation
for module in $(rpm -qa "nmsprime-*" | grep -v '^nmsprime-repos'); do rpm -e --justdb --noscripts --nodeps "$module"; done
 
yum install git
 
cd /var/www
git clone https://github.com/nmsprime/nmsprime.git nmsprimeGit
mv nmsprimeGit/.git/ nmsprime/
rm -rf nmsprimeGit/
cd nmsprime
 
git checkout -- .