Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS (RHEL) 6 / 7 / 8 packages #304

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,45 @@
# 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 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:

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:
Expand Down