-
Switch the Chromebook to developer mode.
-
Download crouton.
-
Create a chroot for a CLI environment.
crosh> shell
chronos@localhost /$ sudo sh -e ~/Downloads/crouton -t cli-extra
-
Answer at the prompts and finish the Ubuntu install.
-
Enter the chroot and set up ssh.
chronos@localhost /$ sudo enter-chroot
gsf@localhost:~$ sudo apt-get install ssh
Reading package lists... Done
...
gsf@localhost:~$ ssh-keygen -f ~/Downloads/id_rsa
Generating public/private rsa key pair.
...
gsf@localhost:~$ cat ~/Downloads/id_rsa.pub > ~/.ssh/authorized_keys
gsf@localhost:~$ sudo /etc/init.d/ssh start
* Starting OpenBSD Secure Shell server sshd
-
Add Secure Shell (hterm) and Crosh Window to Chrome. Create a connection for localhost, importing id_rsa and id_rsa.pub from Downloads for the identity.
-
Log in and apt-get away! See dnschneid/crouton#115 for setting up Screen and https://github.com/dnschneid/crouton/wiki#backups for making a backup once it's set up nice like you like it. You can also add
/etc/init.d/ssh start
to /etc/rc.local so it starts on enter-chroot. -
For compiling Node.js, install libssl-dev and use
./configure --shared-openssl --without-snapshot
. See nodejs/node-v0.x-archive#5180.