Install git
and fish
sudo adduser jovian
sudo usermod -aG sudo jovian
raspi-config # boot > cli > not autologin
reboot
sudo userdel -r pi
By executing scripts from Install folder.
Execute deep-upgrade
, basic-install
and basic-custom
before any tweak.
Execute command set fish_color_user yellow
.
Execute command set fish_color_host blue|red|yellow|magenta
depending of the power regulation.
Need reboot : sudoedit /etc/hostname
No reboot required with systemd : sudo hostname new-hostname
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.
vim .ssh/authorizedkeys
Test if working.
sudoedit /etc/ssh/sshd_config
ssh-keygen -f id_server_eddsa -t ed25519 -C key-name
Then add the generated public key to servers.
You can use the sources.list
in Templates to set France OVH mirror.
sudo apt install i3xrocks-nm-vpn i3xrocks-disk-capacity i3xrocks-bluetooth i3xrocks-temp i3xrocks-volume i3xrocks-memory i3xrocks-battery
sudoedit /etc/apt/apt.conf.d/10periodic APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Update-Package-Lists "0";
Like .thunderbird, .mozilla, .ssh
Launch seahorse and set a blank keyring password.
Warning: this will put your keyring as unencrypted
For non-interactive servers.
Scripts are in Server/Scripts/Update
.
Edit the root crontab :
0 2 * * * /home/jovian/Cron/update_system > /home/jovian/Cron/logs/update_system_log.txt 2> /home/jovian/Cron/logs/update_system_error.txt
0 3 * * 4 /home/jovian/Cron/reboot_system > /home/jovian/Cron/logs/reboot_system_log.txt 2> /home/jovian/Cron/logs/reboot_system_error.txt
@reboot /home/jovian/Cron/boot_system >> /home/jovian/Cron/logs/reboot_system_log.txt 2>> /home/jovian/Cron/logs/reboot_system_error.txt
Note : it's a home-made solution. Prefer unattended-upgrades
for real use cases.