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 [2019/02/02 02:18]
mango
linux_guide [2019/04/12 20:57] (current)
armchairguru
Line 35: Line 35:
 Enter the Hostname (IP address), User name (root) and Password and click login. You may need to allow the connection and will be able to chose a name to save the connection as for future use. Enter the Hostname (IP address), User name (root) and Password and click login. You may need to allow the connection and will be able to chose a name to save the connection as for future use.
  
-{{:​ptwinscpui.png|}}+{{:​ptwinscpui.png?nolink|}}
  
 In WinSCP, click the terminal icon in the menu bar to get to a terminal: In WinSCP, click the terminal icon in the menu bar to get to a terminal:
  
-{{:ptwinscpterm.png|}}+{{::​winscp_folders.png?nolink|}}
  
 We are now connected to the server. We are now connected to the server.
    
-{{:​ptwinscpwindow.png|}}+{{:​ptwinscpwindow.png?nolink|}}
  
 +----
  
 ===2. Installing Java (and other things) === ===2. Installing Java (and other things) ===
Line 51: Line 52:
  
 Enter the following commands one line at a time: Enter the following commands one line at a time:
-            ​cd .. +<​code>​cd .. 
-            cd /var/opt +cd /var/opt 
-            mkdir pt +mkdir pt 
-            cd pt +cd pt</​code>​ 
- +
 You should now be inside a folder called pt in your /var/opt path You should now be inside a folder called pt in your /var/opt path
 The prompt will look similar to this: The prompt will look similar to this:
-            root@proxybot:/​var/​opt/​pt#​ +<​code>​root@profittrailer:/​var/​opt/​pt#​</​code>​ 
- +
 Run an update: Run an update:
-  ​sudo apt-get update+<​code>​sudo apt-get update</​code>​
  
 Install Java 8: Install Java 8:
-            ​sudo apt-get install openjdk-8-jdk+<​code>​sudo apt-get install openjdk-8-jdk</​code>​
             ​             ​
 <WRAP center round important 60%> <WRAP center round important 60%>
Line 72: Line 73:
  
 Install Nodejs and create a simlink from the /nodejs to /node folder: Install Nodejs and create a simlink from the /nodejs to /node folder:
-            ​curl -sL https://​deb.nodesource.com/​setup_10.x | sudo -E bash - +<​code>​curl -sL https://​deb.nodesource.com/​setup_10.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</​code>​
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Line 80: Line 81:
 </​WRAP>​ </​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// 
-            npm may already be installed and you will receive dependencies errors. skip to pm2 install +<​code>​sudo apt-get install npm 
-            sudo apt-get install npm +sudo npm install pm2@latest -g</​code>​
-            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.
Line 125: Line 125:
    
 This should bring you to your pt folder:\\ This should bring you to your pt folder:\\
-{{:​ptwinvpsptfolder.png|}}+{{:​ptwinvpsptfolder.png?nolink|}}
 \\ \\
 \\ \\
Line 193: Line 193:
 {{::​login.png?​nolink|}} {{::​login.png?​nolink|}}
  
-Finally you will be presented with the Config Load screen. There are three methods for choosing your first configuration:​+Finally you will be presented with the Config Load screen. There are two 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.   * **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.   * **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|}}
  • linux_guide.1549073897.txt.gz
  • Last modified: 3 months ago
  • by mango