tachtler:arcchlinux_-_minimal_server_installation
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
tachtler:arcchlinux_-_minimal_server_installation [2020/01/12 12:35] – [Netzwerkkarte: manuelle Konfiguration] klaus | tachtler:arcchlinux_-_minimal_server_installation [2020/01/24 06:48] – [Installation] klaus | ||
---|---|---|---|
Zeile 435: | Zeile 435: | ||
Logical volume " | Logical volume " | ||
</ | </ | ||
- | < | ||
Mit nachfolgendem Befehl kann überprüft werden, ob die Neuanlagen erfolgreich durchführt wurden: | Mit nachfolgendem Befehl kann überprüft werden, ob die Neuanlagen erfolgreich durchführt wurden: | ||
Zeile 707: | Zeile 706: | ||
< | < | ||
root@archiso ~ # pacstrap /mnt base base-devel linux linux-firmware lvm2 openssh sshpass vi vim | root@archiso ~ # pacstrap /mnt base base-devel linux linux-firmware lvm2 openssh sshpass vi vim | ||
+ | </ | ||
+ | < | ||
+ | root@archiso ~ # pacstrap /mnt base base-devel linux linux-firmware lvm2 openssh sshpass vi vim | ||
+ | ==> Creating install root at /mnt | ||
+ | ==> Installing packages to /mnt | ||
+ | :: Synchronizing package databases... | ||
+ | | ||
+ | | ||
+ | | ||
+ | :: There are 24 members in group base-devel: | ||
+ | :: Repository core | ||
+ | 1) autoconf | ||
+ | 7) findutils | ||
+ | 14) gzip 15) libtool | ||
+ | 21) sed 22) sudo 23) texinfo | ||
+ | |||
+ | Enter a selection (default=all): | ||
+ | resolving dependencies... | ||
+ | :: There are 2 providers available for initramfs: | ||
+ | :: Repository core | ||
+ | 1) mkinitcpio | ||
+ | :: Repository extra | ||
+ | 2) dracut | ||
+ | |||
+ | Enter a number (default=1): | ||
+ | looking for conflicting packages... | ||
+ | |||
+ | Packages (147) acl-2.2.53-2 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Total Download Size: 342.35 MiB | ||
+ | Total Installed Size: 1423.59 MiB | ||
+ | |||
+ | :: Proceed with installation? | ||
+ | :: Retrieving packages... | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | (147/147) checking keys in keyring | ||
+ | (147/147) checking package integrity | ||
+ | (147/147) loading package files [###################### | ||
+ | (147/147) checking for file conflicts | ||
+ | :: Processing package changes... | ||
+ | ( 1/147) installing iana-etc | ||
+ | ( 2/147) installing filesystem | ||
+ | ( 3/147) installing linux-api-headers | ||
+ | ( 4/147) installing tzdata | ||
+ | ( 5/147) installing glibc | ||
+ | Optional dependencies for glibc | ||
+ | gd: for memusagestat | ||
+ | ( 6/147) installing gcc-libs | ||
+ | ( 7/147) installing ncurses | ||
+ | ( 8/147) installing readline | ||
+ | ( 9/147) installing bash [###################### | ||
+ | Optional dependencies for bash | ||
+ | bash-completion: | ||
+ | ( 10/147) installing attr [###################### | ||
+ | ( 11/147) installing acl | ||
+ | ( 12/147) installing gmp | ||
+ | ( 13/147) installing libcap | ||
+ | ( 14/147) installing gdbm [###################### | ||
+ | ( 15/147) installing db [###################### | ||
+ | ( 16/147) installing perl [###################### | ||
+ | ( 17/147) installing openssl | ||
+ | Optional dependencies for openssl | ||
+ | ca-certificates [pending] | ||
+ | ( 18/147) installing coreutils | ||
+ | ( 19/147) installing zlib [###################### | ||
+ | ( 20/147) installing xz [###################### | ||
+ | ( 21/147) installing bzip2 | ||
+ | ( 22/147) installing libseccomp | ||
+ | ( 23/147) installing file [###################### | ||
+ | ( 24/147) installing findutils | ||
+ | ( 25/147) installing mpfr [###################### | ||
+ | ( 26/147) installing gawk [###################### | ||
+ | ( 27/147) installing pcre [###################### | ||
+ | ( 28/147) installing grep [###################### | ||
+ | ( 29/147) installing libgpg-error | ||
+ | ( 30/147) installing libgcrypt | ||
+ | ( 31/147) installing lz4 | ||
+ | ( 32/147) installing systemd-libs | ||
+ | ( 33/147) installing procps-ng | ||
+ | ( 34/147) installing sed | ||
+ | ( 35/147) installing tar | ||
+ | ( 36/147) installing libffi | ||
+ | ( 37/147) installing libutil-linux | ||
+ | ( 38/147) installing glib2 | ||
+ | Optional dependencies for glib2 | ||
+ | python: gdbus-codegen, | ||
+ | libelf: gresource inspection tool [pending] | ||
+ | ( 39/147) installing libunistring | ||
+ | ( 40/147) installing icu | ||
+ | ( 41/147) installing libxml2 | ||
+ | ( 42/147) installing libcroco | ||
+ | ( 43/147) installing gettext | ||
+ | Optional dependencies for gettext | ||
+ | git: for autopoint infrastructure updates | ||
+ | ( 44/147) installing hwids | ||
+ | ( 45/147) installing kmod [###################### | ||
+ | ( 46/147) installing pciutils | ||
+ | ( 47/147) installing psmisc | ||
+ | ( 48/147) installing cracklib | ||
+ | ( 49/147) installing e2fsprogs | ||
+ | ( 50/147) installing libsasl | ||
+ | ( 51/147) installing libldap | ||
+ | ( 52/147) installing keyutils | ||
+ | ( 53/147) installing krb5 [###################### | ||
+ | ( 54/147) installing libtirpc | ||
+ | ( 55/147) installing pambase | ||
+ | ( 56/147) installing pam | ||
+ | ( 57/147) installing libcap-ng | ||
+ | ( 58/147) installing audit | ||
+ | ( 59/147) installing shadow | ||
+ | ( 60/147) installing util-linux | ||
+ | Optional dependencies for util-linux | ||
+ | python: python bindings to libmount | ||
+ | words: default dictionary for look | ||
+ | ( 61/147) installing less [###################### | ||
+ | ( 62/147) installing gzip [###################### | ||
+ | ( 63/147) installing licenses | ||
+ | ( 64/147) installing expat | ||
+ | ( 65/147) installing zstd [###################### | ||
+ | ( 66/147) installing libarchive | ||
+ | ( 67/147) installing libtasn1 | ||
+ | ( 68/147) installing device-mapper | ||
+ | ( 69/147) installing popt [###################### | ||
+ | ( 70/147) installing json-c | ||
+ | ( 71/147) installing argon2 | ||
+ | ( 72/147) installing cryptsetup | ||
+ | ( 73/147) installing dbus [###################### | ||
+ | ( 74/147) installing libmnl | ||
+ | ( 75/147) installing libnftnl | ||
+ | ( 76/147) installing libnl | ||
+ | ( 77/147) installing libusb | ||
+ | ( 78/147) installing libpcap | ||
+ | ( 79/147) installing libnfnetlink | ||
+ | ( 80/147) installing libnetfilter_conntrack | ||
+ | ( 81/147) installing iptables | ||
+ | ( 82/147) installing kbd | ||
+ | ( 83/147) installing libidn2 | ||
+ | ( 84/147) installing libelf | ||
+ | ( 85/147) installing pcre2 | ||
+ | ( 86/147) installing systemd | ||
+ | Initializing machine ID from KVM UUID. | ||
+ | Created symlink / | ||
+ | Created symlink / | ||
+ | :: Append ' | ||
+ | | ||
+ | Optional dependencies for systemd | ||
+ | libmicrohttpd: | ||
+ | quota-tools: | ||
+ | systemd-sysvcompat: | ||
+ | polkit: allow administration as unprivileged user | ||
+ | curl: machinectl pull-tar and pull-raw [pending] | ||
+ | ( 87/147) installing p11-kit | ||
+ | Created symlink / | ||
+ | ( 88/147) installing ca-certificates-utils | ||
+ | ( 89/147) installing ca-certificates-mozilla | ||
+ | ( 90/147) installing ca-certificates | ||
+ | ( 91/147) installing libssh2 | ||
+ | ( 92/147) installing libpsl | ||
+ | ( 93/147) installing libnghttp2 | ||
+ | ( 94/147) installing curl [###################### | ||
+ | ( 95/147) installing npth [###################### | ||
+ | ( 96/147) installing libksba | ||
+ | ( 97/147) installing libassuan | ||
+ | ( 98/147) installing libsecret | ||
+ | Optional dependencies for libsecret | ||
+ | org.freedesktop.secrets: | ||
+ | ( 99/147) installing pinentry | ||
+ | Optional dependencies for pinentry | ||
+ | gtk2: gtk2 backend | ||
+ | qt5-base: qt backend | ||
+ | gcr: gnome3 backend | ||
+ | (100/147) installing nettle | ||
+ | (101/147) installing gnutls | ||
+ | Optional dependencies for gnutls | ||
+ | guile: for use with Guile bindings [pending] | ||
+ | (102/147) installing sqlite | ||
+ | (103/147) installing gnupg | ||
+ | Optional dependencies for gnupg | ||
+ | libldap: gpg2keys_ldap [installed] | ||
+ | libusb-compat: | ||
+ | pcsclite: scdaemon | ||
+ | (104/147) installing gpgme | ||
+ | (105/147) installing pacman-mirrorlist | ||
+ | (106/147) installing archlinux-keyring | ||
+ | (107/147) installing pacman | ||
+ | Optional dependencies for pacman | ||
+ | perl-locale-gettext: | ||
+ | (108/147) installing systemd-sysvcompat | ||
+ | (109/147) installing iputils | ||
+ | Optional dependencies for iputils | ||
+ | xinetd: for tftpd | ||
+ | (110/147) installing iproute2 | ||
+ | Optional dependencies for iproute2 | ||
+ | linux-atm: ATM support | ||
+ | (111/147) installing base [###################### | ||
+ | Optional dependencies for base | ||
+ | linux: bare metal support [pending] | ||
+ | (112/147) installing m4 [###################### | ||
+ | (113/147) installing diffutils | ||
+ | (114/147) installing autoconf | ||
+ | (115/147) installing automake | ||
+ | (116/147) installing binutils | ||
+ | (117/147) installing bison | ||
+ | (118/147) installing fakeroot | ||
+ | (119/147) installing flex [###################### | ||
+ | (120/147) installing libmpc | ||
+ | (121/147) installing gcc | ||
+ | Optional dependencies for gcc | ||
+ | lib32-gcc-libs: | ||
+ | (122/147) installing groff | ||
+ | Optional dependencies for groff | ||
+ | netpbm: for use together with man -H command interaction in browsers | ||
+ | psutils: for use together with man -H command interaction in browsers | ||
+ | libxaw: for gxditview | ||
+ | perl-file-homedir: | ||
+ | (123/147) installing libtool | ||
+ | (124/147) installing texinfo | ||
+ | (125/147) installing gc [###################### | ||
+ | (126/147) installing guile | ||
+ | (127/147) installing make [###################### | ||
+ | (128/147) installing patch | ||
+ | Optional dependencies for patch | ||
+ | ed: for patch -e functionality | ||
+ | (129/147) installing pkgconf | ||
+ | (130/147) installing sudo [###################### | ||
+ | (131/147) installing which | ||
+ | (132/147) installing mkinitcpio-busybox | ||
+ | (133/147) installing mkinitcpio | ||
+ | Optional dependencies for mkinitcpio | ||
+ | xz: Use lzma or xz compression for the initramfs image [installed] | ||
+ | bzip2: Use bzip2 compression for the initramfs image [installed] | ||
+ | lzop: Use lzo compression for the initramfs image | ||
+ | lz4: Use lz4 compression for the initramfs image [installed] | ||
+ | mkinitcpio-nfs-utils: | ||
+ | (134/147) installing linux | ||
+ | Optional dependencies for linux | ||
+ | crda: to set the correct wireless channels of your country | ||
+ | linux-firmware: | ||
+ | (135/147) installing linux-firmware | ||
+ | (136/147) installing libaio | ||
+ | (137/147) installing thin-provisioning-tools | ||
+ | (138/147) installing lvm2 [###################### | ||
+ | (139/147) installing libedit | ||
+ | (140/147) installing dnssec-anchors | ||
+ | (141/147) installing ldns [###################### | ||
+ | Optional dependencies for ldns | ||
+ | libpcap: ldns-dpa tool [installed] | ||
+ | (142/147) installing openssh | ||
+ | Optional dependencies for openssh | ||
+ | xorg-xauth: X11 forwarding | ||
+ | x11-ssh-askpass: | ||
+ | (143/147) installing sshpass | ||
+ | (144/147) installing vi [###################### | ||
+ | Optional dependencies for vi | ||
+ | s-nail: used by the preserve command for notification | ||
+ | (145/147) installing vim-runtime | ||
+ | Optional dependencies for vim-runtime | ||
+ | sh: support for some tools and macros [installed] | ||
+ | python: demoserver example tool | ||
+ | gawk: mve tools upport [installed] | ||
+ | (146/147) installing gpm | ||
+ | (147/147) installing vim | ||
+ | Optional dependencies for vim | ||
+ | python2: Python 2 language support | ||
+ | python: Python 3 language support | ||
+ | ruby: Ruby language support | ||
+ | lua: Lua language support | ||
+ | perl: Perl language support [installed] | ||
+ | tcl: Tcl language support | ||
+ | :: Running post-transaction hooks... | ||
+ | ( 1/14) Creating system user accounts... | ||
+ | ( 2/14) Updating journal message catalog... | ||
+ | ( 3/14) Reloading system manager configuration... | ||
+ | Running in chroot, ignoring request: daemon-reload | ||
+ | ( 4/14) Updating udev hardware database... | ||
+ | ( 5/14) Applying kernel sysctl settings... | ||
+ | ( 6/14) Creating temporary files... | ||
+ | ( 7/14) Reloading device manager configuration... | ||
+ | Running in chroot, ignoring request. | ||
+ | ( 8/14) Arming ConditionNeedsUpdate... | ||
+ | ( 9/14) Updating module dependencies... | ||
+ | (10/14) Updating linux initcpios... | ||
+ | ==> Building image from preset: / | ||
+ | -> -k / | ||
+ | ==> Starting build: 5.4.10-arch1-1 | ||
+ | -> Running build hook: [base] | ||
+ | -> Running build hook: [udev] | ||
+ | -> Running build hook: [autodetect] | ||
+ | -> Running build hook: [modconf] | ||
+ | -> Running build hook: [block] | ||
+ | -> Running build hook: [filesystems] | ||
+ | -> Running build hook: [keyboard] | ||
+ | -> Running build hook: [fsck] | ||
+ | ==> Generating module dependencies | ||
+ | ==> Creating gzip-compressed initcpio image: / | ||
+ | ==> Image generation successful | ||
+ | ==> Building image from preset: / | ||
+ | -> -k / | ||
+ | ==> Starting build: 5.4.10-arch1-1 | ||
+ | -> Running build hook: [base] | ||
+ | -> Running build hook: [udev] | ||
+ | -> Running build hook: [modconf] | ||
+ | -> Running build hook: [block] | ||
+ | ==> WARNING: Possibly missing firmware for module: aic94xx | ||
+ | ==> WARNING: Possibly missing firmware for module: wd719x | ||
+ | -> Running build hook: [filesystems] | ||
+ | -> Running build hook: [keyboard] | ||
+ | -> Running build hook: [fsck] | ||
+ | ==> Generating module dependencies | ||
+ | ==> Creating gzip-compressed initcpio image: / | ||
+ | ==> Image generation successful | ||
+ | (11/14) Reloading system bus configuration... | ||
+ | Running in chroot, ignoring request: try-reload-or-restart | ||
+ | (12/14) Warn about old perl modules | ||
+ | perl: warning: Setting locale failed. | ||
+ | perl: warning: Please check that your locale settings: | ||
+ | LANGUAGE = (unset), | ||
+ | LC_ALL = (unset), | ||
+ | LC_MESSAGES = "", | ||
+ | LANG = " | ||
+ | are supported and installed on your system. | ||
+ | perl: warning: Falling back to the standard locale (" | ||
+ | (13/14) Updating the info directory file... | ||
+ | (14/14) Rebuilding certificate stores... | ||
+ | pacstrap /mnt base base-devel linux linux-firmware lvm2 openssh sshpass vi vi 31.52s user 7.65s system 13% cpu 4:59.24 total | ||
</ | </ | ||
Zeile 723: | Zeile 1239: | ||
Optional, aber **__dringend empfohlen__**, | Optional, aber **__dringend empfohlen__**, | ||
* '' | * '' | ||
- | * '' | + | * '' |
===== Systemkonfiguration: | ===== Systemkonfiguration: | ||
Zeile 959: | Zeile 1475: | ||
installiert werden, was mit nachfolgendem Befehl durchgeführt werden soll: | installiert werden, was mit nachfolgendem Befehl durchgeführt werden soll: | ||
< | < | ||
- | [root@archiso /]# pacman -S grub --noconfirm | + | [root@archiso /]# pacman -S --noconfirm |
resolving dependencies... | resolving dependencies... | ||
looking for conflicting packages... | looking for conflicting packages... | ||
Zeile 1140: | Zeile 1656: | ||
[Network] | [Network] | ||
- | Address=192.168.1.250 | + | Address=192.168.1.250/24 |
Gateway=192.168.1.10 | Gateway=192.168.1.10 | ||
DNS=10.7.1.20 | DNS=10.7.1.20 | ||
+ | </ | ||
+ | |||
+ | oder auch inklusive **ipv6** Adressen: | ||
+ | |||
+ | <code ini> | ||
+ | [Match] | ||
+ | Name=eth0 | ||
+ | |||
+ | [Network] | ||
+ | Address=192.168.1.250/ | ||
+ | Gateway=192.168.1.1 | ||
+ | DNS=192.168.122.1 | ||
+ | |||
+ | Address=fd00:: | ||
+ | Gateway=fd00:: | ||
+ | DNS=fd00::1 | ||
+ | |||
+ | Address=fe80:: | ||
+ | LinkLocalAddressing=no | ||
+ | </ | ||
+ | |||
+ | :!: **HINWEIS** - In der **ipv6**-Konfiguration wurde das **__automatische__** beziehen einer ipv6-Adresse für die **LinkLocal**-Adresse deaktiviert, | ||
+ | |||
+ | :!: **HINWEIS** - Bein Befehl '' | ||
+ | < | ||
+ | [root@archlinux ~]# ping -c 3 fe80:: | ||
+ | PING fe80:: | ||
+ | 64 bytes from fe80:: | ||
+ | 64 bytes from fe80:: | ||
+ | 64 bytes from fe80:: | ||
+ | |||
+ | --- fe80:: | ||
+ | 3 packets transmitted, | ||
+ | rtt min/ | ||
</ | </ | ||
Zeile 1276: | Zeile 1826: | ||
(**Nur relevanter Ausschnitt**: | (**Nur relevanter Ausschnitt**: | ||
<code bash> | <code bash> | ||
- | ParmitRootLogin | + | PermitRootLogin |
</ | </ | ||
Zeile 1395: | Zeile 1945: | ||
set mouse-=a | set mouse-=a | ||
set tabstop=4 | set tabstop=4 | ||
+ | </ | ||
+ | |||
+ | ===== Arch User Repository ==== | ||
+ | |||
+ | Das [[https:// | ||
+ | |||
+ | * //Quelle: [[https:// | ||
+ | |||
+ | ^ Beschreibung | ||
+ | | Homepage | ||
+ | | Dokumentation | ||
+ | |||
+ | Um das [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Inspiriert von '' | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Ab hier werden '' | ||
+ | < | ||
+ | $ su - | ||
+ | Password: | ||
+ | </ | ||
+ | |||
+ | Damit eine Installation von [[https:// | ||
+ | |||
+ | Ein Benutzer, | ||
+ | - hier **'' | ||
+ | - in die Gruppe **'' | ||
+ | - im Verzeichnis ''/ | ||
+ | - in der Datei '' | ||
+ | - das Herunterladen via '' | ||
+ | |||
+ | Mit dieser Konfiguration kann der Benutzer '' | ||
+ | |||
+ | :!: **HINWEIS** - **Der Befehl '' | ||
+ | |||
+ | Ab hier werden '' | ||
+ | < | ||
+ | $ su - | ||
+ | Password: | ||
+ | </ | ||
+ | |||
+ | ==== Abhängigkeiten installieren ==== | ||
+ | |||
+ | Um das Herunterladen von [[https:// | ||
+ | < | ||
+ | [root@archlinux ~]# pacman -S --noconfirm --needed base-devel git | ||
+ | warning: autoconf-2.69-6 is up to date -- skipping | ||
+ | warning: automake-1.16.1-2 is up to date -- skipping | ||
+ | warning: binutils-2.33.1-2 is up to date -- skipping | ||
+ | warning: bison-3.5-1 is up to date -- skipping | ||
+ | warning: fakeroot-1.24-2 is up to date -- skipping | ||
+ | warning: file-5.38-1 is up to date -- skipping | ||
+ | warning: findutils-4.7.0-2 is up to date -- skipping | ||
+ | warning: flex-2.6.4-3 is up to date -- skipping | ||
+ | warning: gawk-5.0.1-2 is up to date -- skipping | ||
+ | warning: gcc-9.2.0-4 is up to date -- skipping | ||
+ | warning: gettext-0.20.1-3 is up to date -- skipping | ||
+ | warning: grep-3.4-1 is up to date -- skipping | ||
+ | warning: groff-1.22.4-3 is up to date -- skipping | ||
+ | warning: gzip-1.10-3 is up to date -- skipping | ||
+ | warning: libtool-2.4.6+42+gb88cebd5-8 is up to date -- skipping | ||
+ | warning: m4-1.4.18-3 is up to date -- skipping | ||
+ | warning: make-4.2.1-4 is up to date -- skipping | ||
+ | warning: pacman-5.2.1-4 is up to date -- skipping | ||
+ | warning: patch-2.7.6-8 is up to date -- skipping | ||
+ | warning: pkgconf-1.6.3-3 is up to date -- skipping | ||
+ | warning: sed-4.8-1 is up to date -- skipping | ||
+ | warning: sudo-1.8.30-1 is up to date -- skipping | ||
+ | warning: texinfo-6.7-2 is up to date -- skipping | ||
+ | warning: which-2.21-5 is up to date -- skipping | ||
+ | resolving dependencies... | ||
+ | looking for conflicting packages... | ||
+ | |||
+ | Packages (4) perl-error-0.17028-1 | ||
+ | | ||
+ | |||
+ | Total Download Size: 6.23 MiB | ||
+ | Total Installed Size: 37.65 MiB | ||
+ | |||
+ | :: Proceed with installation? | ||
+ | :: Retrieving packages... | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | (4/4) checking keys in keyring | ||
+ | (4/4) checking package integrity | ||
+ | (4/4) loading package files [###################### | ||
+ | (4/4) checking for file conflicts | ||
+ | (4/4) checking available disk space [###################### | ||
+ | :: Processing package changes... | ||
+ | (1/4) installing perl-error | ||
+ | (2/4) installing perl-timedate | ||
+ | (3/4) installing perl-mailtools | ||
+ | (4/4) installing git | ||
+ | Optional dependencies for git | ||
+ | tk: gitk and git gui | ||
+ | perl-libwww: | ||
+ | perl-term-readkey: | ||
+ | perl-mime-tools: | ||
+ | perl-net-smtp-ssl: | ||
+ | perl-authen-sasl: | ||
+ | perl-mediawiki-api: | ||
+ | perl-datetime-format-iso8601: | ||
+ | perl-lwp-protocol-https: | ||
+ | perl-cgi: gitweb (web interface) support | ||
+ | python: git svn & git p4 | ||
+ | subversion: git svn | ||
+ | org.freedesktop.secrets: | ||
+ | libsecret: libsecret credential helper [installed] | ||
+ | :: Running post-transaction hooks... | ||
+ | (1/4) Creating system user accounts... | ||
+ | (2/4) Reloading system manager configuration... | ||
+ | (3/4) Arming ConditionNeedsUpdate... | ||
+ | (4/4) Warn about old perl modules | ||
+ | </ | ||
+ | |||
+ | ==== Benutzer und Gruppe anlegen ==== | ||
+ | |||
+ | Nachfolgender Befehl erstellt eine **neue** Gruppe mit | ||
+ | * der **Gruppen-ID**: | ||
+ | * der **Bezeichnung**: | ||
+ | < | ||
+ | [root@archlinux ~]# groupadd -g 1000 klaus | ||
+ | </ | ||
+ | |||
+ | Ein Überprüfung ob die Gruppe ordnungsgemäß erstellt wurde, kann durch ausführen von nachfolgendem Befehl und einer Anzeige wie folgt, durchgeführt werden: | ||
+ | < | ||
+ | [root@archlinux ~]# cat /etc/group | grep klaus | ||
+ | klaus: | ||
+ | </ | ||
+ | |||
+ | Nachfolgender Befehl erstellt einen **neuen** Benutzer mit | ||
+ | * dem **Kommentar**: | ||
+ | * der **Gruppen-ID**: | ||
+ | * und mit der Erstellung eines **'' | ||
+ | * der **'' | ||
+ | * der **Benutzer-ID**: | ||
+ | * der **Bezeichnung**: | ||
+ | < | ||
+ | [root@archlinux ~]# useradd -c 'Klaus Tachtler < | ||
+ | </ | ||
+ | |||
+ | Ein Überprüfung ob der Benutzer ordnungsgemäß erstellt wurde, kann durch ausführen von nachfolgendem Befehl und einer Anzeige wie folgt, durchgeführt werden: | ||
+ | < | ||
+ | [root@archlinux ~]# cat /etc/passwd | grep klaus | ||
+ | klaus: | ||
+ | </ | ||
+ | |||
+ | Abschließend soll noch ein Passwort für den Benutzer '' | ||
+ | < | ||
+ | [root@archlinux ~]# passwd klaus | ||
+ | New password | ||
+ | Retype new password: | ||
+ | passwd: password updated successfully | ||
+ | </ | ||
+ | |||
+ | ==== /etc/group ==== | ||
+ | |||
+ | Damit der Benutzer, hier '' | ||
+ | < | ||
+ | [root@archlinux ~]# usermod -a -G wheel klaus | ||
+ | </ | ||
+ | |||
+ | Ob dies erfolgreich war, kann mit folgendem Befehl und dem nachfolgendem Ergebnis überprüft werden: | ||
+ | < | ||
+ | # cat /etc/group | grep wheel | ||
+ | wheel: | ||
+ | </ | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | Mit dem folgenden Befehl, kann die Konfigurationsdatei ''/ | ||
+ | < | ||
+ | [root@archlinux ~]# echo ' | ||
+ | </ | ||
+ | |||
+ | Nachfolgender Befehl zeigt den Inhalt der Konfigurationsdatei ''/ | ||
+ | < | ||
+ | [root@archlinux ~]# cat / | ||
+ | %wheel ALL=(ALL) ALL | ||
+ | </ | ||
+ | |||
+ | Damit die Konfigurationsdatei ''/ | ||
+ | < | ||
+ | [root@archlinux ~]# chmod 440 / | ||
+ | </ | ||
+ | |||
+ | Ob die Anpassung der **Datei**rechte erfolgreich durchgeführt wurde, kann mit nachfolgendem Befehl überprüft werden: | ||
+ | < | ||
+ | [root@archlinux ~]# ls -l / | ||
+ | -r--r----- 1 root root 21 Jan 24 06:38 / | ||
+ | </ | ||
+ | |||
+ | Ab hier werden die Rechte des Benutzer, hier '' | ||
+ | |||
+ | :!: **WICHTIG** - **Ein Ab- und Anmeldung als Benutzer, hier '' | ||
+ | |||
+ | Ein Erster Test, ob der Benutzer, hier '' | ||
+ | |||
+ | (Auflistung aller Dateien nach dem Schema .bash im **'' | ||
+ | < | ||
+ | [klaus@archlinux ~]$ sudo ls -la /root | grep .bash | ||
+ | |||
+ | We trust you have received the usual lecture from the local System | ||
+ | Administrator. It usually boils down to these three things: | ||
+ | |||
+ | #1) Respect the privacy of others. | ||
+ | #2) Think before you type. | ||
+ | #3) With great power comes great responsibility. | ||
+ | |||
+ | [sudo] password for klaus: | ||
+ | -rw------- | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | </ | ||
+ | |||
+ | ==== Herunterladen ==== | ||
+ | |||
+ | Die Installationsquelle von [[https:// | ||
+ | * **[[https:// | ||
+ | |||
+ | Nachfolgender Befehl kopiert die Instalaltionsdateien von [[https:// | ||
+ | < | ||
+ | [klaus@archlinux ~]$ git clone https:// | ||
+ | Cloning into '/ | ||
+ | remote: Enumerating objects: 447, done. | ||
+ | remote: Counting objects: 100% (447/447), done. | ||
+ | remote: Compressing objects: 100% (258/258), done. | ||
+ | remote: Total 447 (delta 189), reused 447 (delta 189) | ||
+ | Receiving objects: 100% (447/447), 94.28 KiB | 1.31 MiB/s, done. | ||
+ | Resolving deltas: 100% (189/189), done. | ||
+ | </ | ||
+ | |||
+ | ==== Installation ==== | ||
+ | |||
+ | Nachfolgender Befehl wechselt nun in das Verzeichnis ''/ | ||
+ | < | ||
+ | [klaus@archlinux ~]$ cd /tmp/pikaur | ||
+ | </ | ||
+ | |||
+ | Nachfolgender Befehl erstellt und installiert [[https:// | ||
+ | < | ||
+ | [klaus@archlinux pikaur]$ makepkg --noconfirm -fsri | ||
+ | ==> Making package: pikaur 1.5.9.1-1 (Fri 24 Jan 2020 06:46:25 AM CET) | ||
+ | ==> Checking runtime dependencies... | ||
+ | ==> Installing missing dependencies... | ||
+ | resolving dependencies... | ||
+ | looking for conflicting packages... | ||
+ | |||
+ | Packages (3) libnsl-1.2.0-2 | ||
+ | |||
+ | Total Download Size: 30.06 MiB | ||
+ | Total Installed Size: 80.27 MiB | ||
+ | |||
+ | :: Proceed with installation? | ||
+ | :: Retrieving packages... | ||
+ | | ||
+ | | ||
+ | | ||
+ | (3/3) checking keys in keyring | ||
+ | (3/3) checking package integrity | ||
+ | (3/3) loading package files [###################### | ||
+ | (3/3) checking for file conflicts | ||
+ | (3/3) checking available disk space [###################### | ||
+ | :: Processing package changes... | ||
+ | (1/3) installing libnsl | ||
+ | (2/3) installing python | ||
+ | Optional dependencies for python | ||
+ | python-setuptools | ||
+ | python-pip | ||
+ | sqlite [installed] | ||
+ | mpdecimal: for decimal | ||
+ | xz: for lzma [installed] | ||
+ | tk: for tkinter | ||
+ | (3/3) installing pyalpm | ||
+ | :: Running post-transaction hooks... | ||
+ | (1/1) Arming ConditionNeedsUpdate... | ||
+ | ==> Checking buildtime dependencies... | ||
+ | ==> Retrieving sources... | ||
+ | -> Downloading pikaur-1.5.9.1.tar.gz... | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 100 | ||
+ | 100 2104k 0 2104k 0 | ||
+ | ==> Validating source files with md5sums... | ||
+ | pikaur-1.5.9.1.tar.gz ... Passed | ||
+ | ==> Extracting sources... | ||
+ | -> Extracting pikaur-1.5.9.1.tar.gz with bsdtar | ||
+ | ==> Starting build()... | ||
+ | # find pikaur -type f -name ' | ||
+ | # | ||
+ | find pikaur -type f -name ' | ||
+ | | xargs xgettext --language=python --add-comments --sort-output \ | ||
+ | --default-domain=pikaur --from-code=UTF-8 --keyword=' | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | test -f locale/ | ||
+ | msgmerge --update locale/ | ||
+ | ................... done. | ||
+ | msgfmt -o locale/ | ||
+ | ==> Entering fakeroot environment... | ||
+ | ==> Starting package()... | ||
+ | / | ||
+ | warnings.warn(msg) | ||
+ | / | ||
+ | warnings.warn(msg) | ||
+ | / | ||
+ | warnings.warn(msg) | ||
+ | running install | ||
+ | running build | ||
+ | running build_py | ||
+ | creating build | ||
+ | creating build/lib | ||
+ | creating build/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | copying pikaur/ | ||
+ | running install_lib | ||
+ | creating / | ||
+ | creating / | ||
+ | creating / | ||
+ | creating / | ||
+ | creating / | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | copying build/ | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | byte-compiling / | ||
+ | writing byte-compilation script '/ | ||
+ | / | ||
+ | removing / | ||
+ | running install_egg_info | ||
+ | Writing / | ||
+ | ==> Tidying install... | ||
+ | -> Removing libtool files... | ||
+ | -> Purging unwanted files... | ||
+ | -> Removing static library files... | ||
+ | -> Stripping unneeded symbols from binaries and libraries... | ||
+ | -> Compressing man and info pages... | ||
+ | ==> Checking for packaging issues... | ||
+ | ==> Creating package " | ||
+ | -> Generating .PKGINFO file... | ||
+ | -> Generating .BUILDINFO file... | ||
+ | -> Generating .MTREE file... | ||
+ | -> Compressing package... | ||
+ | ==> Leaving fakeroot environment. | ||
+ | ==> Finished making: pikaur 1.5.9.1-1 (Fri 24 Jan 2020 06:46:51 AM CET) | ||
+ | ==> Installing package pikaur with pacman -U... | ||
+ | loading packages... | ||
+ | resolving dependencies... | ||
+ | looking for conflicting packages... | ||
+ | |||
+ | Packages (1) pikaur-1.5.9.1-1 | ||
+ | |||
+ | Total Installed Size: 0.89 MiB | ||
+ | |||
+ | :: Proceed with installation? | ||
+ | (1/1) checking keys in keyring | ||
+ | (1/1) checking package integrity | ||
+ | (1/1) loading package files [###################### | ||
+ | (1/1) checking for file conflicts | ||
+ | (1/1) checking available disk space [###################### | ||
+ | :: Processing package changes... | ||
+ | (1/1) installing pikaur | ||
+ | Optional dependencies for pikaur | ||
+ | asp: for ABS support in -G/ | ||
+ | python-pysocks: | ||
+ | :: Running post-transaction hooks... | ||
+ | (1/1) Arming ConditionNeedsUpdate... | ||
+ | </ | ||
+ | |||
+ | Nachfolgender Befehl überprüft, | ||
+ | < | ||
+ | [klaus@archlinux pikaur]$ pikaur --version | ||
+ | |||
+ | /:} _ | ||
+ | / | ||
+ | / | ||
+ | | ||
+ | | ||
+ | / | ||
+ | l / | ||
+ | j ● | ||
+ | { ) ._, | ||
+ | У \ _/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Ein erster Test mit nachfolgendem Befehl zeigt, ob ab sofort auch Pakete aus dem [[https:// | ||
+ | |||
+ | (Suche nach einem Paket aus dem [[https:// | ||
+ | <code yaml> | ||
+ | [klaus@archlinux pikaur]$ pikaur -Ss mod_jk | ||
+ | Searching... [###] | ||
+ | aur/mod_jk 1.2.46-1 (19, 0.00) | ||
+ | The Apache Tomcat Connector | ||
</ | </ | ||