1
0

install-linux.md 1.9 KB

Configure a fresh linux installation

Install basic programs

Install git and fish

Change default user

Add

sudo adduser jovian
sudo usermod -aG sudo jovian

Delete default user

raspi-config # boot > cli > not autologin
reboot
sudo userdel -r pi

Clone configuration repository

From Gogs

Set up your tools

By executing scripts from Install folder.

Execute deep-upgrade, basic-install and basic-custom before any tweak.

Hostname

Change hostname with sudoedit /etc/hostname

Reboot.

Tweaks

Scripts are named <component>-<task> where <component> is the part to be tweaked and <task> the purpose of the script, which can be install to install software of this part and custom to configure them as Jovian does.

Installation must be made before customization.

Fish prompt

Execute command set fish_color_user yellow.

Execute command set fish_color_host blue|red|yellow|magenta depending of the power regulation.

Set up SSH

Add client id key

vim .ssh/authorizedkeys

Test if working.

Remove password authentication

sudoedit /etc/ssh/sshd_config

Create id to connect to servers

ssh-keygen -f id_server_eddsa -t ed25519

Then add the generated public key to servers.

Ubuntu repository

You can use the sources.list in Templates to set France OVH mirror.

Desktop installation

Regolith

Official website

sudo apt install i3xrocks-nm-vpn i3xrocks-disk-capacity i3xrocks-bluetooth i3xrocks-temp i3xrocks-volume i3xrocks-memory i3xrocks-battery

Disable package update

sudoedit /etc/apt/apt.conf.d/10periodic APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Update-Package-Lists "0";

Copy dot folders

Like .thunderbird, .mozilla, .ssh