For Debian based distributions the preferred installation method is using our deb repository.
You need to add the following line to your apt sources:
deb http://download.openwga.com/deb squeeze main
Instead of (Debian) "squeeze" you may use names of other supported linux distributions like "lucid" for the Ubuntu releases of the same name.
For the installation you must have root access on your system. On Debian just login as root. For Ubuntu systems without a "real" root user qualify the installation commands with a preceding sudo to have superuser rights. So for example issue "sudo apt-get update" instead of just "apt-get update". You will be prompted for your user password on the first command.
The repository key can be imported by running:
wget -O- "http://download.openwga.com/deb/pub.asc" | apt-key add -
Then tell your package management to update the available packages:
apt-get install openwga6-ce-base
apt-get install openwga6-ce-feature
The package management will automatically check all dependencies and install an Java SDK if not yet installed. OpenWGA will be started after installation is complete. Just point your browser to:
During installation the package automatically registers a start/stop script '/etc/init.d/openwga' which can be used to start and stop the OpenWGA server.
To start the OpenWGA server type:
To stop the OpenWGA server type:
OpenWGA is further set to start automatically if you reboot your server.
Preparing OpenWGA for MySQL
If you intend to use a MySQL database server to store your OpenWGA content data you might also want to install the package openwga-driver-mysql. It will install the most up-to-date MySQL JDBC database driver that is available in your deb repositories and automatically add it to the classpath of the OpenWGA server.
Just issue this console command:
apt-get install openwga-driver-mysql
This will also automatically restart your OpenWGA server so the MySQL driver will be instantly available.
OpenWGA installed from a Debian package in this way will be automatically updated to the latest stable version using your normal OS upgrade command:
If you want to update OpenWGA only without affecting other packages use:
apt-get install (openwga6-ce-base or openwga6-ce-feature)