how to remake windows server to linux
#1

hello can somebody tell me how to remake samp windows server to linux becose i have a windows server but my host is linux
Reply
#2

I Think you posted to wrong section. Also, I Didn't understand correctly, what do you mean. If your host is Linux, you need Linux server files. If your host is Windows, you need Windows server files. May that help you little bit?
Reply
#3

Ronalds, you need to download the linux server for SA-MP and extract it to your desktop, this is, if your host doesn't have the Linux files on their server already. You can easily see if they have Linux or Windows based on if they have samp03svr or samp_server.exe, the .exe file is a Windows executable file and samp03svr a Linux program. Now, if you've got the Linux server files then you only need to copy over your filterscripts, gamemodes, plugins, includes, scriptfiles and so on and after you've done that you'll have to put .so after each plugin in the server.cfg. You can then start the server with nohup ./samp03svr and kill it with killall samp03svr (based on if you have the psmisc package or not). Good luck!
Reply
#4

1) Download all the linux version of the plugins your Gamemode requires to run.
2) Open your gamemode and find where you #include the plugins, replace it with the .so plugins.
3) Re-compile with the new linux plugins.
4) Upload to your host.
5) Launch the server.
6) Profit.
Reply
#5

Quote:
Originally Posted by Zebb
View Post
1) Download all the linux version of the plugins your Gamemode requires to run.
2) Open your gamemode and find where you #include the plugins, replace it with the .so plugins.
3) Re-compile with the new linux plugins.
4) Upload to your host.
5) Launch the server.
6) Profit.
You don't need to recompile your gamemode with the Linux plugins. Just change the plugin extensions in your server.cfg to '.so', and make sure you have the Linux plugins in the correct folder. No recompiling required.

I've switched between Windows and Linux hosts several times. Also, I host most of the time on Linux, while I script everything and test most of it locally on my Windows PC.
Reply
#6

thanks )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)