Since then I have added a few things, partly from that thread.
The big things were hosting Sandstorm.io, which is a complete self-hosted google-apps/office365 type setup that is very easy to use and has great functionality. My entire family uses it for a variety of things that we used to use independent files or google apps for. Nicely collaborative.
I have also recently started self-hosting a meta-searchengine called Searx in order to extricate myself from google on another front. It has also been pleasantly easy to set up, and the aggregated and collated search results have been excellent. Its much faster and more usable than I dreamed of when I decided to test drive it. It anonymizes all browser/os/etc fingerprints to keep the search engines that you query in the dark about your habits. I've toyed with tunneling it over TOR to make the whole thing even more private, but that may slow things down too much. Again, my family have pretty much all switched to it.
I even use both of these things externally (protected by https, geoip blocking and simple auth)
I have also added a minemeld server for IP blocking and DNS blackholing of malware/spyware/C&C servers etc. This is an excellent Ubuntu based free server put out by Palo Alto networks. I combine this with the existing blocking/blackholing I do with the someonewhocares blocking lists. It really keeps browsing from my home network faster, safer and mostly ad free.
Also hedgewars and teeworlds for mindless family multiplayer action
The whole thing can't be too hard, because my kids running Debian were able to download and install dozens of subgames and mods to their computers and self-host for their brothers. All I had to do was show them how to unzip, move and (if required) rename folders.
The directory that mods are placed in will effect how it is loaded. It would be redundant to write it all out here, so check the wiki [1].
The best place to find out what the newest mods are is the forum [2], specifically the mods forum
For a good game (essentially a modpack) to start with, try Mineclone [3]. It tries to create a Minecraft clone, and is very active. My kids were also obsessed with Lord of the Test[4] for a while
[1] - http://dev.minetest.net/Installing_Mods
[2] - https://forum.minetest.net/viewforum.php?f=46
The whole thing started off as a side project while I was working as a consultant at the time, and now it's my full time job. The whole thing is hosted on Google Cloud, in particular AppEngine, so I don't need to worry about DevOps.
I refuse to empower companies like MailChimp who treat their customers like shit. The good thing is, I don't need to pay any percentage of my sales to anyone and no one is holding my data hostage like Shopify - who take your money, take your data and ask you to pay more to access it (checkout how Shopify analytics works).
I run a bunch of E-Commerce dropshipping businesses with this platform and it has served me well. I used Elixir/Phoenix/VueJS for my stack.
I think it has a lot of good entries, which complements this thread well:
https://www.reddit.com/r/selfhosted/comments/7n6bgh/what_sof...
Closely related, but with a different focus is the Homelab community. Quite the rigs some of these guys have set up. http://reddit.com/r/homelab
- 4 x Samba4 DCs on various LANs (file server, ldap, krb, dns, ntp)
- Interconnected at VPN hub in London on Linode over wireguard
- "Road-warrior" VPN via ocserv, shadowsocks and strongswan
- Plex
- Nextcloud + OnlyOffice
- 2 x Windows Server 2008 R2
- Postfix/Dovecot/Horde for mail on a Samba DC for fast LDAP
- Private internal family blog
- Simplesamlphp and mod_auth_mellon for SSO, authenticates via kerberos, if not then SSL (my family use smartcards) and finally username, password and TOTP, all verified against AD
- Transmission
- Xen Orchestra (for managing xcp-ng)
- Rockstor (OS for my NAS using BTRFS RAID10)
- django-ca (for PKI for smartcards and internel certs)
- Used to run Citrix XenApp but now aiming for all desktops to be Linux, so looking at deploying ThinLinc
- Asterisk (all our family have FXO adapters on their phone lines, and all phones have FXS adapters, saves on our international phone calls, and all routed over our VPNs)
I'm a student of languages at uni, but I dunno maybe I should do sysadmin or something
On the cloud instance:
- Tinc VPN
- FTP and a postgres server
- NextCloud - For storing files
- ZNC - IRC Bouncer
- Lounge - IRC client
- Prometheus - TSDB for aggregating emtrics
- Grafana - For displaying the above metrics
- Cloudtorrent - A nifty app when I don't want to download torrents on my machine.
- Monica - An app for managing personal relationships, as I'm really bad with remembering people.
- Cloud9 for a web-IDE.
- Gitea - for mirroring some git repositories.
- FreshRSS - RSS Reader
- Some personal projects
- Traefik - the webserver I use for all these services.
- HAProxy - To proxy traffic from a virtual IP to the raspberry PI at my home.
The rPi is connected to the cloud-server over over tinc VPN. It hosts things which are related to my media:
- Traefik - webserver
- Prometheus - for monitoring purposes.
- Sonarr, Radarr, Jackett - for downloading some TV shows and movies
- Transmission - torrent client
- Ubooquity - for hosting comic books
- Kodi - for browsing/playing media.
- websites (apache, php), on which I host: personal websites, friend's websites, a synchronised grocery list for my gf and I, an URL shortener with file upload capabilities that has some handy features (I'll show-hn this one day, but currently the server is too underpowered and https too unstable), some front ends for websites whose front end I don't like, and a gazillion other scripts written since I was 17 or so.
- ftp (Filezilla server) for friends to change their website
- mysql which can be publicly logged into as read-only for some databases
- openvpn
- I'm a member of the ntpd pool (surprised that nobody abused that one yet)
- backups
- irc bouncer (quassel)
- Factorio (game) server and other games when desired
I also used to host my own dns servers, but after becoming an amplification vector this wasn't really worth it. I might again in the future though, because it seems like rate limiting a source IP should mitigate it for 99%.
And I used to seed torrents (also illegal, admittedly, but also some foss) but I've been using that less with Spotify, little gaming, and just generally less free time on my hands. There's no need for it anymore.
Finally I'd like to be a Tor node but my server can't handle the crypto. It'll get a few kbps of bandwidth and annoy clients because it's so slow. No point to that.
This costs me about 300 euros in hardware and 25 Watts of power. Next upgrade is scheduled for this summer, after my degree, when I can retire my current laptop. It'll draw a bit more, some 71W peak (24W idle), but it'll also be a huge upgrade in speed and will allow me to virtualize things. The current hardware is from 2014ish and while my own software works fine, something like WordPress takes 25 seconds to generate a single page. (For comparison, a custom written blog does a few mysql queries and rendering in some 15ms.)
However, as of now I'm hosting:
On a VPS:
- Personal websites (career and hobbies, built on a custom PHP framework)
- Websites for groups/friends (communities, file sharing, built on a custom PHP framework)
- HAM radio contact log (Web based map and historical logging, built on a custom PHP framework)
- Game engine projects and demos (built on a custom JS game engine)
Isolated on my LAN: - Network of pi's with webcams doing motion detection (using Motion + custom shell scripts + rsync)
- A server to view those pi feeds on (nginx + custom site on custom PHP framework)
- NAS
- Small "media center" (tried a custom site, now kodi)
On a different VPS: - Minecraft server
- A web server to view the world map (nginx)
Some things I'd like to add in the future: - Google docs/drive alternative
- (Or otherwise) a shared recipes/shopping/photosharing to use between me, my gf, and/or my family
- DDG/Google/Bing search alternative
- Network ad blocker
- Firewall
- Public transit schedule/map display for my commute
- A safe way view some of my LAN-based tools remotely
I'm also interested in learning the best practices for data storage/backup/recovery. Taking my data out of the hands of other providers has made me increasingly worried about hardware or software issues losing my files.- linuxserver/transmission
- traefik
- odarriba/timemachine
- gitea/gitea
- tt-rss (tiny-tiny-RSS)
- ubooquity
- speedtest-exporter (+prometheus/grafana)
- radicale (caldav/carddav)
- lychee
- Resilio
- Emby
- AirSonic
- wiki.js
- Jackett/Sonarr/Radarr/Lidarr
Orchestration is via a single host docker managed with Terraform over OpenVPN.
Have all the code (and 5 blog posts) at https://git.captnemo.in/nemo/nebula (self hosted as well!)
For the latter, either everything or nothing depending on how you count it, since I outright refuse to buy 'licenses' for programs or run them on the 'cloud' and make sure to have everything running on my computer (ideally standalone).
So in that sense, all data is locally stored and all programs are of the buy once, use forever kind.
On my web hosting accounts, well then two websites really:
Wario Forums (https://warioforums.com)
And Gaming Reinvented (https://gamingreinvented.com)
Plus a few files for fan games and projects that people I know wanted a permanent host for (read, not something like Dropbox or Mediafire). For example, Mushroom Kingdom Fusion, Super Mario Fusion Revival and Mega Man Day in the Limelight are hosted on the same server too.
IRC client: The Lounge (https://thelounge.chat/)
Trello clone: Wekan (https://wekan.github.io/)
I highly recommend all of them. Also experimenting with self-hosting NextCloud (https://nextcloud.com/) to more easily share files with friends and family, and so far so good. The Awesome-Selfhosted list on GitHub at https://github.com/Kickball/awesome-selfhosted is a decent place to find projects worth looking into.
Internet facing:
1. Custom SMTP Mail Server. Does specific filtering and anti-spam (using SpamAssassin)
2. Various Websites, both personal and professional:
- http://www.Jaruzel.com (personal bits and bobs)
- http://www.MattOwen.com (.net, .org, .co.uk)
- https://www.weegeeks.com (rss reader app)
- http://www.fuzzybuttons.com (small webshop, self written e-commerce code)
- http://www.writersgifts.co.uk (small webshop, self written e-commerce code)
- http://www.Greblord.com (keeping the memory of a dead friend, alive.)
- A custom web-chat server that works through ALL corporate proxies. ;)
I'm in the process of migrating to a new Webserver, and then I can finally switch to SNI based HTTPS, and secure ALL the sites properly.
Internal Servers:
1. SpamAssassin (Ubuntu)
2. 2x Active Directory Servers
3. File Server (12Tb) (Windows Storage Server)
4. IoT Server (runs tasks, listens to events etc)
5. MS SQL Server
6. MS Exchange Server
7. Several other small single-purpose servers. (Various OS's)
8. Dedicated set of VMs for Lab work (I'm a systems architect)
With the exception of the File Server, everything is virtual. My Production VMs run on one large HP Tower workstation and my Lab VMs run on another similar HP box (both are 32Gb, 4Tb, 2x Xeon CPUs). My File Server is self-built tower PC stuffed full of disks as several RAID arrays.
Future stuff:
1. I'm about to launch a Gopher Server, running on my own custom software.
2. I've installed a weather station and will be logging all that info to a dedicated website.
3. At some point I'll start re-running my MUD server as well.
if you want to know more, then https://gopher.floodgap.com/gopher/ is the place to start.
- https://en.openspanish.org (spanish dictionary, still improving)
- https://en.openrussian.org (russian dictionary)
- http://weeks.michel-helms.de (overview over your life, alpha)
- http://nextmovie.co (german movie discovery website)
- https://finsheets.io (import PayPal/Stripe transactions into G Sheets)
Edgerouter 5 POE handles DHCP and L2TP/IPSec. PiHole on a Raspberry Pi 3.
Intel NUC (FreeBSD, with jails for each service):
Nextcloud
Resilio Sync (cross mounted to NextCloud)
Gitea
Emby
Time logging application (for use with GeoFency iOS app)
Surveillance (read-only, camera, environmental sensors)
Sonarr
NzbGet
Deluge
PostgreSQL
ZNC
Jupyter Notebook Server
Nginx for proxying the above services
Synology DS415+ (Not accessible from the internet) Fileshares for the services on the NUC.
Backups of data.
Linode VPS Mail server.
I'm currently trying to decide if i should buy a HPE MicroServer Gen10, run FreeNAS on it, and replace the above with that.- Dovecot, MDA (https://www.dovecot.org)
- Nginx, HTTP(2) Server (https://nginx.org)
- Gogs, Git service (https://gogs.io)
- Coldsweat, RSS aggregator (https://github.com/passiomatic/coldsweat)
What is a reasonable 80-20 progression of most bang for the buck things?
I have a macbook, 2 windows laptops, two wifi routers, and a surplus 1u rack server I picked up after a company datacenter upgrade.
I don't know if that's typical, but I'm sure there are others with a small pile of devices and no idea where to start.
* SMTP, using Postfix with my own greylist software
* HTTP, using Apache
* GOPHER, wrote my own gopher server (source code available via said server)
* QOTD, again, wrote my own
* DNS, running bind but it’s not visible to the outside world. It’s authoritative for all my domains; the company serving up my zones slaves off my DNS server.
Or am i still sleeping on monday morning and dreaming of this to be actually possible?
I regret the day I thought that it would be a good idea...
Everything in kubernetes
I run Gitea/Emby/Mosquitto/Sonarr/Deluge/NZBGet/Nginx/PostgreSQL/Nextcloud, plus a couple of my own services written in Go and Django, and it all runs on a Intel NUC with a celeron and 8GB Ram.
Edit: also Nginx, MySql(for wordpress)
Hosted on two DigitalOcean $5 boxes
IRC: https://github.com/thelounge/thelounge/ (Use a lot, and it works decently well)
Cloud: https://github.com/nextcloud/server/ (Works surprisingly well, however, I've heard there are security issues)
Analytics: https://github.com/matomo-org/matomo/ (I'm comparing how much I'd lose out compared to google analytics, if I ever move away from it)
Chat: https://github.com/RocketChat/Rocket.Chat/ (never really use it, just wanted to see how it works)
Git: https://github.com/gogits/gogs (Mostly for mirroring git repos)
Browser IDE: https://icecoder.net/ (I'm able to edit the code for the bots/projects I host from the browser itself)
Calibre library front end: https://github.com/janeczku/calibre-web
Pastebin: https://github.com/LINKIWI/modern-paste (never use it)
Linkshortener: https://github.com/LINKIWI/linkr (occasional use)
Mail + mailbox + webmail: https://mailcow.email/ (Had to spend a bit more time, but now it is able to deliver mails to gmail/outlook/icloud without issues. I use it as a mailing solution for all the selfhosted projects which need smtp)
Online Markdown editor: https://github.com/joemccann/dillinger (Used quite a few times)
Minecraft server
Music streaming: https://github.com/phanan/koel/ (I'm not a native english speaker, so quite a few songs I listen to aren't on spotify)
Neo4j, mongodb, mysql and postgres: For all database needs.
Server monitoring: https://github.com/firehol/netdata
Photos: https://github.com/Chevereto/Chevereto-Free (I use it quite a lot to host images I'd have used imgur instead)
R Studio server, and Jupyter notebooks: For work/hobby programming
I've had a lot of help from https://selfhosted.libhunt.com/ and https://www.reddit.com/r/selfhosted/
I"ve had to move from one VPS provider to another while testing, so I have a handy guide for setting up quick here: https://github.com/itsmehemant123/basic-vps-setup .
I have a separate guide for hosting each of the above projects behind an nginx with https, but its quite rough right now. So its private.
Kanboard
Wordpress
Hugo
tt-rss
Dokuwiki
- Rocket.Chat
- Some snaps to play around with