From e77e22e0d3e08171165a4e8878193ece65b451c0 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Tue, 4 Dec 2018 23:16:18 +0900 Subject: [PATCH] Created Setup PT Magic on Linux (markdown) --- Setup-PT-Magic-on-Linux.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Setup-PT-Magic-on-Linux.md diff --git a/Setup-PT-Magic-on-Linux.md b/Setup-PT-Magic-on-Linux.md new file mode 100644 index 0000000..5e29a6d --- /dev/null +++ b/Setup-PT-Magic-on-Linux.md @@ -0,0 +1,37 @@ +**Important: Please do not install PTMagic if you are already running Profit Trailer Feeder. Both tools write to your bot .PROPERTIES files and there may be side effects.** + +**Note:** As we are no Linux experts we are not able to support you with Linux specific issues. + +**Cryptopopolus** created scripts to install **Profit Trailer** and **PT Magic** on your Ubuntu/CentOS/RedHat machine so you don't need to do it manually. Find these scripts [here at Bitbucket](https://bitbucket.org/cryptopopolis/profittrailer/wiki/Home). + +**Neomelb** created a posting that has instructions on how to setup PT Magic on Ubuntu in _Chinese_ [here](https://steemit.com/ptmagic/@neomelb/ubuntu-linux-ptmagic-profittrailer) and **Nidkil** in english [here](http://nidkil.me/2018/02/19/pt-magic-setup-on-ubuntu-17-10/). + +## Quick Start +To run PTMagic on a Linux server you have to install .NET Core and a webserver. The steps and commands are slightly different for each Linux distribution, so you need to find the instructions that are right for your Linux flavour. + +### Download and setup ASP.NET Core +Click this [link](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x) to find instructions to download and setup .NET Core on your Linux distribution (exampe is Ubuntu Linux). You only need to execute the first 2 topics: + +1. Add the dotnet product feed +2. Install .NET SDK + +**Note:** It seems that you also need to install the .NET framework runtime package store with + +> apt-get install aspnetcore-store-2.0.5 + +This installs a lot of packages for offline usage that is needed by ASP.NET Core (PT Magic monitor). + +### Setup PTMagic monitor website +To access the PTMagic monitor website (running on port 5000) you need to install and configure the Apache webserver on your machine and setup a reverse proxy for port 80. An example walk through can be found [here](https://blog.todotnet.com/2017/07/publishing-and-running-your-asp-net-core-project-on-linux/). + +### Configure PT Magic +After installing .NET Core proceed with the [setup guide](https://github.com/Legedric/ptmagic/wiki/Setup-Guide) to configure your installation. After that go to the **PT Magic** folder in a terminal window and start with the command + +> dotnet PTMagic.dll + +and the monitor application with + +> dotnet Monitor/Monitor.dll + + +If something is not working as expected please have a look at our [Post Install Checklist](https://github.com/Legedric/ptmagic/wiki/Post-Install-Checklist) and [FAQ](https://github.com/Legedric/ptmagic/wiki/FAQ-and-Tips).