Installing a RSGCore Server on Linux step by step
nano 50-server.cnf
, which opens a command line text file editor.
The screenshot below shows you what line needs changing. The default setting will have the bind address set to 127.0.0.1, which only allows local host connections. We will change this to 0.0.0.0 to allow any and all connections to the database.
sudo systemctl restart mariadb
You can check the status of the service by using the below command
sudo systemctl status mariadb
sudo iptables --version
If you get a response similiar to what is below in the screenshot, then youâve got iptables installed and ready for use.
iptables returning its version
Once youâve verified that you have iptables installed, just run the following command to open the 3306 port for MySQL Connections.
sudo iptables -A INPUT -p tcp --dport 3306 -j ACCEPT
You can check if the port is open and able to be seen by using this website here.
wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/5742-ded89bc6acf29a720a7686a1de70d28b62c75af8/fx.tar.xz
After this is done, you will have the files in the directory you currently are. You then simply âuntarâ the archive with the tar command found below
tar -xf fx.tar.xz
The console will hang for a bit. After it is done, you should see the files in the directory after you run the dir command.
./run.sh
The rest of the setup is relatively easy, since you are now setting up txAdmin, it is identical to the Windows installation. Continue the tutorial in the Windows section, just skipping the part about the artifacts and continuing after the .exe is ran here.