Sidebar

x

Configuring Metaproxy in Linux

Security

Install NodeJS, NPM, GIT and PM2 on your server:

Debian & Ubuntu

apt-get install nodejs npm git
npm install pm2 -g

CentOS & RHEL

yum install nodejs npm git
npm install pm2 -g

Check the version of NodeJS, it should be version 6 or higher:

nodejs -v
v6.14.2

If it is lower than 6, you need to upgrade your linux OS or install nodejs from its website: https://nodejs.org/en/download/

Clone repository on your server:

git clone https://github.com/FreedomPrevails/JSMTProxy.git


Enter JSMTProxy directory and edit config file (config.json) if you wish. You can change the secret and listening port. it is in json format.

{
 "port":6969,
 "secret":"b0cbcef5a486d9636472ac27f8e11a9d" 
}

Start the app in cluster mode using pm2:

pm2 start mtproxy.js -i max

You can use pm2 to list running processes and check their logs:

pm2 list
pm2 log mtproxy
​pm2 show mtproxy



Network Manager Error When You Want Install cPanel...
Changing Your ssh port for Security on Centos 6 an...
 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
Sunday, 16 December 2018