Linux Host
#1

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?
Reply
#2

https://sampwiki.blast.hk/wiki/Linux_Server
Reply
#3

Chmod the samp03svr,samp-npc,announce and your plugins ... then goto the samp03svr folder(if this is your folder name) then nohup ./samp03svr & ..
Reply
#4

You must chnage it to "777"
Reply
#5

Код:
chmod 777 -R samp03/ && nohup ./samp03/samp03svr &
Reply
#6

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.
Код:
cd ~/samp03
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:
Код:
screen -R samp
To exit simply use: CTRL+C
Reply
#7

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).
Reply
#8

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.
Reply
#9

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.
Reply
#10

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.
Код:
cd ~/samp03
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:
Код:
screen -R samp
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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)