Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Commit cfddbe9

Browse files
authored
Merge pull request #6 from The-Systems/1.8_beta3
1.8 beta3
2 parents 15d5dbc + 1295a09 commit cfddbe9

File tree

16 files changed

+134
-112
lines changed

16 files changed

+134
-112
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ hs_err_pid*
3535
.idea/**/usage.statistics.xml
3636
.idea/**/dictionaries
3737
.idea/**/shelf
38-
38+
k
3939
# Generated files
4040
.idea/**/contentModel.xml
4141

.idea/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.idea/CloudNetWebinterface.iml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.idea/compiler.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.idea/discord.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.idea/jarRepositories.xml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

INSTALL.md

Lines changed: 73 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
2+
[![Discord](https://img.shields.io/discord/340197684688453632.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/CYHuDpx)
23
<br>
34

45
<img src="https://cdn.the-systems.eu/icon-transparent-banner.png" width="300px" />
@@ -11,7 +12,8 @@
1112

1213
- Webserver (or Webspace)
1314
- PHP 7+ (PHP8 recommended)
14-
- PHP Extensions: Curl
15+
- PHP Extensions: Curl (apt-get install phpX-curl)
16+
- Apache2 Mods: rewrite (a2enmod rewrite)
1517

1618
## Download
1719

@@ -23,7 +25,8 @@ You can download the latest version from https://project.the-systems.eu/resource
2325
2. Reloade the CloudNet-Master with "rl all"
2426
3. The setup should start automatically. If it does not start, type "wisetup"
2527
4. Complete the setup
26-
5. Copy the files from CloudNet-Master/Website (NOT CloudNet-Master/modules/webinterface!!!!) to your web server (
28+
5. Copy the files from CloudNet-Master/Website (!!!! DONT COPY CloudNet-Master/modules/webinterface !!!! THESE ARE ONLY
29+
THE CONFIG FILES !!!!) to your web server (
2730
default /var/www/html)
2831
6. Type "composer install" in the SSH console
2932
7. Have fun!
@@ -41,9 +44,9 @@ Info: The web interface also works on an external Webspace!
4144

4245
<VirtualHost *:80>
4346
ServerName webinterface.domain.com
44-
DocumentRoot "/var/www/webinterface/"
47+
DocumentRoot "/var/www/webinterface/public"
4548

46-
<Directory /var/www/webinterface/>
49+
<Directory /var/www/webinterface/public>
4750
AllowOverride All
4851
</Directory>
4952

@@ -52,13 +55,9 @@ Info: The web interface also works on an external Webspace!
5255

5356
4. Activate the page with
5457

55-
a2ensite webinterface.com
58+
a2ensite webinterface.conf
5659

57-
5. Enable the Apache2 Module mod-rewrite
58-
59-
a2enmod rewrite
60-
61-
6. Restart Apache2
60+
5. Restart Apache2
6261

6362
service apache2 restart
6463

@@ -71,6 +70,69 @@ Info: The web interface also works on an external Webspace!
7170
curl -sS https://getcomposer.org/installer | php
7271
php composer.phar install --no-dev -o
7372

73+
# GERMAN
74+
75+
## Vorraussetzungen
76+
77+
- CloudNet 2.1.17+ (NICHT v3!)
78+
79+
- Webserver (oder Webspace)
80+
- PHP 7+ (PHP8 empfohlen)
81+
- PHP Erweiterungen: Curl (apt-get install phpX-curl)
82+
- Apache2 Mods: rewrite (a2enmod rewrite)
83+
84+
## Download
85+
86+
Du kannst die aktuelle Version von https://project.the-systems.eu/resources/cloudnet-webinterface herunterladen
87+
88+
## Installation
7489

90+
1. Lade die webinterface.jar in den Module Ordner vom CloudNet-Master
91+
2. Lade den CloudNet-Master mit "rl all" neu
92+
3. Das Setup sollte automatisch starten, wenn es nicht startet, gebe "wisetup" ein
93+
4. Erledige das Setup
94+
5. Kopiere die Dateien von CloudNet-Master/Website (!!!! KOPIERE NICHT CloudNet-Master/modules/webinterface !!!! DAS
95+
SIND NUR DIE CONFIG DATEIEN !!!!) auf deinen Webserver (
96+
Standard /var/www/html)
97+
6. Gebe "composer install" in die SSH-Konsole ein
98+
7. Hab Spaß!
99+
100+
Info: Das Webinterface funktioniert ebenfalls auf einem Externen Webserver/Webspace!
101+
102+
### Webserver Configuration
103+
104+
#### Apache2
105+
106+
1. Gehe zu /etc/apache2/sites-available
107+
2. Erstelle eine Datei mit der Endung .conf
108+
(Beispiel: webinterface.conf)
109+
3. Füge das folgende ein und füge deine Daten ein
110+
111+
<VirtualHost *:80>
112+
ServerName webinterface.domain.com
113+
DocumentRoot "/var/www/webinterface/public"
114+
115+
<Directory /var/www/webinterface/public>
116+
AllowOverride All
117+
</Directory>
118+
119+
120+
</VirtualHost>
121+
122+
4. Aktiviere die Seite mit
123+
124+
a2ensite webinterface.conf
125+
126+
5. Starte Apache2 neu
127+
128+
service apache2 restart
129+
130+
7. Installier ein SSL-Zertifikat mit https://certbot.eff.org/
131+
132+
### Composer installieren
133+
134+
#### Debian 10
135+
136+
curl -sS https://getcomposer.org/installer | php
137+
php composer.phar install --no-dev -o
75138

76-

0 commit comments

Comments
 (0)