initial commit [141.14.140.180,mike]
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
|
||||
-------------------- Debian 10/11/12 --------------------
|
||||
# su -
|
||||
# apt install git; git clone https://git.fhi.mpg.de/mike/linuxsetup
|
||||
# cd ~/linuxsetup; ./setup.ssh
|
||||
relogin as root
|
||||
# cd ~/linuxsetup; ./setup.debian1x
|
||||
# cd ~/linuxsetup; ./telemetry.setup
|
||||
|
||||
-------------------- Raspberry Pi OS --------------------
|
||||
# sudo passwd root
|
||||
# su -
|
||||
# apt install git; git clone https://git.fhi.mpg.de/mike/linuxsetup
|
||||
# cd ~/linuxsetup; ./setup.ssh
|
||||
relogin as root
|
||||
# cd ~/linuxsetup; ./setup.debian1x
|
||||
# cd ~/linuxsetup; ./telemetry.setup
|
||||
|
||||
-------------------- Ubuntu 18/20/22 --------------------
|
||||
# sudo passwd root
|
||||
# su -
|
||||
# git clone https://git.fhi.mpg.de/mike/linuxsetup
|
||||
# cd ~/linuxsetup; ./setup.ssh
|
||||
relogin as root
|
||||
# cd ~/linuxsetup; ./setup.ubuntu2x
|
||||
# cd ~/linuxsetup; ./telemetry.setup
|
||||
|
||||
-------------------- restic backup --------------------
|
||||
decrypt restic conf (password: quo...):
|
||||
# openssl enc -a -d -aes-256-cbc -salt -pbkdf2 -iter 1000000 -in restic.config.enc
|
||||
# ./restic.setup
|
||||
# rt backup
|
||||
check crontab
|
||||
|
||||
-------------------- mariadb --------------------
|
||||
# apt install mariadb-server
|
||||
MariaDB> ALTER USER root@localhost IDENTIFIED VIA mysql_native_password USING PASSWORD("eizohphu");
|
||||
# mybackup -a
|
||||
# myuser <NAME>
|
||||
|
||||
-------------------- go --------------------
|
||||
# wget https://go.dev/dl/go1.25.4.linux-arm64.tar.gz
|
||||
# rm -rf /db/go && tar -C /db -xzf go1.25.4.linux-arm64.tar.gz
|
||||
export PATH=/db/go/bin:$PATH
|
||||
export CGO_ENABLED=0
|
||||
|
||||
Reference in New Issue
Block a user