Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- passwd && \
- dpkg-reconfigure locales && \
- dpkg-reconfigure tzdata && \
- apt-get update && \
- apt-get -y upgrade && \
- apt-get -y install linux-image-rpi-rpfv raspberrypi-bootloader-nokernel raspi-copies-and-fills raspi-config sudo wget nano htop mc tmux irssi dnsutils && \
- cp /vmlinuz /boot/kernel.img && \
- dd if=/dev/zero of=/swap bs=1M count=1024 && \
- mkswap /swap && \
- echo "/swap none swap sw 0 0" >> /etc/fstab && \
- hostname serwerr.komprachcice.eu && \
- echo "serwerr.komprachcice.eu" > /etc/hostname && \
- echo "127.0.0.1 localhost serwerr.komprachcice.eu" > /etc/hosts && \
- wget https://raw.github.com/lmjabreu/dotfiles/master/bashrc.raspbian -O - > /etc/skel/.bashrc && \
- echo "" >> ~/.bashrc && \
- echo "export NCURSES_NO_UTF8_ACS=1" >> ~/.bashrc && \
- adduser pi && \
- echo "" >> /etc/sudoers && \
- echo "pi ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers && \
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement