Dedicated Server on Ubuntu
Dedicated Server on Ubuntu
Hello,
I ned Help setting up a dedicated server on ubuntu. I have already downloaded the sty using the branch command as shown here. http://wiki.armagetronad.org/index.php?title=Sty
After that I looked at this wiki. http://wiki.armagetronad.org/index.php? ... stallation
and I am stuck at the bottom part after it says ./configure it tells me to "make" and "sudo make install"
Ive typed both of these commands into the terminal and it says
make: *** No targets specified and no makefile found. Stop.
I have no idea what this means!
I need help to get this server running! Thank You. Much help will be very appreciated
I ned Help setting up a dedicated server on ubuntu. I have already downloaded the sty using the branch command as shown here. http://wiki.armagetronad.org/index.php?title=Sty
After that I looked at this wiki. http://wiki.armagetronad.org/index.php? ... stallation
and I am stuck at the bottom part after it says ./configure it tells me to "make" and "sudo make install"
Ive typed both of these commands into the terminal and it says
make: *** No targets specified and no makefile found. Stop.
I have no idea what this means!
I need help to get this server running! Thank You. Much help will be very appreciated
Re: Dedicated Server on Ubuntu
If you're interested, I've made a script that will do all the work for you on a fresh server. If you don't like it being automated, feel free to open it up and see how it's done. It's just bash, so you can do it yourself.
Link: Setting Up Multiple Armagetron Servers the Easy Way
Link: Setting Up Multiple Armagetron Servers the Easy Way
Re: Dedicated Server on Ubuntu
ty light. and its me eez btw
Re: Dedicated Server on Ubuntu
Ah! In that case, let me find that trojan I've been meaning to give you ..Seraphim wrote:ty light. and its me eez btw
Re: Dedicated Server on Ubuntu
LOL hahaha <3 DO ET!!
Re: Dedicated Server on Ubuntu
i did the wget command and entered my root password and it says authentification failure
Re: Dedicated Server on Ubuntu
wget is run at user level, so you shouldn't need to enter a password. Don't use sudo or the file is going to be owned by root, which isn't a problem, but I don't want to add confusion.Seraphim wrote:i did the wget command and entered my root password and it says authentification failure
As a note. When you're using sudo permissions, you need to enter YOUR password, not root's. Also, be sure that the user you're running it as is part of the sudo group.
By default on an Ubuntu server, you're root. So you could just create a user like I showed on the wiki. If you're doing it on Ubuntu Desktop, then you should already have a user, so you can use yourself.
Re: Dedicated Server on Ubuntu
my password is admin and its not working
Re: Dedicated Server on Ubuntu
Are you using the server or desktop package?Seraphim wrote:my password is admin and its not working
If you're using the server package, just SSH into it as root and add yourself to the group.
If you're on the desktop package, then you should already be a part of the sudo group, allowing you to use it with your password. It should even say "[sudo] password for tom:" with your username ..
So, to add to the sudo group ..
Code: Select all
sudo usermod -aG sudo {USERNAME}
Not sure what else to tell ya.
----
Last quick idea is that maybe you're trying to output the file to a location you don't have permissions to write in? Make sure you cd to your home directory before using wget.
Re: Dedicated Server on Ubuntu
idk if mine is a server or desktop package. heres where i got it from.
https://code.launchpad.net/~armagetrona ... -sty+ct+ap
https://code.launchpad.net/~armagetrona ... -sty+ct+ap
Re: Dedicated Server on Ubuntu
If I could chime in, if you only want to have one server on the computer, I would not fiddle with a multi-server management system, but instead use the default dedicated server system. To do this, first get the sources.
For sty+ct, run to get the sources in a folder called sty+ct.
To get sty+ct+ap, use
Next, compile the sources. Change to the directory and run to compile the sources and put the compiled files in the proper places.
Then to start the server, simply run
To stop, run
You can additionally add the server to the normal boot-up by running
Your configuration will be located at /etc/games/armagetronad/settings_custom.cfg.
For sty+ct, run
Code: Select all
bzr branch lp:~armagetron-ct/armagetronad/0.2.8-armagetronad-sty+ct sty+ct
To get sty+ct+ap, use
Code: Select all
bzr branch lp:~armagetronad-ap/armagetronad/0.2.9-armagetronad-sty+ct+ap sty+ct+ap
Code: Select all
./configure --enable-dedicated && make && sudo make install
Then to start the server, simply run
Code: Select all
sudo /etc/init.d/armagetronad start
Code: Select all
sudo /etc/init.d/armagetronad stop
Code: Select all
sudo update-rc.d armagetron defaults
Re: Dedicated Server on Ubuntu
I'm talking about Ubuntu, your OS.Seraphim wrote:idk if mine is a server or desktop package. heres where i got it from.
https://code.launchpad.net/~armagetrona ... -sty+ct+ap
Re: Dedicated Server on Ubuntu
Ok light I got it fully installed and configured and i edited the cfg files already. But a quick question.
I used the commands here to start up the server and it just keeps saying Killed myServer:
cd /home/USERNAME/armagetronad/scripts
sudo -s -u USERNAME . boot.sh myServer
How do I start up the server and get into the console window?
I used the commands here to start up the server and it just keeps saying Killed myServer:
cd /home/USERNAME/armagetronad/scripts
sudo -s -u USERNAME . boot.sh myServer
How do I start up the server and get into the console window?
Re: Dedicated Server on Ubuntu
Sorry for taking so long to reply.
When it boots, it runs the kill script first. It just prevents you from throwing up duplicate servers.
To get into the console, you just jump into the screen.
Get a list of screens: sudo -s -u USER screen -ls
Get into the screen: sudo -s -u USER screen -rS SCREEN
Detatch from screen without closing: CTRL + A then CTRL + D
If you want, you can also run the boot script (screens) just as root. If you use other peoples' scripts though, watch because they could be dangerous. Also a bad idea if you're hosting other users.
sudo . boot.sh or sudo . boot.sh myServer
Alternatively:
su
. boot.sh or . boot.sh myServer
Now .. I'll give what I think you're looking for. If you don't want to run it in a screen, you don't HAVE to. It's just convenient since you don't want 10 consoles up if you're running servers. Well, maybe you do, but I wouldn't.
If you're using a script:
su
cd /path/to/myServer/scripts
/path/to/armagetronad/scripts/srv.sh myServer
If not ..
su
./srv.sh myServer
The boot script does this for you, which is why you need to use source (the . at the beginning) to cd. You very likely wouldn't want the script executing from the scripts folder (with your server controls in) if you ever ran a script that isn't yours. One rm * and your scripts are all gone. They could also control the servers and whatnot. On that note, you should also set "other" permissions to 0 for your controls. That will prevent USER from accessing them when they shouldn't.
Since you're probably not hosting people, a lot of that don't matter, but I just thought I'd throw it in there. If you need help with anything else, just reply and I'll get back to you tomorrow morning. I gotta go for the day.
-Xaotique
When it boots, it runs the kill script first. It just prevents you from throwing up duplicate servers.
To get into the console, you just jump into the screen.
Get a list of screens: sudo -s -u USER screen -ls
Get into the screen: sudo -s -u USER screen -rS SCREEN
Detatch from screen without closing: CTRL + A then CTRL + D
If you want, you can also run the boot script (screens) just as root. If you use other peoples' scripts though, watch because they could be dangerous. Also a bad idea if you're hosting other users.
sudo . boot.sh or sudo . boot.sh myServer
Alternatively:
su
. boot.sh or . boot.sh myServer
Now .. I'll give what I think you're looking for. If you don't want to run it in a screen, you don't HAVE to. It's just convenient since you don't want 10 consoles up if you're running servers. Well, maybe you do, but I wouldn't.
If you're using a script:
su
cd /path/to/myServer/scripts
/path/to/armagetronad/scripts/srv.sh myServer
If not ..
su
./srv.sh myServer
The boot script does this for you, which is why you need to use source (the . at the beginning) to cd. You very likely wouldn't want the script executing from the scripts folder (with your server controls in) if you ever ran a script that isn't yours. One rm * and your scripts are all gone. They could also control the servers and whatnot. On that note, you should also set "other" permissions to 0 for your controls. That will prevent USER from accessing them when they shouldn't.
Since you're probably not hosting people, a lot of that don't matter, but I just thought I'd throw it in there. If you need help with anything else, just reply and I'll get back to you tomorrow morning. I gotta go for the day.
-Xaotique