CENTOS6 Environment Installation Transmission Tutorial Detailed

Source: Internet
Author: User
Tags vps iptables

Although the old left to see the host and the purchase of Linux VPS host is still relatively many, but most of them are limited to the general Internet or set up a simple site use. However, Linux VPS host the actual use of more than these, we can be used to build a specific project environment, and some are used to build remote client brushes, but also for foreign exchange projects, more used to install transmission for download purposes.

Yesterday, a netizen mentioned whether will install transmission to the VPS host, to tell the truth before the old left and did not hear the use of this, users introduced to the actual use for downloading or more, so the search related articles to organize effective implementation of deployment transmission download environment. Here, we need to identify business support when downloading items, and be cautious about specific copyright content, because overseas businesses are copyrighted to specific video files, just as the scholar says to download foreign or new video files with caution.

In this article, the old left uses the CentOS 6 64bit environment. Old left is just sharing the installation method, for us to download and support the VPS host is not sure to support this kind of use, because some VPS does not allow downloads as well as copyright issues we need to pay attention to.

First, install transmission

The code is as follows Copy Code

cd/etc/yum.repos.d/
wget Http://geekery.altervista.org/geekery-el6-x86_64.repo
Yum Install transmission Transmission-daemon

Log in SSH and install it in Yum repo, which is faster. When you see y/n during installation, enter Y return.

Here we see whether to import GPG Key, you can enter Y-carriage directly.

Second, transmission start service

The code is as follows Copy Code

Service Transmission-daemon Start

Third, transmission firewall configuration

1, IPV4 Firewall rule configuration

The code is as follows Copy Code

Service Iptables Stop
Vi/etc/sysconfig/iptables

Here we iptables configure the firewall rules.

The code is as follows Copy Code

-A input-p tcp-m tcp--dport 9091-j ACCEPT
-A input-p tcp-m tcp--dport 51413-j ACCEPT
-A input-p tcp-m tcp--dport 49153:65534-j ACCEPT

Add to the rule to save and exit.

2, IPV6 Firewall rule configuration

The code is as follows Copy Code

Service Ip6tables Stop
Vi/etc/sysconfig/ip6tables

Add the same rule.

The code is as follows Copy Code

-A input-p tcp-m tcp--dport 9091-j ACCEPT
-A input-p tcp-m tcp--dport 51413-j ACCEPT
-A input-p tcp-m tcp--dport 49153:65534-j ACCEPT

Then save the exit again and reboot the firewall.

Iv. Configure transmission settings

1. Shutdown process

The code is as follows Copy Code

Service Transmission-daemon Stop
Killall Transmission-daemon

We need to shut down before we configure transmission to work.

2. Configure Transmission

The code is as follows Copy Code

/var/lib/transmission/settings.json

Locate the Settings.json file, and then modify the configuration. If not modified, we can only open locally, we can not use our server IP address to open.

The code is as follows Copy Code

"Rpc-authentication-required": true,
"Rpc-enabled": true,
"Rpc-password": "Admin password",
"Rpc-username": "Manage Users",
"Rpc-whitelist-enabled": false,

About transmission configuration file settings on the Web more than the content, such as path settings, the maximum number of connections, and so on, these temporary default, after the search slowly after the study, here we are mainly to access through the server IP login can be accessed, do not modify only local access. The above parameters we need to find settings, such as username and password to set.

V. Start transmission Service

The code is as follows Copy Code

Service Transmission-daemon Start

After saving the configuration file, we start transmission again.

Login Transmission Client

The code is as follows Copy Code

http://server IP address: 9091

You need to enter the username and password we set above when logging in.

This way, even if we have finished installing transmission, we can open it through the Web client so that we can download it online.

Summary, old left just so through a few steps installed transmission, you can implement Web client downloads. For those who need this kind of use should know how to use, the old left do not like to download dongdong, so do not download the demo.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.