You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat <<EOF> /etc/rsyncd.conf
use chroot = true
#hosts
allow = 0.0.0.0
transfer logging = true
log file = /var/log/rsyncd-ffcdn.log
log format = %h %o %f %l %b
[ffcdn-mediaread]
path = /mnt/sda1/data/freifunk
read only = yes
list = yes
[ffcdn-mediawrite]
path = /mnt/sda1/data/freifunk
hosts allow =
http://cdnmaster.media.freifunk.net
hosts deny *
read only = no
uid = ffcdn
gid = ffcdn
EOF
Configure xinet.d to run rsyncd
cat <<EOF> /etc/xinetd.d/rsyncd
# default: off
# description: The rsync server is a good addition to an ftp server, as it \
# allows crc checksumming etc.
service rsync
{
disable = no
flags = IPv6
socket_type = stream
port = 873
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
EOF
Configure nginx to point to correct path and auto indexing
edit '/etc/nginx/sites-enabled/default' set root to `/mnt/sda1/data`
add `autoindex on;` under `location /`
Media Content
Installation
Clean install - Debian 9 x64
Format Storage Slice
Install basic stuff
Add ffcdn user
Configure rsync daemon
Configure xinet.d to run rsyncd
Configure nginx to point to correct path and auto indexing
Configure users and enable sudo
Configure stats server
Disable SSH Password Login
Add ipv6
Other
Ben's Notes
chmod 700 ~/.ssh
Add DNS entries:
A
alexandria.tomesh.net
209.141.53.33AAAA
alexandria.tomesh.net
2605:6400:20:777::40AAAA
h.alexandria.tomesh.net
fcef:709a:15b:de7f:eb3d:cf30:bdc0:5bfcAAAA
y.alexandria.tomesh.net
201:27b2:1e5d:35f1:b06d:d3b:5fff:8a10sudo apt-get install -y ca-certificates jq
wget https://github.com/benhylau/mesh-router-builder/releases/download/v0.10/cjdns_20.2-0.10_amd64.deb
sudo dpkg -i cjdns_20.2-0.10_amd64.deb
sudo systemctl start cjdns
Added 8 North American public peers
sudo systemctl restart cjdns
wget https://419-115685026-gh.circle-artifacts.com/0/yggdrasil-0.3.2-amd64.deb
sudo dpkg -i yggdrasil-0.3.2-amd64.deb
sudo systemctl start yggdrasil
Added 7 North American public peers
sudo systemctl restart yggdrasil
IPFS
WIP
The text was updated successfully, but these errors were encountered: