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/09/02 13:40]
taniman
linux_guide [2019/02/02 02:18] (current)
mango
Line 19: 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.
  
 ---- ----
-===1. Connect to Linux===+===1.Connect to Linux===
  
 We need some software to connect from your home computer to the linux server. Use anything you are compfortable with however we suggest you download: We need some software to connect from your home computer to the linux server. Use anything you are compfortable with however we suggest you download:
Line 170: Line 170:
  
 Text logs are maintained by pm2 and are located at /root/.pm2/ (for my root account access) Text logs are maintained by pm2 and are located at /root/.pm2/ (for my root account access)
 +
 +Run a save and startup command. After this is complete, PM2 will restart your bot if you restart the server. ​ Run this command again if you change your app, or add a second bot.
 + pm2 save
 + pm2 startup
 +
 +To run Profit Trailer without Pm2 you can still ececute the same java command as any other operating system.
 +
 +<file java>
 +java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -Dio.netty.allocator.numDirectArenas=0 -Djdk.nio.maxCachedBufferSize=262144 -XX:​+UseSerialGC -XX:​+UseStringDeduplication -Xms64m -Xmx512m -XX:​CompressedClassSpaceSize=300m -XX:​MaxMetaspaceSize=128m -jar ProfitTrailer.jar
 +</​file>​
  
 Your ProfitTrailer bot is now up and running. Congratulations! ​ Your ProfitTrailer bot is now up and running. Congratulations! ​
Line 190: Line 200:
  
 {{::​initial_settings_load.png?​nolink|}} {{::​initial_settings_load.png?​nolink|}}
- 
-Finally, run a save and startup command. Ater this is complete, PM2 will restart your bot if you restart the server. ​ Run this command again if you change your app, or add a second bot. 
- pm2 save 
- pm2 startup 
- 
-To run Profit Trailer without Pm2 you can still ececute the same java command as any other operating system. 
- 
-<file java> 
-java -Djava.net.preferIPv4Stack=true -Dsun.stdout.encoding=UTF-8 -XX:​‚Äč+UseConcMarkSweepGC -Xmx512m -Xms512m -jar ProfitTrailer.jar 
-</​file>​ 
  
 ---- ----
  • linux_guide.1535895651.txt.gz
  • Last modified: 6 months ago
  • by taniman