Bearbeiten von „StuRa:Server/TurnKey

Zur Navigation springen Zur Suche springen
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden. Ein eigenes Benutzerkonto hat eine ganze Reihe von Vorteilen.

Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.

Aktuelle Version Dein Text
Zeile 1: Zeile 1:
== initiales Initiieren ==
* https://www.turnkeylinux.org/docs/inithooks
** https://github.com/turnkeylinux/inithooks/blob/master/README.rst
=== Programm turnkey-init ===
: <code>turnkey-init</code>
=== Dienst turnkey-init-fence ===
: <code>systemctl status turnkey-init-fence</code>
: <code>$EDITOR /usr/lib/inithooks/firstboot.d/30turnkey-init-fence</code>
: <code>systemctl status turnkey-init-fence</code>
: <code>systemctl stop turnkey-init-fence</code>
== Aktualisierung ==
=== Aktualisierung Anleitungen ===
https://www.turnkeylinux.org/docs/appliance-upgrade
=== Ermittlung der aktuellen Version ===
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>
<pre></pre>
<pre></pre>
: <code>apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9F3DF15B48406D14</code>
<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>
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
</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>
Setting up vim-tiny (2:8.1.0875-5) ...
Configuration file '/etc/vim/vimrc.tiny'
==> 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.
*** 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'
==> 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.
*** redis.conf (Y/I/N/O/D/Z) [default=N] ?
</pre>
<pre></pre>
<pre>
Package configuration                                                                                               
                                                                                                                     
                                                                                                                     
                                                                                                                     
    ┌──────────────────────────────────────┤ 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>
: <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>
<pre></pre>
<pre>
All packages are up to date.
</pre>
<!--
<pre>
</pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
-->
== Zertifikat ==
== Zertifikat ==


=== Zertifikat Let's Encrypt ===
=== Zertifikat Let's Encrypt ===


* https://www.turnkeylinux.org/docs/letsencrypt
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>/usr/bin/dehydrated --register --accept-terms</code>
Zeile 438: Zeile 25:


[[{{ns:100}}:Server/Nextcloud#TurnKey]]
[[{{ns:100}}:Server/Nextcloud#TurnKey]]
== Systeme ==
=== System Proxmox ===
[[Server/Proxmox#Containerisierung für TurnKey]]


[[Kategorie:TurnKey]]
[[Kategorie:TurnKey]]

Bitte beachte, dass alle Beiträge zu Wiki StuRa HTW Dresden von anderen Mitwirkenden bearbeitet, geändert oder gelöscht werden können. Reiche hier keine Texte ein, falls du nicht willst, dass diese ohne Einschränkung geändert werden können.

Du bestätigst hiermit auch, dass du diese Texte selbst geschrieben hast oder diese von einer gemeinfreien Quelle kopiert hast (weitere Einzelheiten unter StuRa HTW Dresden:Urheberrechte). ÜBERTRAGE OHNE GENEHMIGUNG KEINE URHEBERRECHTLICH GESCHÜTZTEN INHALTE!

Bitte beantworte die folgende Frage, um diese Seite speichern zu können (weitere Informationen):

Abbrechen Bearbeitungshilfe (wird in einem neuen Fenster geöffnet)