Advertisement
akurczyk

Untitled

Feb 23rd, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. passwd && \
  2. dpkg-reconfigure locales && \
  3. dpkg-reconfigure tzdata && \
  4. apt-get update && \
  5. apt-get -y upgrade && \
  6. 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 && \
  7. cp /vmlinuz /boot/kernel.img && \
  8. dd if=/dev/zero of=/swap bs=1M count=1024 && \
  9. mkswap /swap && \
  10. echo "/swap none swap sw 0 0" >> /etc/fstab && \
  11. hostname serwerr.komprachcice.eu && \
  12. echo "serwerr.komprachcice.eu" > /etc/hostname && \
  13. echo "127.0.0.1 localhost serwerr.komprachcice.eu" > /etc/hosts && \
  14. wget https://raw.github.com/lmjabreu/dotfiles/master/bashrc.raspbian -O - > /etc/skel/.bashrc && \
  15. echo "" >> ~/.bashrc && \
  16. echo "export NCURSES_NO_UTF8_ACS=1" >> ~/.bashrc && \
  17. adduser pi && \
  18. echo "" >> /etc/sudoers && \
  19. echo "pi ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers && \
  20. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement