From 9693383390812f4963e2b940b943495abfa8d555 Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Sat, 1 Jun 2019 01:04:21 +0300 Subject: [PATCH 1/2] CentOS (RHEL) 7 and CentOS (RHEL) 8 packages Updated README.md with instructions on how to quickly install MTProxy using binary RPM packages for CentOS / RHEL 7 & 8. --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67ca9db..5cdc420 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,34 @@ # MTProxy Simple MT-Proto proxy -## Building +## Installation + +Binary packages is the preferred way of installing MTProxy. Packages are fast to install (respotitory uses CDN), well maintained (build upon latest MTProxy version) and won't introduce build requirements onto your system (no compilers and no dev packages needed to run). + +### CentOS / RHEL 7 binary package + +Run the following series of commands to install MTProxy, start it as service and enable startup at boot-time: + + sudo yum -y install https://extras.getpagespeed.com/release-el7-latest.rpm + sudo yum -y install mtproxy + sudo systemctl enable mtproxy + sudo systemctl start mtproxy + +The secret for client configuration is provided via installation prompt and can be found in `/etc/mtproxy/secret`. + +### CentOS / RHEL 8 binary package + +Run the following series of commands to install MTProxy, start it as service and enable startup at boot-time: + + sudo dnf install https://extras.getpagespeed.com/release-el8-latest.rpm + sudo dnf install mtproxy + sudo systemctl enable mtproxy + sudo systemctl start mtproxy + +The secret for client configuration is provided via installation prompt and can be found in `/etc/mtproxy/secret`. + +## Building manually + Install dependencies, you would need common set of tools for building from source, and development packages for `openssl` and `zlib`. On Debian/Ubuntu: From f55df2a34377d37222c0fc7a45a14641a316fe09 Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Sat, 1 Jun 2019 14:38:13 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 5cdc420..671f4e7 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,17 @@ Simple MT-Proto proxy Binary packages is the preferred way of installing MTProxy. Packages are fast to install (respotitory uses CDN), well maintained (build upon latest MTProxy version) and won't introduce build requirements onto your system (no compilers and no dev packages needed to run). +### CentOS / RHEL 6 binary package + +Both x86_64 and i686 platforms supported. Run the following series of commands to install MTProxy, start it as service and enable startup at boot-time: + + sudo yum -y install https://extras.getpagespeed.com/release-el6-latest.rpm + sudo yum -y install mtproxy + sudo chkconfig mtproxy on + sudo service mtproxy start + +The secret for client configuration is provided via installation prompt and can be found in `/etc/mtproxy/secret`. + ### CentOS / RHEL 7 binary package Run the following series of commands to install MTProxy, start it as service and enable startup at boot-time: