- Replace “karmic” for “lucid” in /etc/apt/sources.list :
sudo sed -i 's/karmic/lucid/g' /etc/apt/sources.list
- Upgrade your system:
sudo apt-get update && sudo apt-get -y dist-upgrade
sudo shutdown -r now
- Register at showRSS and add your favourite TV series.
- Go to the “feeds” section and generate your feed address.
- Download the latest transmission-common and transmission-gtk packages from here.
- Install them:
sudo dpkg -i transmission*.deb
- Modify $HOME/.config/transmission/settings.json with the following values:
- Go to flexget‘s web and download it.
- Install it:
sudo easy_install FlexGet*.egg
- Edit flexget’s config file:
- Initialize flexget:
- Edit your crontab to check your feed every hour:
0 * * * * /usr/local/bin/flexget
From its web: “Fabric is a Python library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. More specifically, Fabric is:
- A tool that lets you execute arbitrary Python functions via the command line;
- A library of subroutines (built on top of a lower-level library) to make executing shell commands over SSH easy and Pythonic.
Naturally, most users combine these two things, using Fabric to write and execute Python functions, or tasks, to automate interactions with remote servers.“
- Download the package from here
- Install it:
sudo dpkg -i fabric*.deb
- Follow this short tutorial to learn the basics.
- Create a file called fabfile.py
- Fill it with your customized functions. For Example:
from fabric.api import env, run, sudo
env.hosts = ['ubuntu1', 'ubuntu2', 'ubuntu3']
sudo('apt-get update && apt-get dist-upgrade ')
- Run fabric:
I find Fabric very useful and time-saving when maintaining similar servers, because you can design a task and run it automatically on all the servers.