Jump to content

[HELP] How To Run 2 ServerFiles in same Host


Go to solution Solved by Rumor,

Recommended Posts

hi 

 

 

i have a vps and i have a mt2 game installed and i want to upload a new  sf 

 

cuz my old server files have many errors and bugs 

 

and i want to run the new without closing the last one 

 

and when i finish editing the new files i will delete the old one 

 

please   if any knows tel me how cuz im noob on this ,,

Link to comment
Share on other sites

  • Solution

make another folder for your new server.. for example..

 

/home/server1 <- current server files

/home/server2 <- new server files

 

make a copy of your db and rename the databases with a 2 on the end or some other unique identifier to indicate it's for the new server. you can still put these copies in the /var/db/mysql directory.

 

In the config files for the new server, be sure to link the database names correctly, appending the identifier for your new server to match the database names.

 

Assuming your start script is relative to the directory the server files are in, you don't have to modify it; otherwise you need to adjust this as well as the other scripts to deal with the new files.

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.