Aktuelle Version |
Dein Text |
Zeile 1: |
Zeile 1: |
| == initiales Initiieren == | | == Zertifikat == |
|
| |
|
| * https://www.turnkeylinux.org/docs/inithooks
| | === Zertifikat Let's Encrypt === |
| ** https://github.com/turnkeylinux/inithooks/blob/master/README.rst
| |
|
| |
|
| === Programm turnkey-init ===
| | https://www.turnkeylinux.org/docs/letsencrypt |
|
| |
|
| : <code>turnkey-init</code>
| | <code>/usr/bin/dehydrated --register --accept-terms</code> |
|
| |
|
| === Dienst turnkey-init-fence ===
| | <code>confconsole</code> |
|
| |
|
| : <code>systemctl status turnkey-init-fence</code>
| | fail! |
|
| |
|
| : <code>$EDITOR /usr/lib/inithooks/firstboot.d/30turnkey-init-fence</code> | | https://github.com/turnkeylinux/confconsole#upgrade-to-v1-0-0 |
|
| |
|
| : <code>systemctl status turnkey-init-fence</code>
| | fail! |
|
| |
|
| : <code>systemctl stop turnkey-init-fence</code> | | https://github.com/turnkeylinux/confconsole/releases/tag/v1.1.2 |
| | : #''How to install/update'' |
|
| |
|
| == Aktualisierung ==
| | works! |
|
| |
|
| === Aktualisierung Anleitungen ===
| |
|
| |
|
| https://www.turnkeylinux.org/docs/appliance-upgrade
| | == Anwendungen == |
|
| |
|
| === Ermittlung der aktuellen Version === | | === Anwendung Nextcloud === |
| | |
| Ausgeben des Inhaltes der Datei ''/etc/turnkey_version''
| |
| : <code>cat /etc/turnkey_version</code>
| |
| <pre>
| |
| turnkey-nextcloud-15.2-stretch-amd64
| |
| </pre>
| |
| | |
| === Aktualisierung von TurnKey 16.0 auf TurnKey 16.1 ===
| |
| : also Aktualisierung von TurnKey 16.0 (basierend auf Debian 10) auf TurnKey 16.1 (basierend auf Debian 11)?
| |
| :: nope!
| |
| ::: https://www.turnkeylinux.org/updates/new-turnkey-core-version-161
| |
| | |
| @MLp@
| |
| | |
| === Aktualisierung von TurnKey 15 auf TurnKey 16 === | |
| planloser erster Versuch
| |
| | |
| Beim konkreten Versuch, schlug der Versuch fehl.
| |
| Der konkrete Versuch bezog sich auf TurnKey Nextcloud.
| |
| Bei [[Server/Proxmox#Containerisierung für TurnKey]] hätte eine [[Server/Proxmox#Änderung der Konfiguration von Instanzen der Containerisierung von privilegiert zu unprivilegiert]] vorgenommen werden müssen.
| |
| Die [[Server/Proxmox#Änderung der Konfiguration von Instanzen der Containerisierung von privilegiert zu unprivilegiert]] funktionierte leider nicht richtig.
| |
| | |
| : <code>lsb_release -a</code>
| |
| <pre>
| |
| No LSB modules are available.
| |
| Distributor ID: TurnKey
| |
| Description: TurnKey GNU/Linux 9.13 (stretch)
| |
| Release: 9.13
| |
| Codename: stretch
| |
| </pre>
| |
| | |
| : <code>ls /etc/apt/sources.list</code>
| |
| <pre>
| |
| ls: cannot access '/etc/apt/sources.list': No such file or directory
| |
| </pre>
| |
| : <code>ls /etc/apt/sources.list.d/</code>
| |
| <pre>
| |
| php.list security.sources.list sources.list
| |
| </pre>
| |
| : <code>sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/*.list</code>
| |
| | |
| : <code>apt update</code>
| |
| <pre></pre>
| |
| <pre>
| |
| 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.
| |
| </pre>
| |
| | |
| : <code>apt-key adv --keyserver http://keyserver.ubuntu.com:80 --recv-keys C2518248EEA14886</code>
| |
| <pre>
| |
| 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>
| | ==== Aktualisierung Anwendung Nextcloud ==== |
| <pre></pre>
| |
| <pre></pre>
| |
|
| |
|
| : <code>apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9F3DF15B48406D14</code>
| | https://nextcloud.stura.htw-dresden.de/updater/ |
| <pre>
| |
| 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
| |
| </pre>
| |
|
| |
|
| : <code>apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C7082DDE779614F</code>
| |
| <pre> | | <pre> |
| Executing: /tmp/apt-key-gpghome.aDcuorW788/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 1C7082DDE779614F
| | Initializing |
| 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
| | Current version is 16.0.1. |
| gpg: Total number processed: 1
| | Update to Nextcloud 16.0.10 available. (channel: "stable") |
| gpg: imported: 1
| | Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-16.0.10.zip |
| | Open changelog ↗ |
| | Check for expected files |
| </pre> | | </pre> |
|
| |
| : <code>apt update</code>
| |
| <pre>
| |
| 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.
| |
| </pre>
| |
|
| |
| : <code>apt -y dist-upgrade</code>
| |
| <pre></pre>
| |
| <pre>
| |
| Installing new version of config file /etc/bash.bashrc ...
| |
|
| |
| Configuration file '/etc/skel/.profile'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** .profile (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Setting up login (1:4.5-1.1) ...
| |
|
| |
| Configuration file '/etc/securetty'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** securetty (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Configuration file '/etc/crontab'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** crontab (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Installing new version of config file /etc/init.d/procps ...
| |
|
| |
| Configuration file '/etc/sysctl.conf'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** sysctl.conf (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Setting up udhcpc (1:1.30.1-4) ...
| |
|
| |
| Configuration file '/etc/udhcpc/default.script'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** default.script (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Setting up stunnel4 (3:5.50-3) ...
| |
|
| |
| Configuration file '/etc/default/stunnel4'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** stunnel4 (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre> | | <pre> |
| Setting up vim-tiny (2:8.1.0875-5) ...
| |
|
| |
|
| Configuration file '/etc/vim/vimrc.tiny'
| | Check for write permissions |
| ==> Modified (by you or by a script) since installation.
| | The following places can not be written to: |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** vimrc.tiny (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Package configuration
| |
|
| |
| ┌──────────────────────────────────────────┤ Configuring localepurge ├───────────────────────────────────────────┐
| |
| │ The localepurge package will remove all locale files from the system except those that you select here. │
| |
| │ │
| |
| │ When selecting the locale corresponding to your language and country code (such as "de_DE", "de_CH", "it_IT", │
| |
| │ etc.) it is recommended to choose the two-character entry ("de", "it", etc.) as well. │
| |
| │ │
| |
| │ Entries from /etc/locale.gen will be preselected if no prior configuration has been successfully completed. │
| |
| │ │
| |
| │ Locale files to keep on this system: │
| |
| │ │
| |
| │ [ ] da ↑ │
| |
| │ [ ] da_DK ▮ │
| |
| │ [ ] da_DK.UTF-8 ▒ │
| |
| │ [ ] de ▒ │
| |
| │ [ ] de_AT ▒ │
| |
| │ [ ] de_AT@euro ▒ │
| |
| │ [ ] de_AT.UTF-8 ↓ │
| |
| │ │
| |
| │ │
| |
| │ <Ok> │
| |
| │ │
| |
| └────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
| |
|
| |
|
| |
| </pre>
| |
| <pre>
| |
| <Ok>
| |
| </pre>
| |
| <pre>
| |
|
| |
| ┌──────────────────────────────────────────┤ Configuring localepurge ├──────────────────────────────────────────┐
| |
| │ │
| |
| │ dpkg supports --path-exclude and --path-include options to filter files from packages being installed. │
| |
| │ │
| |
| │ Please see /usr/share/doc/localepurge/README.dpkg-path for more information about this feature. It can be │
| |
| │ enabled (or disabled) later by running "dpkg-reconfigure localepurge". │
| |
| │ │
| |
| │ This option will become active for packages unpacked after localepurge has been (re)configured. Packages │
| |
| │ installed or upgraded together with localepurge may (or may not) be subject to the previous configuration of │
| |
| │ localepurge. │
| |
| │ │
| |
| │ Use dpkg --path-exclude? │
| |
| │ │
| |
| │ <Yes> <No> │
| |
| │ │
| |
| └───────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| </pre>
| |
| <pre>
| |
| <No>
| |
| </pre>
| |
| <pre>
| |
| Package configuration
| |
|
| |
|
| |
|
| |
|
| |
| ┌───────────────────────────────────────┤ Configuring localepurge ├───────────────────────────────────────┐
| |
| │ locale.nopurge: A new version (/etc/locale.nopurge.44450) of configuration file /etc/locale.nopurge is │
| |
| │ available, but the version installed currently has been locally modified. │
| |
| │ │
| |
| │ What do you want to do about modified configuration file locale.nopurge? │
| |
| │ │
| |
| │ install the package maintainer's version │
| |
| │ keep the local version currently installed │
| |
| │ show the differences between the versions │
| |
| │ show a side-by-side difference between the versions │
| |
| │ start a new shell to examine the situation │
| |
| │ │
| |
| │ │
| |
| │ <Ok> │
| |
| │ │
| |
| └─────────────────────────────────────────────────────────────────────────────────────────────────────────┘
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| </pre>
| |
| <pre>
| |
| keep the local version currently installed
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Installing new version of config file /etc/init.d/redis-server ...
| |
|
| |
|
| Configuration file '/etc/redis/redis.conf'
| | /var/www/nextcloud/updater/../console.php |
| ==> Modified (by you or by a script) since installation.
| | /var/www/nextcloud/updater/../occ |
| ==> Package distributor has shipped an updated version.
| | /var/www/nextcloud/updater/../robots.txt |
| What would you like to do about it ? Your options are:
| | /var/www/nextcloud/updater/../remote.php |
| Y or I : install the package maintainer's version | | /var/www/nextcloud/updater/../version.php |
| N or O : keep your currently-installed version | | /var/www/nextcloud/updater/../status.php |
| D : show the differences between the versions
| | /var/www/nextcloud/updater/../.user.ini |
| Z : start a shell to examine the situation
| | /var/www/nextcloud/updater/../.htaccess |
| The default action is to keep your current version.
| | /var/www/nextcloud/updater/../index.php |
| *** redis.conf (Y/I/N/O/D/Z) [default=N] ?
| | /var/www/nextcloud/updater/../public.php |
| </pre>
| | /var/www/nextcloud/updater/../COPYING |
| <pre></pre>
| | /var/www/nextcloud/updater/../index.html |
| <pre>
| | /var/www/nextcloud/updater/../AUTHORS |
| Package configuration
| | /var/www/nextcloud/updater/../cron.php |
|
| |
|
| |
|
| |
| ┌──────────────────────────────────────┤ Configuring openssh-server ├───────────────────────────────────────┐ | |
| │ A new version (/tmp/fileMxBttW) of configuration file /etc/ssh/sshd_config is available, but the version │
| |
| │ installed currently has been locally modified. │ | |
| │ │ | |
| │ What do you want to do about modified configuration file sshd_config? │ | |
| │ │ | |
| │ install the package maintainer's version │ | |
| │ keep the local version currently installed │ | |
| │ show the differences between the versions │ | |
| │ show a side-by-side difference between the versions │ | |
| │ show a 3-way difference between available versions │
| |
| │ do a 3-way merge between available versions │
| |
| │ start a new shell to examine the situation │
| |
| │ │
| |
| │ │
| |
| │ <Ok> │
| |
| │ │
| |
| └───────────────────────────────────────────────────────────────────────────────────────────────────────────┘
| |
|
| |
|
| |
|
| |
|
| |
| </pre>
| |
| <pre>
| |
| keep the local version currently installed
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| Installing new version of config file /etc/etckeeper/commit.d/99push ...
| |
|
| |
|
| Configuration file '/etc/etckeeper/etckeeper.conf'
| |
| ==> Modified (by you or by a script) since installation.
| |
| ==> Package distributor has shipped an updated version.
| |
| What would you like to do about it ? Your options are:
| |
| Y or I : install the package maintainer's version
| |
| N or O : keep your currently-installed version
| |
| D : show the differences between the versions
| |
| Z : start a shell to examine the situation
| |
| The default action is to keep your current version.
| |
| *** etckeeper.conf (Y/I/N/O/D/Z) [default=N] ?
| |
| </pre> | | </pre> |
| <pre></pre> | | <pre></pre> |
|
| |
|
| : <code>apt -y autoremove</code>
| |
| <pre></pre>
| |
|
| |
| : <code>apt -y dist-upgrade</code>
| |
| <pre></pre>
| |
| <pre>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</pre>
| |
|
| |
| : <code>reboot</code>
| |
|
| |
|
| : <code>apt -y autoremove</code> | | : <code>ls -al /var/www/nextcloud</code> |
| <pre></pre>
| |
| <pre> | | <pre> |
| All packages are up to date.
| | total 164 |
| | drwxr-sr-x 15 root root 4096 Jun 7 2019 . |
| | drwxr-xr-x 4 root root 4096 Apr 29 14:06 .. |
| | -rw-r--r-- 1 root root 2478 Jun 7 2019 .htaccess |
| | -rw-r--r-- 1 root root 101 May 15 2019 .user.ini |
| | drwxr-sr-x 32 root root 4096 May 15 2019 3rdparty |
| | -rw-r--r-- 1 root root 12063 May 15 2019 AUTHORS |
| | -rw-r--r-- 1 root root 34520 May 15 2019 COPYING |
| | drwxr-sr-x 47 www-data www-data 4096 Apr 29 16:52 apps |
| | drwxr-sr-x 2 www-data www-data 4096 Apr 29 14:05 config |
| | -rw-r--r-- 1 root root 3805 May 15 2019 console.php |
| | drwxr-sr-x 23 root root 4096 May 15 2019 core |
| | -rw-r--r-- 1 root root 4986 May 15 2019 cron.php |
| | drwxrwx--- 7 www-data www-data 4096 Apr 29 16:55 data |
| | -rw-r--r-- 1 root root 156 May 15 2019 index.html |
| | -rw-r--r-- 1 root root 3172 May 15 2019 index.php |
| | drwxr-sr-x 6 root root 4096 May 15 2019 lib |
| | -rw-r--r-- 1 root root 283 May 15 2019 occ |
| | drwxr-sr-x 2 root root 4096 May 15 2019 ocm-provider |
| | drwxr-sr-x 2 root root 4096 May 15 2019 ocs |
| | drwxr-sr-x 2 root root 4096 May 15 2019 ocs-provider |
| | -rw-r--r-- 1 root root 2951 May 15 2019 public.php |
| | -rw-r--r-- 1 root root 5139 May 15 2019 remote.php |
| | drwxr-sr-x 4 root root 4096 May 15 2019 resources |
| | -rw-r--r-- 1 root root 26 May 15 2019 robots.txt |
| | drwxr-sr-x 12 root root 4096 May 15 2019 settings |
| | -rw-r--r-- 1 root root 2232 May 15 2019 status.php |
| | drwxr-sr-x 3 root root 4096 May 15 2019 themes |
| | drwxr-sr-x 2 root root 4096 May 15 2019 updater |
| | -rw-r--r-- 1 root root 362 May 15 2019 version.php |
| </pre> | | </pre> |
|
| |
|
| <!-- | | : <code>ls -al /var/www/nextcloud/updater/</code> |
| <pre> | | <pre> |
| | total 660 |
| | drwxr-sr-x 2 root root 4096 May 15 2019 . |
| | drwxr-sr-x 15 root root 4096 Jun 7 2019 .. |
| | -rw-r--r-- 1 root root 63216 May 15 2019 index.php |
| | -rw-r--r-- 1 root root 599747 May 15 2019 updater.phar |
| </pre> | | </pre> |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| <pre></pre>
| |
| -->
| |
|
| |
| == Zertifikat ==
| |
|
| |
| === Zertifikat Let's Encrypt ===
| |
|
| |
| * https://www.turnkeylinux.org/docs/letsencrypt
| |
| * https://www.turnkeylinux.org/docs/confconsole/letsencrypt
| |
| ** https://github.com/turnkeylinux/confconsole/blob/master/docs/Lets_encrypt.rst
| |
|
| |
| <code>/usr/bin/dehydrated --register --accept-terms</code>
| |
|
| |
| <code>confconsole</code>
| |
|
| |
| 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 ===
| |
|
| |
| [[{{ns:100}}:Server/Nextcloud#TurnKey]]
| |
|
| |
| == Systeme ==
| |
|
| |
| === System Proxmox ===
| |
|
| |
|
| [[Server/Proxmox#Containerisierung für TurnKey]]
| | https://docs.nextcloud.com/server/9/admin_manual/installation/installation_wizard.html#setting-strong-directory-permissions |
|
| |
|
| [[Kategorie:TurnKey]]
| | : <code>chown -R www-data:www-data /var/www/nextcloud</code> |