Coder Social home page Coder Social logo

auto-torrent's Introduction

puppet-rtorrent-nginx

A puppet module to install libtorrent and rtorrent from source, with the xmlrpc-c extension, as well as the rutorrent frontend, all on nginx.

The module has been divided into 4 independant stages that by default are all executed. Tested on Ubuntu 14.04 and 14.10

You can run this build with the command puppet apply --modulepath=./modules manifests/rtorrent.pp

Stage 1: Build rtorrent

  1. Installs required build dependencies, see the build manifest for packages that are installed
  2. Builds libtorrent and rtorrent. Roughly does
  • Clones libtorrent from official github repo
  • ./configure --with-posix-fallocate
  • make and make install
  • ldconfig
  • Clones rtorrent from official github repo
  • ./configure --with-xmlrpc-c=/usr/bin/xmlrpc-c-config
  • make and make install

Stage 2: Configure rtorrent

  1. Creates dedicated rtorrent user
  2. Creates /var/run/rtorrent for temp work
  3. Creates a default .rtorrent.rc.puppet . Due to the complexity of configuring this file you can symlink to the puppet provided one or create your own
  4. Creates a service in /etc/init.d to start rtorrent

Stage 3: Build and configure rutorrent

  1. Clones rutorrent from official github repo
  2. Configures to use rtorrent scgi socket file

(OPTIONAL) Stage 4: Setup nginx

If you do not have an existing nginx or apache server setup you can use rtorrent::nginx_php which will setup a nginx webserver with php5.

This is not enabled by default

auto-torrent's People

Contributors

a-nunes avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.