Installation instructions of devel/zanata-platform port

Zanata platform components

WildFly - Zanata application (.war) is deployed here
MySQL database
ClamAV (Optional)

When running it for the first time, the following steps are necessary.

MySQL

After running the MySQL server, create a database/username for Zanata, example:

mysql> CREATE DATABASE zanata /**!40100 DEFAULT CHARACTER SET utf8 **/;
mysql> CREATE USER 'zanata'@'localhost' IDENTIFIED BY 'zanatapwXXXX';
mysql> GRANT ALL ON zanata.* TO 'zanata'@'localhost';

WildFly

A WildFly config sample file for Zanata is installed in /usr/local/wildfly10/standalone/configuration/standalone-zanata.xml.sample you need to copy it to /usr/local/wildfly10/standalone/configuration/standalone.xml and then configure it properly. The main attention points are:

Zanata Startup

/etc/rc.conf

wildfly10_enable="YES"
mysql_enable="YES"               # If it's running on the same machine
clamav_freshclam_enable="YES"    # If you are using antivirus
clamav_clamd_enable="YES"

Admin User

After running Zanata for the first time, you need to execute this script to create an admin user, remember to change the password:

$ fetch https://raw.githubusercontent.com/zanata/zanata-platform/master/server/docker/conf/admin-user-setup.sql \
-o /tmp
$ mysql -u<username> -p<password> zanata < /tmp/admin-user-setup.sql

Default admin password

In /tmp/admin-user-setup.sql you will have a default admin password configured, remember to change the admin password and API token after the first login.

More information about the installation process at Zanata Platform Documentation.


CategoryPorts

Zanata/Install (last edited 2020-04-18T07:36:39+0000 by KubilayKocak)