Versions Compared

Key

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

...



5. If the DualShield uses a local MySQL database, then copy the database file "dualshield.sql" from the Windows machine to the home folder of the Linux machine, and import it into the database

Please note:- If you are using Ubuntu you will need to install libncurses5 dependency, first.


Code Block
sudo apt-get install libncurses5

You can then run the following commands to import the dualshield.sql file...  (for the last command replace username with the account name used to log into Linux CLI

Code Block
    cd /opt/dualshield/mysql/bin/
    ./mysql -uroot -p -e "drop database dualshield"
	./mysql -uroot -p -e "create database dualshield DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci"     
	./mysql -uroot -p dualshield < /home/administratorusername/dualshield.sql


6. Copy the following files from the old machine:

...