Installing a linux dedicated server?!?
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Installing a linux dedicated server?!?
I'm totally new to linux and know nothing at all about it. I've been hosting on win for a few months now so i no something bout hosting but i want to move to linux xubuntu. I have found a .package install file that i want and hve downloaded it (armagetronad-dedicated-0.2.8.2.x86_64-generic-linux-gnu.package). I have looked on the wiki and followed the instructions for the installation on linux but it keeps saying:
jackzenth@ubuntu:~$ bash ./armagetronad(-dedicated)-0.2.8.2.1.i686-generic-linux-gnu.package -t
bash: syntax error near unexpected token `('
in the terminal. Help me please! (Also if it involves "Sudo" , i don't know how that works obviously and will need explaining sorry)
JacKZenTH
jackzenth@ubuntu:~$ bash ./armagetronad(-dedicated)-0.2.8.2.1.i686-generic-linux-gnu.package -t
bash: syntax error near unexpected token `('
in the terminal. Help me please! (Also if it involves "Sudo" , i don't know how that works obviously and will need explaining sorry)
JacKZenTH
Re: Installing a linux dedicated server?!?
Why did you put brackets around "-dedicated"?-JacKZenTH- wrote:jackzenth@ubuntu:~$ bash ./armagetronad(-dedicated)-0.2.8.2.1.i686-generic-linux-gnu.package -t
Try it without...
Code: Select all
bash ./armagetronad-dedicated-0.2.8.2.1.i686-generic-linux-gnu.package -t
in which case it would be...-JacKZenTH- wrote:armagetronad-dedicated-0.2.8.2.x86_64-generic-linux-gnu.package
Code: Select all
bash ./armagetronad-dedicated-0.2.8.2.x86_64-generic-linux-gnu.package -t
Re: Installing a linux dedicated server?!?
If you are using Ubuntu you can install armagetronad-dedicated through apt:
Code: Select all
apt-get install armagetronad-dedicated
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Re: Installing a linux dedicated server?!?
ok i did this:
jackzenth@ubuntu:~$ apt-get install armagetronad-dedicated
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
but that happened lol. i think iv installed it a differnt way now via "synaptic package manager". but i have no idea how to open it and run it?
jackzenth@ubuntu:~$ apt-get install armagetronad-dedicated
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
but that happened lol. i think iv installed it a differnt way now via "synaptic package manager". but i have no idea how to open it and run it?
Re: Installing a linux dedicated server?!?
Try
instead.
Code: Select all
sudo apt-get install armagetronad-dedicated
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Re: Installing a linux dedicated server?!?
ok i think iv got it installed...how do i run it?
Re: Installing a linux dedicated server?!?
Code: Select all
armagetronad-dedicated
Code: Select all
/etc/init.d/armagetronad-dedicated start
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Re: Installing a linux dedicated server?!?
I tried option a:
malcolm@ubuntu:~$ armagetronad-dedicated
/usr/games/armagetronad-dedicated: line 27: /var/games/armagetronad/armagetronad-dedicated-starter.pid: Permission denied
and then option b:
malcolm@ubuntu:~$ /etc/init.d/armagetronad-dedicated start
Not starting Armagetron Advanced dedicated server armagetronad-dedicated, disabled via /etc/default/armagetronad-dedicated
does ubuntu make a difference? as its auth. related....by the way i am the only user so i don't see why i cannot do it
malcolm@ubuntu:~$ armagetronad-dedicated
/usr/games/armagetronad-dedicated: line 27: /var/games/armagetronad/armagetronad-dedicated-starter.pid: Permission denied
and then option b:
malcolm@ubuntu:~$ /etc/init.d/armagetronad-dedicated start
Not starting Armagetron Advanced dedicated server armagetronad-dedicated, disabled via /etc/default/armagetronad-dedicated
does ubuntu make a difference? as its auth. related....by the way i am the only user so i don't see why i cannot do it
Re: Installing a linux dedicated server?!?
It looks like you installed it as root so only root can run it.
Try
or
Try
Code: Select all
sudo armagetronad-dedicated
Code: Select all
sudo /etc/init.d/armagetronad-dedicated start
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Re: Installing a linux dedicated server?!?
Option a:
malcolm@ubuntu:~$ sudo armagetronad-dedicated
[sudo] password for malcolm:
sudo: armagetronad-dedicated: command not found
Option b:
malcolm@ubuntu:~$ sudo /etc/init.d/armagetronad-dedicated start
[sudo] password for malcolm:
Not starting Armagetron Advanced dedicated server armagetronad-dedicated, disabled via /etc/default/armagetronad-dedicated
Sorry to be annoying by the way.
malcolm@ubuntu:~$ sudo armagetronad-dedicated
[sudo] password for malcolm:
sudo: armagetronad-dedicated: command not found
Option b:
malcolm@ubuntu:~$ sudo /etc/init.d/armagetronad-dedicated start
[sudo] password for malcolm:
Not starting Armagetron Advanced dedicated server armagetronad-dedicated, disabled via /etc/default/armagetronad-dedicated
Sorry to be annoying by the way.
Re: Installing a linux dedicated server?!?
For the first method, try
(looks like the ubuntu package is a bit broken. Only root or the designated server owner can run the server script, but it's not in its path.) Note that running a server as root is discouraged, so you probably rather want to have a look at that file the second command's error message pointed you at (/etc/default/armagetronad-dedicated). You'll want the second line there to read
, not =0. Then try the second command again.
Code: Select all
sudo /usr/games/armagetronad-dedicated
Code: Select all
ARMAGETRONAD_SERVER_START=1
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Re: Installing a linux dedicated server?!?
Thanks alot Z-Man great tip....for future ref...
sudo /usr/games/armagetronad-dedicated
is the way to do it on ubuntu....sorry to have used your time!
-JacKZenTH-
sudo /usr/games/armagetronad-dedicated
is the way to do it on ubuntu....sorry to have used your time!
-JacKZenTH-
Re: Installing a linux dedicated server?!?
Not really As I said, you're running the server as root. That is dangerous. A security flaw in armagetronad itself would put your whole system at risk. The /etc/init.d way is much safer.
- -JacKZenTH-
- On Lightcycle Grid
- Posts: 36
- Joined: Sat Apr 25, 2009 2:11 pm
- Location: England
Re: Installing a linux dedicated server?!?
lol probably but its taken me like 4 weeks to learn enough about linux to manage anything and about 2 more to install it and run it like this so it will have to do for now...might change it at some point.
Now i just have the pleasure of learning how to multi host! yay *sarc*
Now i just have the pleasure of learning how to multi host! yay *sarc*
- pie goes moo
- Round Winner
- Posts: 306
- Joined: Wed Aug 12, 2009 10:42 pm
- Location: San Antonio, Texas, USA
Re: Installing a linux dedicated server?!?
I think it also installs to the games folder. I tried it in ubuntu, and it was in the games (Applications>Games>Armagetron Advanced Dedicated)