From: DeskNow Knowledge Base
http://www.desknow.com/kb/

How do I migrate DeskNow from Windows to Linux/Unix?
http://www.desknow.com/kb/idx/9/014/article/

It is possible, and usually straightforward, to migrate your DeskNow installation and data from Windows to Linux/Unix (and viceversa, following pretty much the inverse steps).

  1. install DeskNow on the Linux server, and make sure it runs fine
  2. stop DeskNow both on the Windows and Linux servers
  3. make a zip (or tar.gz) archive of the entire desknowdata directory in Windows, and copy it to the Linux server. Tip: if using ftp, make sure to use a binary transfer, or the zip file will be corrupted. We will presume that the backup is stored in /root/desknow_backup.zip
  4. in the linux server, login as root, and give the following commands:
    • mv /var/desknowdata /var/desknowdata_old
    • cd /var
    • unzip /root/desknow_backup.zip
    • cd desknowdata
    • cp /var/desknowdata_old/server.xml .
  5. edit /var/desknowdata/cfg/DeskNowBase.cfg and adjust the path accordingly
  6. edit /var/desknowdata/cfg/Backup.cfg and make sure that BasePath points to a valid path
  7. run the configuration wizard:
    • /var/desknow/bin/configconsole.sh
  8. start DeskNow
  9. login as admin and adjust the antivirus settings in Administration/Antivirus

Important:

If you are using an external database (like MySQL), and yow want to migrate it to the new server as well, see this article. Note that you don't have to. You can run DeskNow on one server, and the database on another. You can also run DeskNow on Linux, and keep using a MS SQL Server database on Windows. Make sure that Database.cfg is pointing to the location of your database.

If you're using the embedded PostgreSQL database, you will need to migrate that to Linux as well. See this article. Also make sure to edit the Database.cfg configuration file, and set:

Startup.Enable  FALSE
Shutdown.Enable  FALSE

Once the migration process is complete, start DeskNow in console with the command:

/var/desknow/bin/catalina.sh run

 

This will show immediately if DeskNow is starting correctly. To stop DeskNow while running in console, simply press CTRL-C.

Once everything works fine, restart DeskNow as normal with /etc/init.d/desknow start