Jump to content

[Tuto] MTA Server on CentOS 7 with NGINX


Recommended Posts

  • Other Languages Moderators
Posted (edited)
vi /etc/nginx/nginx.conf

i think it too difficult for newbie.

 

i suggest install and use nano.

Edited by Disinterpreter
Posted
5 hours ago, Disinterpreter said:

vi /etc/nginx/nginx.conf

i think it too difficult for newbie.

 

i suggest install and use nano.

It's a good alternative. Another option: connect to SFTP and edit with File Zilla.

  • 1 year later...
Posted

Correct me if i'm wrong but isn't it bad practice to start a gaming server as root? I've always started a game server as a user because if there is an exploit or something they not only can destroy your game server but your entire server itself.

Posted
17 hours ago, Psychotic_OZ said:

Correct me if i'm wrong but isn't it bad practice to start a gaming server as root? I've always started a game server as a user because if there is an exploit or something they not only can destroy your game server but your entire server itself.

To install some packages and edit firewall you need to have root permissions. But yeah, you can run your server without root privileges, its better if you keep minimum needed permissions.

  • 1 year later...
  • 2 months later...
  • 4 weeks later...
Posted (edited)
On 22/02/2020 at 06:46, KINGKHAN said:

What about opening ports problem in ogp panel ,Linux vps centos?

I don't think OGP has a built-in feature to open ports. I never used OGP but i think you just need to open ports using native CentOS firewall.

Nginx port to download files
firewall-cmd --zone=public --add-port=20080/tcp --permanent

Download files
firewall-cmd --zone=public --add-port=22005/tcp --permanent

Join port
firewall-cmd --zone=public --add-port=22003/udp --permanent

Browse port
firewall-cmd --zone=public --add-port=22126/udp --permanent

Save configs
firewall-cmd --reload

Edited by JoaoZanetti

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...