Benutztes Produkt: VPS 200 G10s iv
ab 3,25€ / Monat | Zum Produkt >
Dieses Tutorial beschreibt, wie man Wirow auf Ubuntu 22.04 installiert.
Die benötigte Zeit, um diesem Tutorial zu folgen, beträgt ungefähr 10 - 20 Minuten.
Das Tutorial wurde auf Ubuntu 22.04 (Juli 2023) getestet.
In diesem Tutorial wird die Beispiel-IP 123.123.123.123
verwendet.
Diese Hostname muss durch den Namen Ihres eigenen Servers ersetzt werden, wenn Sie den in diesem Tutorial beschriebenen Ablauf durchführen.
Wir werden auch die Subdomain konferenz.example.com
in diesem Tutorial verwenden. Ersetzen Sie diese durch Ihre eigene Domain.
Ein VPS 200 ist für dieses Tutorial ausreichend.
Zuerst musst du dich über SSH in deinen Server einloggen
sudo -s
ein, um Root-Rechte zu erhalten.Enter
.apt update -y && apt upgrade -y && apt remove -y nginx apache2 lighttpd && apt autoremove -y && apt install -y wget unzip zip
ein, um den Server zu aktualisieren, alle bereits installierten Webserver zu entfernen und benötigte Pakete zu installieren.Enter
um fortzufahren.Enter
um fortzufahren.exit
ein und drücke Enter
, um die Root-Konsole zu verlassen.wget
ein und füge dann den Link ein, den du in Schritt 4 kopiert hast, danach drücke Enter
.unzip wirow.zip
ein, um die heruntergeladene Datei zu entpacken.sudo /usr/sbin/setcap 'cap_net_bind_service=+ep' ./wirow
ein, um wirow zu erlauben, Port 80 und 443 zu verwenden (du wirst nach dem Passwort des Root-Benutzers gefragt)../wirow -n konferenz.example.com -a PASSWORT
ein, um wirow zu starten. (Ersetze konferenz.example.com
durch deine Subdomain und PASSWORT
durch ein Passwort deiner Wahl).Strg+C
im Terminal, um wirow zu stoppen.Wir wollen, dass Wirow automatisch startet, wenn der Server startet.
sudo nano /etc/systemd/system/wirow.service
ein, um eine neue systemd-Service-Datei zu erstellen.[Unit]
Description=Wirow - A free and open source web based video conferencing tool
Documentation=https://github.com/wirow-io/wirow-server
After=network.target
[Service]
Type=simple
User=[BENUTZERNAME]
WorkingDirectory=/home/[BENUTZERNAME]/
ExecStart=/home/[BENUTZERNAME]/wirow -n konferenz.example.com
Restart=on-failure
[Install]
WantedBy=multi-user.target
[BENUTZERNAME]
mit dem Benutzer, unter dem du die wirow-Dateien in Schritt 5.2 extrahiert hast.konferenz.example.com
mit deiner Domain.Strg + X
und dann Y
und dann Enter
drückst.sudo systemctl daemon-reload
ein, um den systemd-Daemon neu zu laden.sudo systemctl enable wirow
ein, um den Service zu aktivieren.sudo systemctl start wirow
ein, um den Service zu starten.Wir brauchen eine Firewall, um unseren Server vor unerwünschten Verbindungen zu schützen.
Wir werden ufw
(Uncomplicated Firewall) verwenden, um die Firewall einzurichten, da sie einfach zu benutzen und zu konfigurieren ist und außerdem auf Ubuntu vorinstalliert ist.
ufw allow ssh
ein, um SSH-Verbindungen zu erlauben.ufw allow http
ein, um HTTP-Verbindungen zu erlauben.ufw allow https
ein, um HTTPS-Verbindungen zu erlauben.ufw enable
ein, um die Firewall zu aktivieren.Y
und dann Enter
.Jetzt hast du Wirow erfolgreich installiert und so eingerichtet, dass es beim Start automatisch gestartet wird.
Deine Wirow-Instanz ist ab jetzt unter deiner Domain verfügbar (z.B. https://konferenz.example.com
).
Vielen Dank, dass du dieses Tutorial benutzt hast!
Copyright (c) 2023 Konstantin Protzen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
By making a contribution to this project, I certify that:
The contribution was created in whole or in part by me and I have the right to submit it under the license indicated in the file; or
The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same license (unless I am permitted to submit under a different license), as indicated in the file; or
The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the license(s) involved.