Skip to content

Instantly share code, notes, and snippets.

@azizulhakim
Forked from coolaj86/RaspberryPi.md
Last active August 29, 2015 14:23
Show Gist options
  • Save azizulhakim/1820a30fb0a3c96e1c8d to your computer and use it in GitHub Desktop.
Save azizulhakim/1820a30fb0a3c96e1c8d to your computer and use it in GitHub Desktop.

Order Raspberry Pi Open Box

Torrent ArchLinuxArm

wget http://downloads.raspberrypi.org/images/archlinuxarm/archlinuxarm-29-04-2012/archlinuxarm-29-04-2012.zip.torrent
open 
wget http://downloads.raspberrypi.org/images/archlinuxarm/archlinuxarm-29-04-2012/archlinuxarm-29-04-2012.zip

Install

unzip archlinuxarm-*.zip -d ./
dd bs=1m if=./archlinuxarm-*/archlinuxarm-*.img of=/dev/rdisks2

Stick in RPi Boot

Use component video

ssh root@192.168.2.2 # OSX Lion Internet Sharing
ssh 10.42.0.100 # Ubuntu Linux Internet Sharing

The password is root

passwd # changed to ThisIsJustToHard
adduser # include the group wheel
vi /etc/ssh/sshd_config
# set PermitRootLogin no
exit

Login as normal user

ssh ${RPI_USER}@${RPI_ADDR}
su -
# switching to root


pacman -Syyfu
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

choose to update core

pacman -S sudo
visudo
# 

pacman -S git base-devel vim zsh openssl nodejs sqlite screen
pacman -S slocate

Update RPi firmware:

wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update
rpi-update 192

enable HDMI output

sudo mv /boot/config.txt /boot/config.txt.bak

install LXDE as the desktop environment

pacman -Syyfu
sudo pacman -S lxde
sudo pacman -S openbox lxde gamin dbus   #Lxde and needed dependancies
sudo pacman -S xorg-server xorg-xinit xorg-server-utils   #Xorg
sudo pacman -S mesa xf86-video-fbdev xf86-video-vesa   #Video Drivers
sudo mkdir -p /usr/share/lxde/pcmanfm

#To use startx, you will need to define LXDE in your ~/.xinitrc file:
echo "exec ck-launch-session startlxde" >> ~/.xinitrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment