Yona

In AWS install Yona

Prerequisite

sudo service mysql start
sudo mysql_secure_installation
mysql -uroot -p
GRANT ALL PRIVILEGES ON yona.* TO yona@localhost
IDENTIFIED BY 'yonadan' WITH GRANT OPTION;

set global innodb_file_format = BARRACUDA;
set global innodb_large_prefix = ON;
create database yona DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_bin;
[mysqld]
collation-server=utf8mb4_unicode_ci
init-connect='SET NAMES utf8mb4'
character-set-server=utf8mb4
lower_case_table_names=1
innodb_file_format=barracuda
innodb_large_prefix=on
[mysql]
default-character-set=utf8mb4

Install Yona

mkdir local && cd local
wget https://github.com/yona-projects/yona/releases/download/v1.8.1/yona-v1.8.1-bin.zip
unzip yona-v1.8.1-bin.zip
ln -s yona-1.8.1/ yona
cd yona
bin/yona # first for unarchive folders
vi conf/application.conf
# MariaDB
db.default.driver=org.mariadb.jdbc.Driver
db.default.url="jdbc:mariadb://127.0.0.1:3306/yona?useServerPrepStmts=true"
db.default.user=yona
db.default.password="yonadan"

Run Yona in Background

nohup bin/yona &

Err 발생시

Yona in Windows

참고

What Else?