debian-server
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
debian-server [2016/04/03 12:25] – benny | debian-server [2024/06/09 10:29] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 30: | Zeile 30: | ||
Nach der Änderung ('': | Nach der Änderung ('': | ||
- | ===== VirtualBox Guest Additions | + | ===== Java (Oracle) installieren |
- | Dies sollte man auf einem Server | + | Da wir für einige Programme Java brauchen, müssen wir es installieren. Debian hat [[https:// |
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | |||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | |||
+ | # jessie-updates, | ||
+ | deb http:// | ||
+ | deb-src http:// | ||
+ | </ | ||
+ | |||
+ | Danach mit '': | ||
+ | |||
+ | Durch " | ||
+ | (java-package hat eine Reihe von Abhängigkeiten.) | ||
+ | |||
+ | Nun brauchen wir von Oracle als nächstes die aktuelle Java-Version, | ||
+ | |||
+ | Mit '' | ||
+ | |||
+ | Bevor man nun ein DEB Paket bauen kann, müssen leider noch ein paar weitere Abhängikeiten erfüllt werden: | ||
+ | < | ||
+ | benny@debian-logstash: | ||
+ | </ | ||
+ | |||
+ | Nach der Installation dieser Pakete (und ihrer Abhängigkeiten) kann man nun das Java-DEB-Paket erstellen: | ||
+ | |||
+ | < | ||
+ | benny@debian-logstash: | ||
+ | Creating temporary directory: / | ||
+ | Loading plugins: / | ||
+ | |||
+ | Detected Debian build architecture: | ||
+ | Detected Debian GNU type: x86_64-linux-gnu | ||
+ | |||
+ | Detected product: | ||
+ | Java(TM) Development Kit (JDK) | ||
+ | Standard Edition, Version 8 Update 77 | ||
+ | Oracle(TM) | ||
+ | Is this correct [Y/n]: | ||
+ | |||
+ | Checking free diskspace: done. | ||
+ | |||
+ | In the next step, the binary file will be extracted. Probably a | ||
+ | license agreement will be displayed. Please read this agreement | ||
+ | carefully. If you do not agree to the displayed license terms, the | ||
+ | package will not be built. | ||
+ | |||
+ | Press [Return] to continue: | ||
+ | |||
+ | |||
+ | |||
+ | Testing extracted archive... okay. | ||
+ | |||
+ | < | ||
+ | |||
+ | dpkg-deb: building package `oracle-java8-jdk' | ||
+ | | ||
+ | dpkg-genchanges: | ||
+ | | ||
+ | dpkg-buildpackage: | ||
+ | copy oracle-java8-jdk_8u77_amd64.deb into directory / | ||
+ | |||
+ | The Debian package has been created in the current directory. | ||
+ | You can install the package as root with: | ||
+ | |||
+ | dpkg -i oracle-java8-jdk_8u77_amd64.deb | ||
+ | |||
+ | |||
+ | Removing temporary directory: done | ||
+ | </ | ||
+ | |||
+ | Der Aufforderung kommen wir natürlich gerne nach: | ||
+ | |||
+ | < | ||
+ | benny@debian-logstash: | ||
+ | |||
+ | benny@debian-logstash: | ||
+ | java version " | ||
+ | Java(TM) SE Runtime Environment (build 1.8.0_77-b03) | ||
+ | Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== VirtualBox Guest Additions (für Server mit GUI!) ===== | ||
+ | |||
+ | Dies braucht | ||
Das Team von VirtualBox / Oracle beschreibt [[https:// | Das Team von VirtualBox / Oracle beschreibt [[https:// | ||
Zeile 81: | Zeile 177: | ||
Sollte man später einen WindowManager / grafisches System nachinstallieren, | Sollte man später einen WindowManager / grafisches System nachinstallieren, | ||
+ | |||
+ | ===== Logstash installieren ===== | ||
+ | |||
+ | In diesem Schritt installieren wir Logstash. | ||
+ | |||
+ | < | ||
+ | benny@debian-logstash: | ||
+ | java version " | ||
+ | Java(TM) SE Runtime Environment (build 1.8.0_77-b03) | ||
+ | Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) | ||
+ | benny@debian-logstash: | ||
+ | [sudo] password for benny: | ||
+ | OK | ||
+ | benny@debian-logstash: | ||
+ | deb http:// | ||
+ | benny@debian-logstash: | ||
+ | ... | ||
+ | benny@debian-logstash: | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | The following NEW packages will be installed: | ||
+ | logstash | ||
+ | 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. | ||
+ | Need to get 75.8 MB of archives. | ||
+ | After this operation, 133 MB of additional disk space will be used. | ||
+ | Get:1 http:// | ||
+ | Fetched 75.8 MB in 15s (4,841 kB/s) | ||
+ | Selecting previously unselected package logstash. | ||
+ | (Reading database ... 50870 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking logstash (1:2.3.2-1) ... | ||
+ | Processing triggers for systemd (215-17+deb8u4) ... | ||
+ | Setting up logstash (1:2.3.2-1) ... | ||
+ | Processing triggers for systemd (215-17+deb8u4) ... | ||
+ | benny@debian-logstash: | ||
+ | </ | ||
+ | |||
+ | WIP | ||
debian-server.1459686352.txt.gz · Zuletzt geändert: 2024/06/09 10:29 (Externe Bearbeitung)