Tag: Self-Hosting

#
System
Opis

How it works Link to heading It measures an in/outbound network traffic and logs in given intervals. If the amount of data sent from the server don’t exceeds a set limit, the server suspends itself. It’s a very useful script intended to use in home servers that are not meant to be turned on constantly. You can ‘wake’ your home server using wakeonlan tool by typing: wakeonlan [server's MAC address] And after the transmission (video streaming, file syncynig, torrent download) is ended it will suspend itself.

Edit 2018-07-14 Link to heading Following Reddit’s comments I made an Ansible role that follows this tutorial. It’s available on my github In the light of recent Github acquisition and my Gitlab account running slow, I decided to give it a go with a self-hosted web git service named Gitea. It is a more-intense developed fork of gogs. It’s Open Source, cross-platform and very lightweight. The real challenge is not installing it, but configuring it properly.

There are many tutorials in the Internet explaining how to enlarge a working root partition installed on LVM. Whether it’s ext4, xfs or other modern file system, online enlarging works most of the time. Shrinking, however, it’s another deal. XFS does not support it at all, even with unmounted file system. Reducing ext4 partition is possible, but it has to be unmounted first, which in the case of root partition is kind of problematic.