Linux Host - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Linux Host (
/showthread.php?tid=455807)
Linux Host -
SAMPbitch - 03.08.2013
Hello, My server is linux but my files are for windows..
I replaced the windows plugins by linux plugins.
Then i changed in the server.cfg the names with .so after them
I dont know what to do next.. Can someone help me?
Re: Linux Host -
linuxthefish - 03.08.2013
https://sampwiki.blast.hk/wiki/Linux_Server
Re: Linux Host -
denom - 03.08.2013
Chmod the samp03svr,samp-npc,announce and your plugins ... then goto the samp03svr folder(if this is your folder name) then nohup ./samp03svr & ..
Re: Linux Host -
morocco - 03.08.2013
You must chnage it to "777"
Re: Linux Host -
dr1ftp0w3r - 03.08.2013
Код:
chmod 777 -R samp03/ && nohup ./samp03/samp03svr &
Re: Linux Host -
NewerthRoleplay - 03.08.2013
Once you follow the steps in that link, I'd recommend using
screen to install screen you can use:
Код:
yum -y install screen
(note: only for systems that use the yum repo such as CentOS)
Then you should cd to the directory with the SA:MP files in it.
e.g.
then to start the server use the command:
Код:
screen -S samp ./samp03svr
To exit out of this and leave it running use: CTRL+A+D.
And if you wish to go back into samp to close it etc. Use:
To exit simply use: CTRL+C
Re: Linux Host -
Ayumi - 03.08.2013
Alternatively, although it ins't recommended. You could get the repository for 'WINE' - which allows a Linux box to run selective Windows executable's.
However, it is highly recommended as stated above to download the repository for the Linux compatible files rather than windows. Nothing should change as it doesn't affect your plugins. It simply gives you a compatible executable file to run on a Linux box rather than a .exe (along with a few other files).
Re: Linux Host -
NewerthRoleplay - 03.08.2013
Quote:
Originally Posted by Ayumi
Alternatively, although it ins't recommended. You could get the repository for 'WINE' - which allows a Linux box to run selective Windows executable's.
However, it is highly recommended as stated above to download the repository for the Linux compatible files rather than windows. Nothing should change as it doesn't affect your plugins. It simply gives you a compatible executable file to run on a Linux box rather than a .exe (along with a few other files).
|
Even stating to use WINE in a linux environment, is a terrible idea. WINE should never be used when wanting to run a stable executable for a long time.
Re: Linux Host -
ColorHost-Kevin - 03.08.2013
Quote:
Originally Posted by Ayumi
Alternatively, although it ins't recommended. You could get the repository for 'WINE' - which allows a Linux box to run selective Windows executable's.
However, it is highly recommended as stated above to download the repository for the Linux compatible files rather than windows. Nothing should change as it doesn't affect your plugins. It simply gives you a compatible executable file to run on a Linux box rather than a .exe (along with a few other files).
|
Thats not such a good idea as stated, he should use Linux.
Re: Linux Host -
linuxthefish - 03.08.2013
Quote:
Originally Posted by NewerthRoleplay
Once you follow the steps in that link, I'd recommend using screen to install screen you can use:
Код:
yum -y install screen
(note: only for systems that use the yum repo such as CentOS)
Then you should cd to the directory with the SA:MP files in it.
e.g.
then to start the server use the command:
Код:
screen -S samp ./samp03svr
To exit out of this and leave it running use: CTRL+A+D.
And if you wish to go back into samp to close it etc. Use:
To exit simply use: CTRL+C
|
Quote:
Originally Posted by Ayumi
Alternatively, although it ins't recommended. You could get the repository for 'WINE' - which allows a Linux box to run selective Windows executable's.
However, it is highly recommended as stated above to download the repository for the Linux compatible files rather than windows. Nothing should change as it doesn't affect your plugins. It simply gives you a compatible executable file to run on a Linux box rather than a .exe (along with a few other files).
|
Both bad ideas tbh, and a waste of resources. It's much better to run it in the background!