Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_guide [2018/06/08 18:44]
tristan
linux_guide [2018/10/01 00:54] (current)
sgtbatten
Line 1: Line 1:
 ===== Linux Setup Guide ===== ===== Linux Setup Guide =====
  
-This guide will you get ProfitTrailer running on an Ubuntu Server. The process will be roughly the same for other Linux versions. +This guide will assist ​you getting ​ProfitTrailer running on an Ubuntu Server. The process will be roughly the same for other Linux versions.
- +
-There is a video tutorial now. Please watch it. +
-  +
-  * [[https://​www.youtube.com/​watch?​v=l4ixVHGzvWM|How to install PT on Linux]]+
  
 ---- ----
Line 14: Line 10:
   * [[linux_guide#​Installing Java (and other things)]]   * [[linux_guide#​Installing Java (and other things)]]
   * [[linux_guide#​Downloading ProfitTrailer]]   * [[linux_guide#​Downloading ProfitTrailer]]
-  * [[linux_guide#​Configuring ProfitTrailer]] +  * [[linux_guide#​Mandatory Settings]]
-  * [[Mandatory Settings]]+
   * [[linux_guide#​Running ProfitTrailer]]   * [[linux_guide#​Running ProfitTrailer]]
   * [[linux_guide#​Setup a Second Bot]]   * [[linux_guide#​Setup a Second Bot]]
Line 24: Line 19:
 ====Getting Started with ProfitTrailer on Linux==== ====Getting Started with ProfitTrailer on Linux====
  
-First of all, note that running the bot 24/7 is not possible if you allow your PC to fall asleep or close a laptop as the bot will not run anymore. You may want to consider using a [[VPS]] before installing it on a dedicated computer.+First of all, note that running the bot 24/7 is not possible if you allow your PC to fall asleep or close a laptop as the bot will not run anymore. You may want to consider using a VPS before installing it on a dedicated computer.
  
 ---- ----
Line 77: Line 72:
  
 Install Nodejs and create a simlink from the /nodejs to /node folder: Install Nodejs and create a simlink from the /nodejs to /node folder:
-            ​sudo apt-get install nodejs +            curl -sL https://​deb.nodesource.com/​setup_10.x | sudo -E bash -
-            sudo ln -s /​usr/​bin/​nodejs /​usr/​bin/​node +
-             +
-//On Debian 9 you may need to use:// +
-            ​curl -sL https://​deb.nodesource.com/​setup_9.x | sudo -E bash -+
             sudo apt-get install -y nodejs             sudo apt-get install -y nodejs
             sudo ln -s /​usr/​bin/​nodejs /​usr/​bin/​node             sudo ln -s /​usr/​bin/​nodejs /​usr/​bin/​node
 +
 +<WRAP center round important 60%>
 +Recently new installs have had issues with pm2 not starting correctly. Update Node using the above commands if you have issues
 +</​WRAP>​
 +            ​
  
 install npm and use npm to install pm2:  ​ install npm and use npm to install pm2:  ​
 +            npm may already be installed and you will receive dependencies errors. skip to pm2 install
             sudo apt-get install npm             sudo apt-get install npm
             sudo npm install pm2@latest -g             sudo npm install pm2@latest -g
  
-  
 pm2 is a process manager – it lets you run the bot in the background, and has features to autostart, log-rotation and much more. You do not HAVE to use pm2, but we like it, especially from running multiple bots. pm2 is a process manager – it lets you run the bot in the background, and has features to autostart, log-rotation and much more. You do not HAVE to use pm2, but we like it, especially from running multiple bots.
 http://​pm2.keymetrics.io/​docs/​usage/​quick-start/​ http://​pm2.keymetrics.io/​docs/​usage/​quick-start/​
Line 187: Line 183:
 {{::​login.png?​nolink|}} {{::​login.png?​nolink|}}
  
-Finally you will be presented with the Config Load screen. ​You can choose an existing Configuration if it exists or enter a unique name and load the settings ​from within ​the initialization folder.+Finally you will be presented with the Config Load screen. ​There are three methods for choosing your first configuration:​ 
 + 
 +  * **Public** - Choose from our database of public configs and copy it to your bot giving ​it a unique name
 +  * **Saved** - Choose ​from one of your own configs that you have already created in the past. 
 +  * **Import** - Choose a name and import a config from your ProfitTrailer ​initialization folder.
  
 {{::​initial_settings_load.png?​nolink|}} {{::​initial_settings_load.png?​nolink|}}
Line 198: Line 198:
  
 <file java> <file java>
-java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 ​-jar ProfitTrailer.jar ​-XX:​​+UseConcMarkSweepGC -Xmx512m -Xms512m+java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -XX:​​+UseConcMarkSweepGC -Xmx512m -Xms512m ​-jar ProfitTrailer.jar
 </​file>​ </​file>​
  
  • linux_guide.1528476247.txt.gz
  • Last modified: 4 months ago
  • by tristan