Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pi-setup
raspbian
=============
* raspi-config: extend filesystem
* reboot
* update, upgrade, rpi-update
* reboot
* dhcpcd.conf -> static ip
interface eth0
static ip_address=192.168.1.5/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
* reboot
* [maybe reset gw]
sudo route add default gw 192.168.1.1
* https://www.reddit.com/r/raspberry_pi/comments/1z31qh/10_things_to_do_after_setting_up_raspberry_pi/
** raspi-config: disable autologin
** create new user with pi's groups
** reboot
** login with new user
** remove pi & pi groups
** create rsa key and copy it to rpi
* mount hard drives
* install transmission
sudo apt-get install transmission-cli transmission-common transmission-daemon
* config transmission
user/pass
whitelist
* install samba
sudo apt-get install samba samba-common-bin
* install minidlna
* config minidlna
media_dir=A,/media/TOSHIBA2T/multimedia/audio
media_dir=P,/media/TOSHIBA2T/multimedia/pictures
media_dir=V,/media/TOSHIBA2T/multimedia/video
* install glances
curl -L http://bit.ly/^Cances | /bin/bash
* autostart glances web
* install nginx
* install gotty
* autostart gotty
* install tmux
## kodi + recalbox (+ volumio) ad-hoc images
* http://www.matthuisman.nz/2015/11/recalbox-kodi-dual-boot-images.html
nfs_issues:
If NFS doesn't start automatically:
* Start rpcbind service
* Restart nfs-kernel-server
* sudo exportfs -rav
Users/groups mapping not working.
start_gotty.sh
#! /bin/sh
PATH=/usr/bin
/home/aserralle/gotty --config "/home/aserralle/.gotty" tmux new -A -s gotty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.