Skip to content

Instantly share code, notes, and snippets.

@musichook
musichook / tmbackup.sh
Last active Dec 31, 2019 — forked from aidmax/tmbackup.sh
Install Time Machine service on CentOS 7
View tmbackup.sh
# Install Time Machine service on CentOS 7
# Updated for netatalk 3.1.12
# install required packages for compiling from source
yum install -y rpm-build gcc make wget
# install Perl-IO-socket dependency for netatalk 3.1.12
yum install -y perl-IO-Socket-INET6 perl-interpreter perl-generators libxslt
# install netatalk
@musichook
musichook / install_bitcoin.sh
Last active Jul 12, 2019 — forked from hunanboy/install_bitcoin.sh
Install Bitcoin Node (CentOS 7)
View install_bitcoin.sh
#!/bin/bash
# WARNING: 1G size ram won't work! Bitcoin "make" consumes lots of ram. Add swap first: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7
# Adapted from: https://www.ndchost.com/wiki/how-to-install-bitcoin-on-centos-7
BITCOIN_TAG="v0.18.0"
# Install the EPEL repository
sudo yum install -y epel-release
@musichook
musichook / avahi+netatalk.sh
Last active Jun 9, 2018
Install Time Machine service on CentOS 7
View avahi+netatalk.sh
# Install Time Machine service on CentOS 7
# Updated for netatalk 3.1.10
# install required packages for compiling from source
yum install -y rpm-build gcc make wget
# install Perl-IO-socket dependency for netatalk 3.1.10
yum install -y perl-IO-Socket-INET6
# install netatalk