Categories
Linux

Setting up dev env

sudo apt-get update && sudo apt-get upgrade
sudo -i
apt-get install python3 git curl
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py

When trying this again in 2021, from scratch, I needed this for python3:

sudo apt-get install python3-distutils
sudo apt-get install python3-dev
pip install virtualenv
apt install default-jdk         <<    apt vs apt-get
pip install docker-compose
chmod +x /usr/local/bin/docker-compose

Note that the advised method didn't work:
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose 

At this point, docker craps out, complaining bout “/sys/fs/cgroup/cpuset/docker/cpus ” (See other post)

Categories
Linux

Ubuntu on crouton

Installed Ubuntu on the chroot ‘partition’, using crouton, on ChromeOS. But it turns out, docker doesn’t want to work. It’s loosely related to these issues:

https://github.com/docker/for-linux/issues/689

https://github.com/moby/moby/issues/33594

It’s not necessarily a deal-breaker, but it is super lame.

There are other options for Linux, so will try them. https://chrx.org/ and GalliumOS in the next attempt. Dual-boot.

Another interesting attempt is here, where a guy recompiles the ChromeOS kernel with the config variables that docker is not finding. https://gist.github.com/christianbundy/ba62890a7c2f8128bcbb

Categories
Linux

Ubuntu install

apt-get update && sudo apt-get upgrade

apt-get install python3

apt-get install git

apt-get install curl

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python3 get-pip.py

pip install virtualenv

apt-get install default-jdk

TODO: open-ssh, download code, get started