StuRa:Server/TurnKey
initiales Initiieren
Programm turnkey-init
turnkey-init
Dienst turnkey-init-fence
systemctl status turnkey-init-fence
$EDITOR /usr/lib/inithooks/firstboot.d/30turnkey-init-fence
systemctl status turnkey-init-fence
systemctl stop turnkey-init-fence
Aktualisierung
Ermittlung der aktuellen Version
Ausgeben des Inhaltes der Datei /etc/turnkey_version
cat /etc/turnkey_version
turnkey-nextcloud-15.2-stretch-amd64
(planloser erster Versuch) Aktualisierung von TurnKey 15 auf TurnKey 16
lsb_release -a
No LSB modules are available. Distributor ID: TurnKey Description: TurnKey GNU/Linux 9.13 (stretch) Release: 9.13 Codename: stretch
ls /etc/apt/sources.list
ls: cannot access '/etc/apt/sources.list': No such file or directory
ls /etc/apt/sources.list.d/
php.list security.sources.list sources.list
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/*.list
apt update
W: GPG error: http://archive.turnkeylinux.org/debian buster-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9F3DF15B48406D14 E: The repository 'http://archive.turnkeylinux.org/debian buster-security Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://archive.turnkeylinux.org/debian buster Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1C7082DDE779614F E: The repository 'http://archive.turnkeylinux.org/debian buster Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
apt-key adv --keyserver http://keyserver.ubuntu.com:80 --recv-keys C2518248EEA14886
Executing: /tmp/apt-key-gpghome.WU6BFi2Coo/gpg.1.sh --keyserver http://keyserver.ubuntu.com:80 --recv-keys C2518248EEA14886
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.WU6BFi2Coo/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
<pre>
: <code>apt -y install dirmngr</code>
<pre>
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9F3DF15B48406D14
Executing: /tmp/apt-key-gpghome.sD5dI4aGv9/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 9F3DF15B48406D14
gpg: key E3A68C7D36ED4595: public key "TurnKey GNU/Linux Buster Security apt repo (GPG signing key for TurnKey Linux Buster Security apt repository) <release-buster-security@turnkeylinux.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C7082DDE779614F
Executing: /tmp/apt-key-gpghome.aDcuorW788/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 1C7082DDE779614F
gpg: key EF81D7D8EE49B5E5: public key "TurnKey GNU/Linux Buster Main apt repo (GPG signing key for TurnKey Linux Buster Main apt repository) <release-buster-main@turnkeylinux.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
apt update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 https://packages.sury.org/php buster InRelease
Ign:4 http://archive.turnkeylinux.org/debian buster-security InRelease
Ign:5 http://archive.turnkeylinux.org/debian buster InRelease
Hit:6 http://archive.turnkeylinux.org/debian buster-security Release
Hit:8 http://archive.turnkeylinux.org/debian buster Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
450 packages can be upgraded. Run 'apt list --upgradable' to see them.
apt -y dist-upgrade
Zertifikat
Zertifikat Let's Encrypt
/usr/bin/dehydrated --register --accept-terms
confconsole
fail!
https://github.com/turnkeylinux/confconsole#upgrade-to-v1-0-0
fail!
https://github.com/turnkeylinux/confconsole/releases/tag/v1.1.2
- #How to install/update
works!
Anwendungen
Anwendung Nextcloud