Last update at :2024-07-06,Edit by888u
Although Snail has seen a lot of hosting providers and purchased Linux VPS hosts, most of them are limited to general software testing or setting up simple websites. However, the actual functions of Linux VPS hosts are often more than these. We can use them to build specific project environments. Some are used to build remote clients for order processing, some are used for foreign exchange projects, and some are used to install Transmission for downloading purposes. .
Yesterday, some netizens mentioned whether Transmission will be installed on the VPS host. To be honest, Snail has not heard of such a use before. Netizens said that there are quite a few actually used for downloading, so they searched for related articles. Organize and effectively implement and deploy the Transmission download environment. What needs to be mentioned here is that when we download the project, we must make sure that the merchant supports it, and be cautious when it comes to suggestions for specific copyrighted content, because overseas merchants have copyrights for specific video files, as the scholar said when downloading foreign or new videos Be careful with documentation.
In this article, Snail is using CentOS 6 64bit environment. Snail is only sharing the installation method. We are not sure that the VPS hosts we download and support support this type of use, because some VPS do not allow downloading and we need to pay attention to copyright issues.
First, install Transmission
cd /etc/yum.repos.d/wget http://geekery.altervista.org/geekery-el6-x86_64.repoyum install transmission transmission-daemon
Log in to SSH and install using yum repo, which is faster. When you see Y/n during the installation process, enter Y and press Enter.
Here we see whether to import GPG Key, just enter y and press Enter.
Second, Transmission starts the service
service transmission-daemon start
Third, Transmission firewall configuration
1. IPV4 firewall rule configuration
service iptables stopvi /etc/sysconfig/iptables
Here we configure firewall rules with iptables.
-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 rules, save and exit.
2. IPV6 firewall rule configuration
service ip6tables stopvi /etc/sysconfig/ip6tables
Add the same rules.
-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 and exit in the same way, and then restart the firewall.
Fourth, configure Transmission settings
1. Close the process
service transmission-daemon stopkillall transmission-daemon
Before we configure Transmission, we need to turn it off for it to be effective.
2. Configure Transmission
/var/lib/transmission/settings.json
Find the settings.json file and modify the configuration. If it is not modified, we can only open it locally and cannot use our server IP address.
\\”rpc-authentication-required\\”: true,\\”rpc-enabled\\”: true,\\”rpc-password\\”: \\”Management password\\”,\\ "rpc-username\\": \\"Manage user\\",\\"rpc-whitelist-enabled\\": false,
There is a lot of content on the Internet about the settings of the Transmission configuration file, such as path settings, maximum number of connections, etc. These are temporarily defaulted and will be studied later after searching. Here we mainly need to log in through the server IP to access it. Without modification, we can only Local access. We need to find the settings for the above parameters, such as username and password.
Fifth, start the transmission service
service transmission-daemon start
After saving the configuration file, we start transmission.
Sixth, log in to the transmission client
http://Server IP address:9091
When logging in, you need to enter the username and password we set above.
In this way, even after we have installed the transmission, we can open it through the WEB client and download it online.
In summary, Snail has just installed Transmission in a few steps and can download the WEB client. Friends who need this kind of use should know how to use it. Snails don't like to download stuff, so I won't demonstrate the download.
Recommended site searches: icp quick registration, IP address check, German server, free server website, foreign trade space, mainland China registration-free server, free domain name and space application, domain name query, Hong Kong IP, high defense server,
p>
发表评论