How to install Transmission on CentOS of VPS

Source: Internet
Author: User
The tutorials on the forum are built on Ubuntu, which is simple and suitable for beginners. but for servers, CentOS is the first choice and stability is the king. Therefore, the following tutorials are provided. Especially after you buy VPS, in addition to SEEDBOX, you can better experience its original charm-server, you can use it to build a Forum (for example, the tutorial on the hd2pt Forum is built on Ubuntu, which is simple and suitable for beginners. but for servers, CentOS is the first choice, and stability is the king, therefore, the following tutorials are provided. Especially after you buy VPS, in addition to SEEDBOX, you can better experience its original charm-server. you can use it to build a Forum (such as hd2pt ), put your own blog (use wordpress), and create a dead graph for yourself. The following is a tutorial:

Make sure you have the following knowledge:


Medium-level computer technology
Understand basic Linux Commands
One VPS or independent host
SSH client, such as PuTTY (under Win) or Terminal (under Mac ). Linux built-in SSH commands can be directly connected.
10 minutes. (It only took me 4 minutes to build my own project)
1. install
By default, you have obtained the root account, so please log on to SSH first. 2. installation prerequisites
First, we have to install and run the Seedbox and web page control client grass-roots programs. Enter the following command:

Yum-y install gcc-c ++ m4 make automake libtool gettext openssl-devel pkgconfig perl-libwww-perl-XML-Parser curl-devel vsftpd libevent-devel libevent libidn- devel zlib-devel

This step may take 1-2 minutes depending on the server performance. 3. install intltool
The intltool provided by CentOS has not been updated for a while, so we need to manually install the latest version. Don't worry, just enter the following command one by one. (Note: The author installed version 0.40.6, which has been officially released in version 0.9. please install it as needed !)

Cd/tmp
Wget http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz
Tar zxvf intltool-* .tar.gz
Cd intltool -*
./Configure -- prefix =/usr
Make
Make install

4. install Transmission
Transmission is a BT client that truly downloads and uploads your torrent. Enter the following command:

Cd/tmp
Wget http://download.m0k.org/transmission/files/transmission-2.04.tar.bz2
Tar xvjf transmission-* .tar.bz2
Cd transmission -*
./Configure -- prefix =/usr
Make
Make install

Now you need to add a system user to run Transmission:

Useradd-mr transmission
Chmod g + rwx/home/transmission/

Create an init line script to run Transmission. This code is modified from the script of Jason Friedland.

Wget-O/etc/init. d/transmissiond http://pastie.org/pastes/962731/download
Chmod 755/etc/init. d/transmissiond

Set the boot to run Transmission:

Chkconfig -- add transmissiond
Chkconfig -- level 345 transmissiond on

Run and stop Transmission. This step is particularly important. in addition to verifying whether Transmission is successfully configured, the first time you run it, a configuration file will be generated. you need to set this file to configure Transmission. After the command is completed, you should see two green [OK].

Service transmissiond start
Service transmissiond stop

Now we should configure Transmission. replace the username and password in bold with your own username and password.

Cd/home/transmission/. config/transmission/
Sed-I s/^. * rpc-whitelist-enabled. */"rpc-whitelist-enabled": false,/settings. json
Sed-I s/^. * rpc-authentication-required. */"rpc-authentication-required": true,/settings. json
Sed-I s/^. * rpc-username. */"rpc-username": "username",/settings. json
Sed-I s/^. * rpc-password. */"rpc-password": "password",/settings. json creates a folder for storing the content to be downloaded by Transmission:

Mkdir-p/home/transmission/Downloads/
Chown-R transmission. transmission/home/transmission/Downloads/
Chmod g + w/home/transmission/Downloads/

Then run Transmission:



Service transmissiond start

Test Transmission: Open the following URL:
Http: // [host IP address]: 9091/transmission/web/
A window will pop out asking you to enter your account password and enter your username and password in the installation step. After logging in, you should be able to see Transmission's WebUI.
Transmission remote control software

 

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.