Created Setup PT Magic on Linux (markdown)

HojouFotytu 2018-12-04 23:16:18 +09:00
parent ee782d9547
commit e77e22e0d3
1 changed files with 37 additions and 0 deletions

@ -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).