Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| linux:ircd-update [2008/10/03 15:04] – angelegt psycore | linux:ircd-update [2024/01/12 21:22] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | {{tag> | ||
| + | ====== Update UnrealIRCD ====== | ||
| + | ===== Einleitung ===== | ||
| + | |||
| + | Installieren / Updaten von UnrealIRCD (getestet mit Version 6.1.0) | ||
| + | |||
| + | ===== GPG Schlüssel importieren ===== | ||
| + | |||
| + | <code bash> | ||
| + | wget -O- https:// | ||
| + | </ | ||
| + | |||
| + | ===== Source downloaden ===== | ||
| + | |||
| + | Zuerst laden wir die Source Dateien herunter. Die aktuelle Version wird anstatt der x.x.x ersetzt (z.B. unrealircd-6.1.0.tar.gz). | ||
| + | |||
| + | <code bash> | ||
| + | wget https:// | ||
| + | </ | ||
| + | |||
| + | ===== Integrität prüfen ===== | ||
| + | |||
| + | <code bash> | ||
| + | wget https:// | ||
| + | gpg --verify unrealircd-x.x.x.tar.gz.asc unrealircd-x.x.x.tar.gz | ||
| + | </ | ||
| + | |||
| + | ===== Archiv entpacken ===== | ||
| + | |||
| + | Nun entpacken wir das Archiv. | ||
| + | |||
| + | <code bash> | ||
| + | tar xfvz unrealx.x.x.tar.gz | ||
| + | </ | ||
| + | |||
| + | ===== Alten IRCD stoppen / umbenennen ===== | ||
| + | |||
| + | Um die config Dateien zu schützen, sollte das Verzeichnis mit dem veralteten IRCD umbenannt werden. Hierzu muss zuerst der UnrealIRCD gestoppt werden. | ||
| + | |||
| + | <code bash> | ||
| + | ./ | ||
| + | mv Unrealx.x.x Unreal | ||
| + | </ | ||
| + | |||
| + | ===== Konfigurieren der Sourcen ===== | ||
| + | |||
| + | Wechseln wir ins Verzeichnis des neuen IRCD und fangen mit der Konfiguration an. | ||
| + | |||
| + | <code bash> | ||
| + | cd Unrealx.x.x | ||
| + | ./Config | ||
| + | </ | ||
| + | |||
| + | Nun beginnt der Konfigurationsvorgang. Folgende Werte werden empfohlen: | ||
| + | |||
| + | <code bash> | ||
| + | In what directory do you want to install UnrealIRCd? | ||
| + | (Note: UnrealIRCd 6 will need to be installed somewhere. | ||
| + | If this directory does not exist it will be created.) | ||
| + | [/ | ||
| + | |||
| + | What should the default permissions for your configuration files be? (Set this to 0 to disable) | ||
| + | It is strongly recommended that you use 0600 to prevent unwanted reading of the file | ||
| + | [0600] -> | ||
| + | |||
| + | If you want, you can manually enter the path to OpenSSL/ | ||
| + | In most cases you can leave this blank and it will be detected automatically. | ||
| + | [] -> | ||
| + | |||
| + | UnrealIRCd comes with support for ' | ||
| + | include " | ||
| + | Do you want to compile with the libcurl library to enable additional protocols? | ||
| + | If you answer ' | ||
| + | Answer ' | ||
| + | Most people answer ' | ||
| + | [No] -> | ||
| + | |||
| + | How far back do you want to keep the nickname history? | ||
| + | [2000] -> | ||
| + | |||
| + | GeoIP is a feature that allows converting an IP address to a location (country) | ||
| + | Possible build options: | ||
| + | | ||
| + | and receives automatic updates. | ||
| + | libmaxminddb: | ||
| + | you need to install the libmaxminddb library on your system first | ||
| + | none: Don't build with any geoip library (geoip-csv is still built) | ||
| + | Choose one of: classic, libmaxminddb, | ||
| + | [classic] -> | ||
| + | |||
| + | What is the maximum number of sockets (and file descriptors) that | ||
| + | UnrealIRCd may use? | ||
| + | It is recommended to leave this at the default setting ' | ||
| + | which at present results in a limit of up to 16384, depending on | ||
| + | the system. When you boot UnrealIRCd later you will always see | ||
| + | the effective limit. | ||
| + | [auto] -> | ||
| + | |||
| + | Are you running UnrealIRCd as a test, debugging a problem or developing a module? | ||
| + | Then it is possible to run with AddressSanitizer enabled. This will make it | ||
| + | catch bugs such as out-of-bounds and other memory corruption issues, which can | ||
| + | be really helpful in some cases. The downside is that it will consume a lot | ||
| + | more memory and run slower too. So, only answer ' | ||
| + | Also, on some systems (notably FreeBSD), when you enable AddressSanitizer, | ||
| + | UnrealIRCd may fail to start. So when in doubt, answer ' | ||
| + | Do you want to enable AddressSanitizer? | ||
| + | [No] -> | ||
| + | |||
| + | Would you like to pass any custom parameters to configure? | ||
| + | Most people don't need this and can just press ENTER. | ||
| + | Otherwise, see `./ | ||
| + | [] -> | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== TLS Parameter ==== | ||
| + | |||
| + | Die Angaben können nach Bedarf eingestellt werden. | ||
| + | |||
| + | ===== Kompilieren der Sourcen ===== | ||
| + | |||
| + | Nun kompilieren wir die Sourcen. | ||
| + | |||
| + | <code bash> | ||
| + | make | ||
| + | </ | ||
| + | |||
| + | ===== Bei Neuinstallation ===== | ||
| + | |||
| + | <code bash> | ||
| + | make install | ||
| + | </ | ||
| + | |||
| + | Anschließend müssen die config Dateien bearbeitet werden. | ||
| + | |||
| + | ===== Bei Update ===== | ||
| + | |||
| + | ===== Kopieren der Config Dateien ===== | ||
| + | |||
| + | FIXME Dieser Abschnitt bezieht sich noch auf die Version 3 | ||
| + | |||
| + | Folgende Dateien müssen aus dem alten Verzeichnis ins neue kopiert werden: | ||
| + | |||
| + | <code text> | ||
| + | ircd.motd | ||
| + | ircd.rules | ||
| + | oper.conf | ||
| + | server.cert.pem | ||
| + | server.key.pem | ||
| + | server.req.pem | ||
| + | spamfilter.conf | ||
| + | unrealircd.conf | ||
| + | vhost.conf | ||
| + | network/ | ||
| + | </ | ||
| + | |||
| + | ===== Unreal starten ===== | ||
| + | |||
| + | Nun können wir den IRCD starten. | ||
| + | |||
| + | <code bash> | ||
| + | ./ | ||
| + | </ | ||