What is this tutorial for? In this tutorial I will show you how to setup your seedbox on a Dedicated Server (or VPS) running on CentOS 6. It’s a step-by-step guide rather than an auto-install script so you will be able to install the latest version of the softwares. Other stuffs If there happen to be enough interest, I will add to this tutorial: 1. Disabling root SSH login access for additional security & enable sudo for other users. 2. Add Basic Authentication (username/password prompt) to the ruTorrent Web GUI. 3. Deluge installation. 4. Disable all IP logging on the server for total anonimity. 5. Install Squid proxy server and use it on your browser for anonymous surfing.
Prerequisites 1. SSH Client: you can get PuTTY from PuTTY Download Page 2. Dedicated Server SSH Root Login data.
Getting Started First of all, we are going to change the SSH port for security reasons. Login to your server with PuTTY as root and open the SSH configuration file.
Using nano, you can search text hitting CTRL+W. Edit the file reflecting these changes:
Replace <portNo> with a random port in the 40000 – 65535 range. NOTE: If you want higher security you should also disable root login (PermitRootLogin no) but before doing that make sure you have created a new user and added it to the sudoers list. This is beyond the purpose of this tutorial.
Now you have to restart the SSH server daemon.
Now we have to create a new user which will run the torrent client daemons. Replace <username> with the username you want to use, of course.
Issue the useradd command to create a locked user account:
Then we install nginx!
Installing PHP is quite simple. Since this is going to be a seedbox, we only need a small handful of PHP modules. We’ll also be installing APC to help speed PHP processing up, which can be handy for large torrent operations.
Edit the main nginx configuration, found in /etc/nginx/nginx.conf.
If you don’t know where the home directory of the user is located:
Now you should be able to access http://yourserver/rutorrent and get the rutorrent page. You may get a couple of errors about missing programs for some plugins, but all should work just fine.