...
- Does Current server have valid key? cat ~/.ssh/id_rsa.pub
- If yes copy "ssh-copy-id -i ~/.ssh/authorized_keys user@host
- If no create ssh key then run ssh-copy-id command from above
...
- This should performed on both servers before running the script.
6) Run Export Script
Note | ||
---|---|---|
| ||
Before running this script below, ensure there is enough space on the target machine to transfer all of the data. Running df -h in the terminal will show you the free disc space. |
Run the following script on the old CentOS 6 server. The following six variables at the top of the script will need to be modified to suit your environment.
...
9) Correct NMIS Hostname on the New CentOS 7 Server
In Config.nmis located at /usr/local/nmis8/conf put the correct hostname for 'server_name' attribute.
...