Repository navigation
Debian 10 Install
$ sudo apt update
$ sudo apt install mariadb-server
$ sudo mysql_secure_installation
$ sudo mariadb
MariaDB [(none)] =>
CREATE DATABASE example_database;GRANT ALL ON example_database.* TO 'example_user'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;FLUSH PRIVILEGES;exit;
$ sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
Open the 50-server.cnf file and replace this code below
bind-address = 127.0.0.1
To this
bind-address = 0.0.0.0
$ systemctl restart mariadb
$ sudo apt update
$ sudo sudo apt upgrade -y && sudo reboot
$ sudo apt -y install lsb-release apt-transport-https ca-certificates
$ sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
$ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y
$ sudo apt-get install nginx php7.4-fpm
$ sudo nano /etc/nginx/sites-available/default
Open the default file and insert this code below
server {
listen 80;
listen [::]:80;
root /var/www/html/public;
index index.php index.html index.htm;
server_name LINK www.LINK;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
}
server{
listen 80 default_server;
listen [::]:80 default_server;
server_name "";
return 444;
root /var/www/html/public;
index index.php index.html;
location /{
return 444;
}
}
$ sudo apt-get install unzip
Insert the CMS inside "/var/www/html/"
$ unzip filename.zip
$ sudo chmod 777 App
$ sudo chmod 777 public
$ sudo chmod 777 public/tmp
$ sudo chmod 777 public/tmp/NAME.cache
Insert the EMU inside "home/Arcturus" (Create the Arcturus map in /home/)
$ unzip filename.zip
Linux is built that when you close your SSH your session will be lost and everything will close That means that if your emulator is running it will be closed when you close your session. For that we have a program called screen that everything runs in the background.
$ sudo apt install screen
$ sudo apt install default-jre
$ sudo screen
Press space 2 times.
$ java -jar FILENAME.jar
Emulator is now running.