-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrading
Before you start, make sure the slaves are turned off.
nafsdm versions 1.2 and onwards have automatic upgrading.
In versions after 1.2.5, you can upgrade nafsdm-slave using nafscli. Run the upgrade command.
nafscli upgrade
For 1.1-stable and 1.0.1-stable, you can follow this guide to manually upgrade your system.
1.0.1-stable does have config changes, but the script automatically fixes them (currently, but might not in the future).
To get started, download the upgrade script.
wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeMaster.sh
Start the script.
bash upgradeMaster.sh
The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted. Currently, this means that you will have to add the "dnssec.yes" or "dnssec.no" flag on all domains in your data file.
rm -rf upgradeMaster.sh
To get started, download the upgrade script.
wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeSlave.sh
Start the script with the operating system you are using as an agrument (like the example below).
bash upgradeSlave.sh debian
(debian can be replaced by "ubuntu" or "centos")
The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted.
rm -rf upgradeSlave.sh
1.1 currently has no big differences, so script will do everything for ya. :).
To get started, download the upgrade script.
wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeMaster.sh
Start the script.
bash upgradeMaster.sh
The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted.
rm -rf upgradeMaster.sh
To get started, download the upgrade script.
wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeSlave.sh
Start the script with the operating system you are using as an agrument (like the example below).
bash upgradeSlave.sh debian
(debian can be replaced by "ubuntu" or "centos")
The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted.
rm -rf upgradeSlave.sh