-
CloudNet 3.x and the Rest-Module
-
Webserver (or Webspace)
- PHP 8
- PHP Extensions: Curl (apt-get install php8-curl)
- Apache2 Mods: rewrite (a2enmod rewrite)
You can download the latest version from https://project.the-systems.eu/resources/cloudnet3-webinterface
You can download the modul from https://github.com/The-Systems/CloudNet3-WebInterface/releases/download/1.0_alpha4/cloudnet-rest.jar
- Delete the
cloudnet-rest.jar in CloudNet
Modul folder - Download the modified cloudnet-rest module
- Restart CloudNet
- Load the files into your Webserve
- Copy the file config/config-sample.php to config/config.php
- run the command "composer install" (If this doesn't work, go to "Install Composer")
- Setup the Webserver
Info: The web interface also works on an external Webspace!
-
Go to /etc/apache2/sites-available
-
Create a file with the extension .conf (Example: webinterface.conf)
-
Add the following and customize it.
<VirtualHost *:80> ServerName webinterface.domain.com DocumentRoot "/var/www/webinterface/public" <Directory /var/www/webinterface/public> AllowOverride All </Directory> </VirtualHost>
-
Activate the page with
a2ensite webinterface.conf
-
Restart Apache2
service apache2 restart
-
Install SSL Certificate with https://certbot.eff.org/
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev -o
For the docker setup you just need to have docker
and git
installed.
git clone https://github.com/The-Systems/CloudNet3-WebInterface.git
docker build -t cloudnet-webinterface .
The interface will run on port 8080 on the host.
docker run -d --name cloudnet-webinterface \
--port 8080:80 \
cloudnet-webinterface
-
CloudNet 3.5 and the Rest-Module
-
Webserver (oder Webspace)
- PHP 8
- PHP Erweiterungen: Curl (apt-get install php8-curl)
- Apache2 Mods: rewrite (a2enmod rewrite)
Du kannst die aktuelle Version von https://project.the-systems.eu/resources/cloudnet3-webinterface herunterladen
Du kannst hier das Modul von https://github.com/The-Systems/CloudNet3-WebInterface/releases/download/1.0_alpha4/cloudnet-rest.jar herunterladen
- Lösche das
cloudnet-rest.jar
Modul - Lade dir das modifizierte cloudnet-rest Moodul herrunter
- CloudNet Neustarten
- Lade die Dateien auf deinen Webserver
- Kopiere die config/config-sample.php in config/config.php und stelle diese ein
- Führe "composer install" aus (Sollte das nicht funktionieren, befolge "Composer installieren")
- Richte den Webserver ein
Info: Das Webinterface funktioniert ebenfalls auf einem Externen Webserver/Webspace!
-
Gehe zu /etc/apache2/sites-available
-
Erstelle eine Datei mit der Endung .conf (Beispiel: webinterface.conf)
-
Füge das folgende ein und füge deine Daten ein
<VirtualHost *:80> ServerName webinterface.domain.com DocumentRoot "/var/www/webinterface/public" <Directory /var/www/webinterface/public> AllowOverride All </Directory> </VirtualHost>
-
Aktiviere die Seite mit
a2ensite webinterface.conf
-
Starte Apache2 neu
service apache2 restart
-
Sollte der Kommand nicht funktionieren, führe "a2enmod rewrite" aus
-
Installier ein SSL-Zertifikat mit https://certbot.eff.org/
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev -o
For the docker setup you just need to have docker
and git
installed.
git clone https://github.com/The-Systems/CloudNet3-WebInterface.git
docker build -t cloudnet-webinterface .
The interface will run on port 8080 on the host.
docker run -d --name cloudnet-webinterface \
--port 8080:80 \
cloudnet-webinterface