Last active
November 28, 2015 03:18
-
-
Save ArnaudD/a047b7ae5a62281e045c to your computer and use it in GitHub Desktop.
Raspberry Setup 2015
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source-directory /etc/network/interfaces.d | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet manual | |
# wpa_passphrase "ssid" "password" | |
auto wlan0 | |
allow-hotplug wlan0 | |
iface wlan0 inet dhcp | |
wpa-ssid XXXXXXXXXXXXX | |
wpa-psk XXXXXXXXXXXXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ssh [email protected] | |
# Watchdog | |
apt-get install watchdog | |
modprobe bcm2708_wdog | |
echo "bcm2708_wdog" >> /etc/modules | |
update-rc.d watchdog defaults | |
# Edit /etc/watchdog.conf | |
# and uncomment the following: | |
# - max-load-1 | |
# - watchdog-device | |
# Fail2ban | |
apt-get install fail2ban | |
cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local | |
service fail2ban restart | |
apt-get install \ | |
git git-doc git-gui \ | |
vim \ | |
htop \ | |
zsh \ | |
ack-grep \ | |
curl \ | |
grep \ | |
tmux \ | |
-y | |
# Default | |
chsh -s $(which zsh) pi | |
update-alternatives --set editor /usr/bin/vim.basic | |
# NodeJS | |
https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-armv6l.tar.gz | |
tar -xvf node-v4.2.2-linux-armv6l.tar.gz | |
cp -R node-v4.2.2-linux-armv6l/* /usr/local/ | |
rm node-v4.2.2-linux-armv6l -r | |
# home conf | |
git clone [email protected]:ArnaudD/MyDotFiles.git --recursive | |
sh MyDotFiles/install.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment