Compare commits
	
		
			No commits in common. 'f24cf9c43c02237cde678776cfceadfb51489902' and 'c491017a10889a035080d9732b3320a7f578bbba' have entirely different histories. 
		
	
	
		
			f24cf9c43c
			...
			c491017a10
		
	
		
	
				 5 changed files with 0 additions and 105 deletions
			
			
		| Before Width: | Height: | Size: 145 KiB | 
| Before Width: | Height: | Size: 1.4 MiB | 
| @ -1,54 +0,0 @@ | ||||
| --- | ||||
| id: debian-discord-bot-setup | ||||
| title: Python Discord Bot hosten | ||||
| sidebar_label: Python Discord Bot hosten | ||||
| --- | ||||
| Hosten eines Discord Bots auf einem Debian VPS | ||||
| 
 | ||||
| ## Informationen | ||||
| In diesem Tutorial wird dir gezeigt, wie du einen Discord Bot auf einem VPS, root oder Dedicated Server hostest. Du benötigst dafür eine beliebige Debian basierende Distro und Root Rechte. | ||||
| Melde dich zunächst als root mit dem SSH Client deiner Wahl an, z.B. PuTTY, Termius oder Tabby. | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| ###  Installation | ||||
| 1. Als erstes lädst du Python und screen herunter: | ||||
| 
 | ||||
|     ```sh | ||||
|     sudo apt update && sudo apt install python3 pip3 screen | ||||
|     ``` | ||||
| 
 | ||||
| 2. Nun überträgst du mit WinSCP deine Bot source auf den server. | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| 3. Dann installierst du mit pip die benötigten Python Pakete:  | ||||
| 
 | ||||
|     ```sh | ||||
|     pip3 install paket1 paket2 | ||||
|     ``` | ||||
| 
 | ||||
| 4. Teste ob dein Bot richtig funktioniert: | ||||
| 
 | ||||
|     ```sh | ||||
|     python3 /pfad/zum/bot.py | ||||
|     ```  | ||||
| 5. Wenn alles geklappt hat starte den Bot mit screen, damit du die SSH Sitzung schließen kannst: | ||||
| 
 | ||||
|     ```sh | ||||
|     screen -dmS bot python3 /pfad/zum/bot.py | ||||
|     ``` | ||||
| 
 | ||||
| 6. (optional) Als letztes kannst du wenn du willst einen cronjob einrichten, damit der Bot automatisch beim hochfahren des Servers startet: | ||||
| 
 | ||||
|     ```sh | ||||
|     crontab -e | ||||
|     ``` | ||||
| 
 | ||||
|     Wähle wenn du danach gefragt wirst einen Editor aus. Ich empfehle nano oder vim. Nun trage den cronjob ein. | ||||
| 
 | ||||
|     ```sh | ||||
|     @reboot /usr/bin/screen -dmS userbot /usr/bin/python3 /pfad/zum/bot.py | ||||
|     ``` | ||||
| @ -1,23 +0,0 @@ | ||||
| --- | ||||
| id: debian-nodejs-installieren | ||||
| title: Node JS installieren (Debian based distros) | ||||
| sidebar_label: Node JS installieren | ||||
| --- | ||||
| Installation von Node JS auf Linux Debian Server | ||||
| 
 | ||||
| ## Informationen | ||||
| In diesem Tutorial wird dir gezeigt, wie du Node JS auf einem VPS, root oder Dedicated Server installierst. Du benötigst dafür eine beliebige Debian basierende distro, curl und Root Rechte. | ||||
| Melde dich zunächst als root mit dem SSH Client deiner Wahl an, z.B. PuTTY, Termius oder Tabby.  | ||||
| 
 | ||||
| 
 | ||||
| ###  Installation | ||||
| 1. Als erstes fügst du die offiziellen Node JS Paketquellen hinzu: | ||||
| 
 | ||||
|     ```sh | ||||
|     curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - | ||||
|     ``` | ||||
| 2. Nun updatest du deine Paketquellen und installierst Node JS. | ||||
| 
 | ||||
|     ```sh | ||||
|     sudo apt-get update && sudo apt-get install nodejs | ||||
|     ``` | ||||
| @ -1,28 +0,0 @@ | ||||
| --- | ||||
| id: debian-python-installieren | ||||
| title: Python installieren (Debian based distros) | ||||
| sidebar_label: Python installieren | ||||
| --- | ||||
| Installation von Python auf Linux Debian Server | ||||
| 
 | ||||
| ## Informationen | ||||
| In diesem Tutorial wird dir gezeigt, wie du Python auf einem VPS, root oder Dedicated Server installierst. Du benötigst dafür eine beliebige Debian basierende distro und Root Rechte. | ||||
| Melde dich zunächst als root mit dem SSH Client deiner Wahl an, z.B. PuTTY oder Terminus. | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| ###  Installation | ||||
| 1. Als erstes aktualisierst du deine Paketquellen: | ||||
| 
 | ||||
|     ```sh | ||||
|     sudo apt-get update | ||||
|     ``` | ||||
| 2. Nun installierst du python und pip. | ||||
| 
 | ||||
|     ```sh | ||||
|     sudo apt-get install python3 pip3 | ||||
|     ``` | ||||
| 3. Wenn du es von Windows gewohnt bist, statt python3 python zu schreiben installiere das paket python-is-python3:  | ||||
|     ```sh | ||||
|     sudo apt-get install python-is-python3 | ||||
|     ``` | ||||
					Loading…
					
					
				
		Reference in new issue