Page 1 of 16

ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 15:28
by magnetik
Hello,

We are pleased to announce that we are now offering a public APT repository with the dedicated server.

This feature is in beta stage. Feel free to test it by it may change/break your system.

How to install ?
Check our install guide

You can start the server by executing

Code: Select all

ManiaPlanetServer

from anywhere.

The user starting the servers must be in the group ‘games’.
If you are now, you should type:

Code: Select all

sudo usermod -a -G games <username>
You can copy your own file in /opt/maniaplanet-server, they won't be overwritten.

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 15:50
by TheM
Nice idea! :D
But, is it possible to run multiple servers with multiple configs? Cause then it would be very handy ... ;)

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 15:57
by weerwolf
just number your config files and set in the startupscripts ;)

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 16:03
by farfa
The ManiaPlanetServer command works exactly like the initial software ;)

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 18:05
by kremsy
I hope you will still release it like always too.

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 18:09
by magnetik
Of course!

It's only way faster for debian/ubuntu/mint users..

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 18:26
by kremsy
magnetik wrote:Of course!

It's only way faster for debian/ubuntu/mint users..
Yes, but me for example has every server running under an own linux user and seperated from eachother, so the apt helps not much, except you would make something that we can have something like a path on apt-get.

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 18:29
by niarfman
Hmmm very nice, it will be simpliest to update with such packages.

But ... there is a "but" ^^ ... Many dedicated servers give all the space for /home mount point and the /opt mount point can only offer some gigabytes.

Should be a work-around : Mounting /opt/maniaplanet-server in a /home subfolder ^^

At the end, it's an excellent idea. Thanks for your work !

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 18:38
by niarfman
kremsy wrote:
magnetik wrote:Of course!

It's only way faster for debian/ubuntu/mint users..
Yes, but me for example has every server running under an own linux user and seperated from eachother, so the apt helps not much, except you would make something that we can have something like a path on apt-get.
In your case, you can use links to /opt/maniaplanet-server (with ln -s command) and let the UserData folder local for each user.

An exemple : toto ant titi are 2 users using ManiaPlanet. The ManiaPlanet folder is in their homedirectory

You have : /home/toto/ManiaPlanet and /home/titi.ManiaPlanet
The 2 folders are copies of same datas.

Now you can use these commands :
move /home/toto/ManiaPlanet /home/toto/ManiaPlanet_old
mkdir /home/toto/ManiaPlanet
ln -s /opt/maniaplanet-server/* /home/toto/ManiaPlanet/
rm /home/toto/ManiaPlanet/UserData
cp -R /home/toto/ManiaPlanet_old/UserData /home/toto/ManiaPlanet/

Do the same for titi and you can benefit seperate configurations and single ManiaPlanet.

By removing the old ManiaPlanet folders, you will gain some place too ^^

Re: ManiaPlanet APT (Debian/Ubuntu) repository

Posted: 07 Jan 2013, 19:00
by magnetik
kremsy wrote:
magnetik wrote:Of course!

It's only way faster for debian/ubuntu/mint users..
Yes, but me for example has every server running under an own linux user and seperated from eachother, so the apt helps not much, except you would make something that we can have something like a path on apt-get.
You can't get something like that with a debian package.

You can put the data for all users in /opt/maniaplanet-server/UserData..., and since permissions are only based on group membership (users that run the server must be member of the group "games") every users can use the server.
(We are using it for our servers and it's working fine for us :thumbsup: )

This is the best solution I found without modifying the server...