Difference between revisions of "Teamspeak3-tsdns"

From Whmcsmod addons
Jump to: navigation, search
Line 10: Line 10:
   
 
mkdir nodejs-tsdns
 
mkdir nodejs-tsdns
  +
 
cd nodejs-tsdns
 
cd nodejs-tsdns
  +
 
wget https://github.com/nathanrod/nodejs-tsdns/archive/master.zip
 
wget https://github.com/nathanrod/nodejs-tsdns/archive/master.zip
  +
 
unzip master.zip
 
unzip master.zip
  +
 
npm install
 
npm install
   
  +
−
tsdns install
 
   
   

Revision as of 19:30, 28 March 2018

Requirements Node.js https://nodejs.org/


Nodejs install ( skip if already installed )

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

TSDNS Install( Linux )

mkdir nodejs-tsdns

cd nodejs-tsdns

wget https://github.com/nathanrod/nodejs-tsdns/archive/master.zip

unzip master.zip

npm install



If you get any error regarding node legacy install nodejs-legacy "apt-get install nodejs-legacy"


Setup

Edit the file config.js and modify the api_key password

Execute "node server.js" to verify that the server can run with no errors

Tsdns running

If there's no error run the process in the background with the command: nohup node server.js &