Easiest way to setup a CraftBukkit server! [Archlinux]

Discussion in 'Bukkit Help' started by ragon, Jan 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    ragon

    This is a guide for setting up a CraftBukkit server in ArchLinux.
    First a small word about archlinux and why it is the easiest way to setup a CraftBukkit server.
    Archlinux is a minimalistic, bleeding-edge linux 'flavour' , which thanks to it's very easy packaging system and a place to upload user made packages, makes it excellent for finding almost any software you can imagine.

    As I haven't found any builds for bukkit in the AUR (arch user repository) I decided to make my own one and now im sharing it with the community.

    Step 1.


    Ofcourse the first step to setting up a server would be to install the OS, the archlinux website has excellent documentation on how to do this so i suggest you to follow that guide.

    Installation guide

    After that run
    Code:
     pacman -Syu 
    confirm every question with y and reboot to boot with the newest kernel and other cool programs. (yey)


    Step 2.


    The next step is optional but recommended because remote access is just cool (and handy).

    Ofcourse another excellent url for you guys

    ssh guide

    dont forget to generate a key for your ssh server
    Code:
     ssh-keygen # easy isnt it 
    I hope you dont feel like giving up already, because after setting up I promise you this will be easier than ubuntu

    Step 3.

    Now that you have those setup we just need to download a tool called yaourt (Just AnOther User Repository Tool).

    Just because we are all lazy and dont care about what we just entered I wrote a little command which will add the server to you serverlist
    Code:
    echo -ne "[archlinuxfr]\n# yaourt packages and others\nServer = http://repo.archlinux.fr/$(uname -m)\n" >> /etc/pacman.conf #adds the server to your conf file
    pacman -Syu #update the available packages
    pacman -S yaourt # install yaourt
    
    Step 4.

    The last couple of step, which make it all worth that install of arch. :)
    Code:
     yaourt -S bukkit # omg its that easy!!
    /etc/rc.d/bukkit upgrade # cool init script
    
    now add bukkit to your array of init scripts in /etc/rc.conf just as you did for sshd in step 2.

    to find additional plugins just use this command.
    Code:
    yaourt -Ss bukkit
    
    at the moment of writing there is only one plugin available.

    Step 5.

    post the plugins you want me to add to the repository.

    list of plugins available at the moment:

    authorize
    healthy
    general
    minecart-mania-core
    minecart-mania-autocart

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  2. Offline

    Toasty

    I don't see how this is easier than Ubuntu, but I'm glad to see more tutorials for Linux. :D
     
  3. Offline

    ragon

    once its setup you just have to use a single command to install anything you need, and then it will automatically fetch the plugin and put it in the appropriate directory + the init script i wrote is easy for notifying users that the server is going down for lets say upgrade + it upgrades itself automatically after that, very easy to manage with crons.
    if you get tired of a plugin all you will have to do would be
    Code:
     yaourt -R bukkit-yourplugin 
    the aptitude system of debian-based flavours would be harder for this as I havent seen much documentation for packaging without the standard Makefile
     
  4. Offline

    Toasty

    From either of our perspectives, this would make managing a server easier. But if the person trying this has no experience with a terminal, it'll seem really alien to them. A lot of people who aren't really tech savvy/are only used to windows will find managing via a GUI interface much easier.

    Though I may give this a shot myself. I have a MC server running in CentOS, but this seems interesting.
     
  5. Offline

    ragon

    meh, i'll give up on most of this community :/ thought that if you could run a server people would know a little bit more about how an actual server works.
     
  6. Offline

    CaptainShanks

    This is AWESOME! Thanks for setting this up :D
     
  7. Offline

    okdewit

    It's been a while (in this forum thread), but the AUR package on Arch is still actively maintained. I just had a question: can I manually place plugins somewhere? I can't seem to find a plugin directory, although the Bukkit daemon seems to be running.
     
Thread Status:
Not open for further replies.

Share This Page