Results 1 to 3 of 3

Thread: Auto Run & Auto Tasking MTA Server On The VPS

  1. #1
    Join Date
    Mar 2024
    Beans
    1

    Question Auto Run & Auto Tasking MTA Server On The VPS

    How can I make the Apache web server and Mysql database connect to a game server and work every time the Linux VPS is restarted, and in addition, we can get the sources in a GitHub repository automatically after the server is restarted?

  2. #2
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Auto Run & Auto Tasking MTA Server On The VPS

    Quote Originally Posted by arianvixor View Post
    How can I make the Apache web server and Mysql database connect to a game server and work every time the Linux VPS is restarted, and in addition, we can get the sources in a GitHub repository automatically after the server is restarted?
    Pulling code automatically from a github repo that isn't under your control is extremely dangerous. There are far too many examples where that method hacked the server after other projects were poisoned with C&C code or worse.

    You'll need to be clearer on what you mean by "make the Apache web server and Mysql database connect to a game server and work every time". Both are servers, so I'm confused about having a server connect to general use https or DBMS servers. Usually, it is the other way around.

    Apache would connect to the app-server which would connect to the DBMS. For this to happen, you just need to start the DBMS first, then the app-server, followed by apache last.

  3. #3
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Auto Run & Auto Tasking MTA Server On The VPS

    A few days ago, an example happened: https://www.phoronix.com/news/XZ-CVE-2024-3094 . This one isn't THAT bad, unless you use beta Linux versions.

    If you use python, https://arstechnica.com/security/202...-chain-attack/

    Almost every coding language gets hit with some important repos that are hosted publicly being modified with hacked code.
    https://arstechnica.com/security/202...ngoing-attack/

    Canonical's snap packages have been hit a few times with malicious code:
    https://www.theregister.com/2024/03/...p_store_scams/

    Be careful out there.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •