Skip to content

Arch Home Server, anyone doing this already?

I'm thinking of installing Arch on an old Dell OptiPlex SX270 I have to act as a home server, all I want to run is Samba, sabnzbd, sick beard and a torrent daemon (toss up between Transmission and Deluge).

Is anyone already running Arch on their home server? If so do you have any recommendations?

Thank you.

38 points61 comments
Open on Reddit
About this post
Posted
Archived
Score
38 · 100% up
Kind
Text
ID
z78bc

Author

9
posts
60
comments
3
media
View profile

62 comments

i did for 2 years.

i love arch, but recently moved to centOS. i may not have a different experience there, but i got tired of my media server and other nonessentials dying. mostly i had issues keeping mediatomb, deluge, and a few others up and running.

i installed arch as secondary OS on my desktop, will continue to use arch, but honestly, if you're actually going to use your fileserver, i'd suggest considering debian, ubuntu server, centos/sl, or something geared for servers with slower, stable releases.

it's not really a shortcoming of arch; arch is what arch is.

but after having tweaked my fileserver for 2 years to get everything exactly how i want it, and now facing the task of doing that again, well, i really wish i'd started with centOS in the first place. (or at least another slower release distro)

so yeah, take that as you will. i'm an admitted arch fanboi. it's probably fine for use as a server OS if you don't intend to do too much with it. if you do, pick something else, or be prepared to spend a lot of time either not upgrading, or sorting out minor issues.

22 points

Yeah, this is exactly what Debian is for.

9 points
unknown author

For home I would prefer a much more bleeding edge distro. Arch fits well. It sucks when you want to install something NEW and find yourself in dependency hell.

2 points

I don’t see why you wouldn’t use arch for a home server, really. I mean, debian or centOS is great for enterprise-stable production, yeah, backported security patches, etc ; but as home server, I find that it doesn’t fit. You don’t need backported patches when you can just have the updated software.

For a fileserver that you let run on its own, yeah, it works pretty well, but when you want to have fun (e.g. run new things, that require newer versions of the libs or languages), you’re screwed. Last time I checked, debian stable backports still had python 2.6 & 3.1, for example.

It’s not like it takes hours per day to check the news and see if updates can break something.

I had a debian server for two years before I switched it to arch, and that was three years ago ; never looked back. I run 4-5 bottle.py/django apps, PHP, mysql, NFS, transmission-daemon, and IM clients, no problem.

6 points

I don’t see why you wouldn’t use arch for a home server, really.

Some of us just don't have the time to administer multiple bleeding edge systems would probably be the biggest reason. Secondly, the idea of a server is stability for the general populous, enterprise application or not. Thirdly Arch is about the worst distro you could use on a server IMO. If you must have bleeding edge, use something with options like Slackware or Gentoo towards updating and configuration. I used Arch on a NAS box for about a year, now I use Open Media Vault, which is a Debian Stable based distro. Oh and as for Debian backports, you can pin current packages from testing if the backports aren't new enough.

/my opinion

3 points

ok, but roughly half of the extras you were running aren't extras. they're either part of the core OS or they're part of the official "extras" repo.

as i mentioned elsewhere on this thread, what i mean is that if you have a lot of moving parts, arch may not be the best bet for you. not only does the official distro move quickly, but many of the optional and user-supplied features may move at their own pace.

two big examples for me would've been deluge and mediatomb. mediatomb was the worst. you'd have aur packages that were maintained, but that didn't jive with other packages, leading to breakage. and finding the culprit is difficult.

this ignores how fast the base system evolves. you can see 300mb+ upgrades once a week, not to mention smaller ones each day. and sometimes bigger. a home server is likely not going to be somebody's fulltime job. which means that checking the news (by this i mean reading the mailing list, because most of the changes don't actually make the archlinux.org news) is not an easy task.

and again, if someone's just using their home server for SMB, ftp, and a couple of other minor things, then maybe it doesn't matter what they use. arch or otherwise.

but you start adding in moving parts, and arch can become difficult to manage, even in a home environment.

and again, finally, it's not knocking arch. there are different tools out there and they all excel for different problems.

1 points

If you don't do too much with it, then you're probably even better off using something with a release cycle. Otherwise, every time you go to use it for anything it'll either be out of date, or will require you to take the time to make sure you can upgrade it safely.

2 points

yeah, i should've been a little more specific. what i meant was, not how often you access it, but, how many moving parts you're going to have.

again. it's not that arch is prone to breaking because it's a bad distro, it's that arch moves at the speed of light, and a lot of the (especially, it seems, aur) maintainers can't keep up. like any community distro, it's probably largely because there aren't enough people actually helping to maintain all the pieces (i know i sure don't contribute much except the very occasional tidbit on #archlinux)

so yeah. i was really just referring to the overall complexity of your system.

do you use it to automate? to pull down torrents, auto-file them? to serve up all sorts of media? to report statistics to your cell phone? other things? might wanna consider not going with arch. then again, maybe it'll be perfect for you. who knows. linux can do/be anything.

1 points

I also use Debian for my home server, things just work and I don't think about it. Deluge, NFS, Samba, Mediatomb, Nginx/php for Ampache.

2 points

Slackware is a great distro for stability as well.

1 points

I second this - unless it's changed hugely since I last used it, Slackware is practically DESIGNED for only doing updates "on purpose" (i.e. not automatically) and only the components you intentionally want to.

You can even simulate a certain amount of Arch's cutting-edge-ness if you want to by doing your updates via SlackBuild scripts out of slackware-current (the advantage of which is that you can usually avoid having to upgrade a bunch of library versions at the same time unless you want to).

3 points

I also did this for a little while (a year or so). I ran samba, cups, and occasionally a torrent client. I have since moved on to Debian for this purpose.

I had a problem where the printer drivers would break every time cups was updated. It got to be a bit of a pain.

1 points

I use rtorrent in a screen session, and it handles over a thousand simultaneous torrents easily.

11 points

I've always wanted to run torrent but never actually got it working. Is it possible to run it as a daemon? Does it have a web front end?

1 points

I run rtorrent on boot in a screen session. This effectively daemonizes it. Also, I use rutorrent as a web front end. It's pretty decent.

2 points

I prefer transmission as a daemon, it's always seemed more stable but YMMMV

2 points
unknown author1 hidden

deluged has a web client that'll do what you want as well.

1 points

I'm running Arch with XBMC and VirtualBox. I'm afraid to do a full update, as the /lib symlinking made my system unbootable the last time I tried it. If you don't have a specific reason to run Arch on a server, I can't recommend it. Go with something on a slower, more stable release cycle.

Also, take a look at rTorrent. It's not a daemon, but you can run it in a detached screen/tmux session and it might as well be.

9 points

If you use --force you're gonna have a bad time.

6 points

I never use --force, as it almost always ends up with broken dependencies. I read the update news and followed instructions and it still broke the install.

1 points

If anyone does try to risk an update from the previous /lib system to the new, NEVER USE --force! NEVER.

Found that out the hard way.

4 points

I use arch on my server but I spend a lot of time maintaining it and regularly updating it. If you are the only person administrating the server and are willing to put in the effort and time it can work great but most likely you would be much better off with the slower and more stable release cycle distros like debian or something.

2 points

Yep I run an arch server and last time I upgraded it I couldn't boot after. I ended up wiping everything and re-installing arch. I like arch enough that it's worth it for me, but it's probably not ideal for a server.

-1 points

I not only run Archlinux on my home server, but I use it for "production" on my linode which hosts a few web sites. ("Production" in this case includes a few tools for research, my homepage and my poor excuse of a blog.) And it stays up :-)

Also, I'm with archboundbastard about rtorrent. I love using it in a screen session.

I'd actually suggest quickly going through linode's securing your server wiki article. Some of it is run-of-the-mill how-to-setup-SSH keys, but the section on configuring your iptables is pretty good.

7 points

I also run Archlinux on my Linode(for the last 2 years) with a couple of servers and it works beautifully.

3 points

Could you not write a systemd unit for rtorrent? Things don't have to daemonize now.

2 points

o_0 What? I don't run rtorrent as a daemon, it doesn't really make much sense to. I run it in a screen session so that it I can reconnect to it and view download progress.

(And I haven't switched over to systemd yet anyway. :P)

1 points

Running an Arch server. It's not as bad as everyone makes it out to be. If you've been using Arch long enough to pay attention to major distro upgrade notices (join the mailing list, read the announcements...) then you shouldn't have many issues with upgrades.

Just stay away from development releases when possible and use the LTS kernel. I've found everything to be fairly stable. I have a couple of problems (Samba doesn't like to start nicely on boot, but comes right back up with a "rc.d restart samba"), but it's mostly gravy. Running headless with systemd (with initscripts compatibility).

Main functions include:

  • Samba
  • MPD
  • SSH
  • Transmissiond
  • Minecraft

I do upgrades ~monthly. It works well for me because I'm very comfortable with Arch.

6 points
unknown author1 hidden

"I'm very comfortable with Arch" - This might be the clincher... I administer RHEL for work, but at home I run Arch on my server (and on a vps with 6sync). I wouldn't dream of using RHEL/CentOS on my home server or vps as Arch just makes sense, and RHEL requires more messing about for me to get things how I want them.

3 points

Word, I've just set up my personal webserver with Arch and it's bloody fantastic.

The only issue I have is that there is no security updates automatically installed like on Ubuntu.

1 points

Security updates are just updates... They don't have a flashing sign or anything. A lot of times, if you see a point-release update it's involving security.

2 points

I've been running an Arch home-server for a good three years now, I'd like to recommend you find and install Torrentflux-b4rt as an alternative to Deluge / sabnzbd.

My reason is simple: Torrentlfux-b4rt is much less of a memory hog compared to deluge's web interface combined with sabnzbd. This is only an issue if you're running on low amounts of ram, obviously :)

Additionally, don't forget to put your SSHD on a non-standard port, you may also consider installing something like Denyhosts in addition.

I update the server once every month, and only when I have considerable time to deal with breakage. Arch isn't exactly well suited for long periods of runtime without updating.

4 points

I've used Arch for home servers before, but these days I use debian. It really comes down to preference, but personally I found that the stability of package versions and backported security fixes were nice for a server, where I didn't want to be arsed to spend too much time maintaining it. If you're willing to give the same care to maintaining your server as you do your desktop though then there's no reason not to use it.

4 points

I'm running Arch on my home server as the Samba master browser with MiniDLNA to stream to my TV. It also runs transmissiond and has a cron job to run FlexGet every hour checking a few RSS feeds for items of interest.

The Transmission Remote GUI makes handling my torrents super easy and there's even an Android app that does the same thing. YMMV, but they work great for me.

I also use the system for development and testing web-based projects.

2 points
unknown author

i have a pentium 2 with arch installed running sshd, deluge, samba, bitlbee, streaming with icecast and working as a bridge. it hasn't failed, even when i used to do regular updates. i don't do them anymore because the computer has problems booting up (a hardware problem and not a linux problem).

2 points

During the last three years I have been using arch linux both in my laptop for work and in my home "server", which I use as (1) network backup/synchronization box with unison, (2) multimedia server running xbmc accessing movies and music from a NAS and having a 32" TV as a display. I update both on an almost daily basis and have never run into anything breaking or going unbootable. All I do is take a look at the arch linux homepage or the arch linux planet before updating. The /lib issue and similar stories were nonexisting in my case.

2 points

Been using Arch for my home server for about a year now. Everything has worked great.

Used for:

  • Routing / Firewall (shorewall)
  • DNS caching and DHCP (dnsmasq)
  • Fileserver (samba)
  • Media center (xbmc)
  • Torrent daemon (deluge)
  • Other assorted server-y things
2 points

I have had an Arch home server for 4-5 years.

Usages:

  • Transmissiond
  • SSH access point/proxy
  • Samba file share
  • NFS file share
  • Apache
  • gitolite repo for personal projects I don't want on github
  • Team Fortress 2 server
  • Minecraft server (retired)
  • Reverse SSH tunnel for remotely fixing parrent's comuters (gave them Linux (never been used :D))

Future projects:

  • buildbot server
  • SPICE (kvm) server
  • LDAP
  • IIRC
  • RSS reader

I got really bad at updating for ~6 months. Had to deal with the /lib, filesystem and Pacman updates all at once. Not fun with a headless machine. Somehow I made it though. I find that having an Arch server lets me throw up a new game server(TF2 MvM), or some new tech quickly(KVM kernel). If I were to do it again? I might go with Debian, as that is what I work with at my work.

2 points

At home I run Arch as a server for a couple things:

  • Nginx
  • GitLab (Rails; "GitHub" clone)
  • sshd
  • Unreal 3.2 IRCd
  • TeamSpeak 3 Server
  • MySQL, Postgres servers

Haven't had any problems; forgot to update it for a while, ended up doing the /lib update, GRUB2, and systemd all inside a week.

Right now I'm going for maximum uptime (though I think I have a kernel update pending; oh foo.)

Solid as a rock, though. I don't think I've ever had Arch crash, and I initially setup this VM in 2010, with a full reinstall in 2011, and I just expanded the virtual disks ("/" and "/home") a few months ago since I got bigger physical disks.

2 points

About a year and a couple of months ago I installed Arch both on my home server and as my main desktop. I enjoyed it, and I've been upgrading both systems at the same time to make things easier for me. Now I'm trying different things on my desktop, so I don't upgrade my Arch desktop as often as I did, which leaves the server without upgrade for too long, and I don't get to always upgrade both at the same time anymore. That's why now it doesn't make that much sense to have an Arch server in my case.

Anyway, as I said, it's been great so far. Don't expect it always works without flaws.

1 points

I have Archlinux ARM on my Raspberry Pi working as my homeserver. It does moinmoin wiki, irc shell and backups.

1 points

I'd run debian on an old PPC mac mini for years as a server, and recently got a raspberry pi. It's working, but I'm starting to think debian would be a better choice because, while I appreciate KISS on a desktop, it recquires more effort to get a working secure, server

1 points

I have an Arch torrent+ftp server at home. Works great with deluged and vsftpd.

1 points
unknown author

As a new arch-user, I still use Debian on my server. Seems simpler,easier and more stable. Just choose basesystem on install and youll get a minimal system. But then again i transferred from Debian to Arch for desktop/laptop-use, so its something youll have to consider for yourself.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.