5.0 KiB
Core System
Goal
The goal is to never setup and configure a system manual again or to care about loosing passwords and important data. Instead the whole process SHOULD be automatized.
Description
This repository contains scripts to set up an working client system, maintain it and to save all important and configuration data on an USB stick. The data is stored encrypted with EncFS. It's adapted to the needs of Kevin Veen-Birkenbach. Feel free to modularize it and to adapt it to your needs.
Core System changes the wallpaper every day to the Astronomy Picture of the Day. This wallpaper is from the 2019-10-07 and shows Jupiter with the shadow of his moon Io.
Core System Norm
This software and compatible software MUST adapt to the "Core System Norm".
Requirements
This script is optimized for a Manjaro Linux. It's recommended to encrypt the hard drive with LUKS if the computer isn't shared.
System
Desktop
The System allows to use a GNOME desktop or a Xfce desktop. Depending on the desktop environment you have different functionalities.
GNOME
Key Bindings
The following Core System specific key bindings exist:
Combination | Result |
---|---|
Ctrl+Alt+A | Opens Atom |
Ctrl+Alt+C | Opens the capture\screenshot dialog |
Ctrl+Alt+E | Opens Eclipse |
Ctrl+Alt+F | Opens Firefox |
Ctrl+Alt+K | Opens KeePassXC |
Ctrl+Alt+R | Opens Rhyhtmbox |
Ctrl+Alt+S | Imports data to core system |
Ctrl+Alt+T | Opens a terminal |
Ctrl+Alt+V | Opens VLC player |
User Data
Right now the software expects that the Core System Owner has on all systems the same username. By executing the import script it automatic backups the application configuration data, ssh keys and other important data which is saved in well defined configuration files and folders.
Functions
Order | Description |
---|---|
bash ./scripts/system-setup.sh |
Setup the customized software on the system on which you execute it. |
bash ./scripts/backup.sh |
Executes all setup scripts. |
bash ./scripts/import-data-from-system.sh |
Import data from the host system. |
bash ./scripts/export-data-to-system.sh |
Export data to the host system. |
bash ./scripts/unlock.sh |
Unlock the stored data. |
bash ./scripts/lock.sh |
Lock the stored data |
bash ./scripts/pull-local-repositories.sh |
Pulls all local repositories branches |
bash ./scripts/pushs-local-repositories.sh |
Pushs all local repositories branches |
encfsctl passwd .encrypted |
Change the password of the encrypted folder. |
Raspberry Pi sdc tools
This repository contains some shell scripts to install Arch Linux for the Raspberry Pi on a SD-Card and to backup a SD-Card.
Todo
- Implement ssh configuration
- Implement wifi automation
Setup
SD-Card
Guided
To install a Linux distribution manually on a SD card type in:
bash ./sd_setup.sh
Piped
To pase the configuration to the program use this syntax:
(
echo "$USER" # | The username
echo "mmcblk1" # | The device
echo "3" # | The raspberry pi number
echo "arch" # | The operation system
echo "n" # | Force image download
echo "n" # | Transfer image
#echo "n" # ├── Overwrite device before copying
echo "test12345" # | The user password
echo "test12345" # | The root password
echo "example-host" # | The hostname
echo "y" # | Setup Wifi on target system
)| sudo bash ./sd_setup.sh
System
Arch
pacman-key --init
pacman-key --populate archlinuxarm
install -m640 /etc/netctl/examples/wireless-wpa domo-de-kosmopolitoj-wpa
nano domo-de-kosmopolitoj-wpa
netctl start domo-de-kosmopolitoj-wpa
netctl enable domo-de-kosmopolitoj-wpa
Ubuntu\Debian
sudo apt update
sudo apt upgrade
Backup
To backup a SD card type in:
bash ./sd_backup.sh
License
The "GNU GENERAL PUBLIC LICENSE Version 3" applies to this project.