Bootstrap Ubuntu
My rough notes on bootstrapping a plain Ubuntu instance into my dev environment.
Prequisites
- Ubuntu 22.04 (I use Ubuntu MATE)
- My user with
sudo
permissions
Install any updates.
|
|
Remote Access
- Pin the IP address
- Install an SSH server
- Add my public key
- Verify SSH access
Pin the IP address
Currently my internal network is managed by [eero].
Verify that, if using WiFi, that I’m connected to the correct WiFi network.
- Open [eero] app on phone
- Settings
- Network Settings
- Reservations & port forwarding
- Add a Resrvation
- Select device
- Save
Install an SSH server
|
|
Assuming the hostname is anker
with an IP address of 192.168.2.22
:
Add host details to ~/.ssh/config
:
|
|
Test that you can ssh to the server:
|
|
Exit and return to the local machine.
Add my public key
Add public key to server:
|
|
Verify SSH access
Verify that you don’t need to enter your password (assuming your ssh-agent is working):
|
|
Configure home directory
I use [yadm] to track my user settings, although I want to have a look at [chezmoi] as a possible alternative.
- Install rust, rtx and yadm
- Clone yadm dotfiles
- Verify submodules
- Verify ssh access retained
- Verify neovim config loaded
Install rust, rtx and yadm
Run the following commands on the server.
Rust
|
|
Quit and restart ssh and verify ~/.cargo/bin/
is in your PATH
.
RTX
|
|
Note, when using NuShell, I’m not able to run rtx without specifying the full path,
~/.cargo/bin/rtx
.
Yadm
|
|
Now clone the yadm dotfiles repo:
|
|
Boostrap
Run the bootstrap:
|
|
Install Desktop software
If using the machine as a desktop.
- Vivaldi
- Thunderbird
Install Docker
These are the instructions from docker.com
|
|