Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step by step

1.  Install nmis (if not already installed)

Code Block
languagebash
titleInstalling NMIS9
bash ./nmis9-9.1X.1.run Y.run
# read and answer the prompts, checking carefully the selections work for your environment.  
# NMIS does have good default selections and if you have tested those default selections before you can use -- -y to automatically select yes for all.
# nmis9-9.1.1.run should be replaced with correct version you elect to run.

2. Stop nmis8 and nmis9 from running

...

3. Replace the new default NMIS9 var/ and database/ directories for the old custom ones (NMIS8) by copying in the current data.

After migration you would consider removing the nmis8 directories and the old copies of the data.

Code Block
languagebash
rm -rf /usr/local/nmis9/database
rm -rf /usr/local/nmis9/var

cp -rfTarfT /usr/local/nmis8/var /usr/local/nmis9/var
cp -rfTarfT /usr/local/nmis8/database /usr/local/nmis9/database


4. Download and run the Click here to download the import-nmis8-config.sh script and run it

Code Block
languagebash
bash ./import-nmis8-config.sh

...

Code Block
languagebash
/usr/local/nmis9/bin/nmis-cli act=fixperms


6. Lastly, start and verify nmis9d is running

Code Block
languagebash
systemctl start nmis9d.service
systemctl status nmis9d.service

...