Skip to content

Instantly share code, notes, and snippets.

@dkilcy
Last active December 26, 2015 08:49
Show Gist options
  • Save dkilcy/7124739 to your computer and use it in GitHub Desktop.
Save dkilcy/7124739 to your computer and use it in GitHub Desktop.
Lubuntu Server 13.06 configuration on Cubieboard2 Notes
- export LANG=C
- Update release (apt-get update)
- Add missing python-apt package: apt-get install python-apt
- Add static network route and set hostname (/etc/hostname and /etc/hosts)
- export PS1=...
- Use MiniTool Partition Wizard Home Edition to create ext4 filesystem on microSD (Samsung microSDXC UHS-I Card Pro 64GB)
- Mount SDXC card and add to /etc/fstab
use dmesg | grep mccblk to find correct mount point
mkdir /data
mount /dev/mmcblk0p1 /data
df -TH
sudo echo "/dev/mmcblk0p1 /data ext4 defaults,noatime 0 2" >> /etc/fstab
- Install Java: Download jdk-7u45-linux-arm-vfp-hflt.tar.gz from oracle.com
tar zxvf jdk-7u45-linux-arm-vfp-hflt.tar.gz
sudo mv jdk1.7.0._45 /usr/lib/jvm
sudo ln -sf jdk1.7.0_45 java-7-oracle
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
export PATH=$PATH:$JAVA_HOME/bin
java -version
- Setup SSH
ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
ssh localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment