SA-MP Forums Archive
Linux Server - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Linux Server (/showthread.php?tid=551138)



Linux Server - lwilson - 17.12.2014

How to start Linux Server ? like samp-server.exe at Window Servers?


Re: Linux Server - Tom1412 - 17.12.2014

on linux you just want too run sudo ./samp*

sudo = root permissions, known as administrator on windows
./ = run
* = match rest of the file name, saves typing it all in.


Re: Linux Server - Vince - 17.12.2014

Never run anything under root if it's not strictly necessary!


Re: Linux Server - www - 17.12.2014

You can run sa-mp server in Linux by:
Код:
# nohup ./samp03svr &
If you have permissions problems you can use:
Код:
# chmod 755 samp03svr announce samp-npc



Re: Linux Server - lwilson - 01.01.2015

up for this


Re: Linux Server - NayanIndia - 01.01.2015

Debian/Ubuntu
Code:
apt-get install mysql-server
CentOS
Code:
yum install mysql-server
Then install phpmyadmin with either apt-get or yum


Re: Linux Server - iGetty - 01.01.2015

You could also use "screen", if you don't have it, use this:

yum install screen

Then change directory to your SA-MP server with:

cd /directory/of/your/samp/server

Then you can use:

screen ./samp03svr

To kill the process, use:

killall -9 samp03svr

Hope I helped.