background preloader

Administracion

Facebook Twitter

Krank.se » Rtorrent magic: Moving finished torrents based on labels. So… I’ve been using rtorrent as my main torrent client for a couple of years now.

krank.se » Rtorrent magic: Moving finished torrents based on labels

I have it running on my server and I’m usually adding torrents either by placing them in a watchdir or by adding them through a web interface (rutorrent, in case you’re wondering). One of the things I’ve always wanted was to have rtorrent handle multiple categories. I wanted games I downloaded to go into a “games” directory, comics into a “comics” directory, and so on. I’ve been looking for solutions for a few years now, and all I’ve found online are people in the same boat. How To Configure vsftpd to Use SSL/TLS on an Ubuntu VPS. Introduction Warning: FTP is inherently insecure!

How To Configure vsftpd to Use SSL/TLS on an Ubuntu VPS

Consider using SFTP instead of FTP. FTP, or file transfer protocol, was a popular way to transfer files between local and remote computers in the past. The protocol is inherently insecure, so its usage has fallen out of favor. Git Push Fails - fatal: The remote end hung up unexpectedly - Stash Knowledge Base. Skip to end of metadataGo to start of metadata Symptoms When users try to run "git push" the following error message is shown: Cause The "Smart HTTP" protocol in Git uses "Transfer-Encoding: chunked" in POST requests when it contains packed objects greater than 1MB in size.

Git Push Fails - fatal: The remote end hung up unexpectedly - Stash Knowledge Base

Some proxy servers, like Nginx, do not support this transfer encoding by default, and the requests will be rejected before they get to Stash. Workaround When pushing a large amount of data (initial push of a big repository, change with very big file(s)) may require a higher http.postBuffer setting on your git client (not the server). Resolution. Play Windows Media files in Firefox with the Windows Media plugin. To play Windows Media in Firefox, you need the Windows Media Player browser plugin installed.

Play Windows Media files in Firefox with the Windows Media plugin

There are two different versions: The original, which is usually included with Windows up until XP. The new version, specifically developed for Windows XP and above, which is only available by download. This article describes how to check for and install the Windows Media Player Firefox plugin.Many Windows XP users will have the old plugin already, but it is recommended that you install the new plugin, anyway.

Note: Even if you already have Windows Media Player installed, you may still be missing the plugin required to play back Windows Media audio and video embedded in web pages. Cómo reproducir archivos AVI en Firefox. Debido a la magnitud de los códecs disponibles, los archivos AVI pueden venir en una variedad de tipos.

Cómo reproducir archivos AVI en Firefox

Aunque algunos de los más comunes como DIVX se suelen reproducir en un reproductor DIVX integrado, otros pueden descargarse automáticamente a tu computadora. Podrías haber notado que este problema se produce a veces en Mozilla Firefox cuando no lo hace en Microsoft Internet Explorer. Siempre y cuando tengas el códec adecuado necesario para reproducir el archivo AVI, también se puede reproducir en Firefox con Windows Media Player. Esto es muy útil para grandes archivos AVI, ya que no tienes que esperar hasta que hayan terminado de descargarse para verlos. Missing Codecs in Firefox to Play Video in Gallery2. Update: Instead of doing all the work below, you should first try installing this plug-in: Windows Media Player Firefox Plugin Every once in awhile, I’ll hit a video on my gallery that requires me to download a codec, but telling it to download fails to find a codec that’ll work.

Missing Codecs in Firefox to Play Video in Gallery2

If I copy and paste the URL into IE, the video plays fine. I started searching the Gallery forums. EiTheL Inside: Autenticación SSH mediante certificado. La idea es que podamos abrir sesiones ssh sin necesidad de introducir una contraseña.

EiTheL Inside: Autenticación SSH mediante certificado.

Así pues, lo que decidimos es crear un certificado y propagarlo en los nodos. De esta manera, como los nodos ya conocerán el certificado del maestro, abrirán la sesión sin preguntar por ninguna contraseña. Crear certificado Creamos un certificado en el nodo0 para que nos podamos identificar mediante él en los otros nodos (nodo1, nodo2, etc). Configuring NGINX in front of Tomcat or other Java application server. NGINX is an awesome software that functions as both web server and as a reverse proxy.

Configuring NGINX in front of Tomcat or other Java application server

Sometimes you may need to configure it in front of your tomcat or other application server. There are many reasons but here are some common ones: there are many types of attacks that NGINX can handle very well. This is why it is commonly put in front of Apache for PHP websites.NGINX has caching functionality that can speed up your website significantly. Perhaps 10, 100 or 1000 times faster.you may need to host multiple Java application in a single server and are accessed using different domains. Apache Tomcat. The tomcat7-admin package contains two webapps that can be used to administer the Tomcat server using a web interface.

Apache Tomcat

You can install them by entering the following command in the terminal prompt: sudo apt-get install tomcat7-admin The first one is the manager webapp, which you can access by default at It is primarily used to get server status and restart webapps. Access to the manager application is protected by default: you need to define a user with the role "manager-gui" in /etc/tomcat7/tomcat-users.xml before you can access it. The second one is the host-manager webapp, which you can access by default at It can be used to create virtual hosts dynamically.

Install Apache Maven 3.2.1 in Ubuntu 14.04 - Sysads Gazette. Apache Maven is a software project management and comprehension tool.

Install Apache Maven 3.2.1 in Ubuntu 14.04 - Sysads Gazette

Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. New Features Add option to exclude all transitive dependencies for a particular oneAllow wildcards in dependency exclusionsCommand line option to exclude modules from reactor Key Features Install Apache Maven Step 1: Remove older version sudo apt-get remove maven2. 10 SCP Commands to Transfer Files/Folders in Linux. Linux administrator should be familiar with CLI environment. Since GUI mode in Linux servers is not a common to be installed. SSH may the most popular protocol to enable Linux administrator to manage the servers via remote in secure way. Built-in with SSH command there is SCP command. SCP is used to copy file(s) between servers in secure way. The below command will read as “copy source_file_name” into “destination_folder” at “destination_host” using “username account”.

Basic syntax of SCP. How to Install Oracle Java 7/8 (JDK and JRE) In Ubuntu 14.04, 13.10, 12.10, 12.04 and 10.04 Via PPA or Linux Mint 17 - Enqlu. Ubuntu and Debian - Nginx Virtual Hosts. Now we have Nginx installed (whether via the package manager or from source) we are in a position to serve multiple domains using Virtual Hosts. Do note the layout used in this article is explained here — feel free to use the directories of your choice. Create the layout Let's create the basic layout for each domain. How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 14.04 LTS. Configura un servidor SSH en Ubuntu para acceder a tu equipo de forma remota.

En este manual hablaremos sobre el SSH y cómo configurarlo para acceder remotamente a nuestro equipo con GNU/Linux, también podremos acceder a nuestros routers si tienen firmwares basados en Linux como Tomato RAF. Creating a Chroot Jail for SSH Access. I wanted to setup a way to allow SSH access to my machine but limit their abilities heavily. To do that I figured a chroot jail was the best way.

In this example I'm using ArchLinux and OpenSSH 5.1p1. It should be a very similar process on any *nix operating system. Setup your test user The way I'm setting this up, is that all my chrooted users will be added to the sshusers group. . $ groupadd sshusers $ adduser -g sshusers user Setup the jail directories The next step is to setup all the directories needed. SSH and SFTP Chroot Jail. For a little while now I've wanted to be able to chroot both SFTP and SHH accounts on one of my multi-user VPSs.

SFTP on its own is not so difficult. OpenSSH 4.9p1 and above includes the ChrootDirectory directive. Chroot SFTP users with OpenSSH. OpenSSH configuration You need to edit the file /etc/ssh/sshd_config and configure OpenSSH to use its internal SFTP subsystem; this is needed to simplify the Chroot creation (we will not need to copy additional libraries inside the Chroot). Just add at the end of the file the following statements: Subsystem sftp internal-sftp Match Group sftp ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no of course you can customize the ChrootDirectory value to match the users home folder path, in this case is just set to "%h" which is a placeholder that get's replaced at run-time with the home folder path.

Top 20 OpenSSH Server Best Security Practices - nixCraft. OpenSSH is the implementation of the SSH protocol. OpenSSH is recommended for remote login, making backups, remote file transfer via scp or sftp, and much more. SSH is perfect to keep confidentiality and integrity for data exchanged between two networks and systems. However, the main advantage is server authentication, through the use of public key cryptography. Ubuntu 12/13/14 Debian 7 Seedbox Guide/Script -rtorrent/rutorrent/autodl-irssi/vsftpd.

The Seedbox From Scratch Script (Multi-user, quota, sabnzbd and Deluge) INSTALAR VSFTPD SERVER EN UBUNTU 12.04. Vamos a instalar vsftpd porque es ligero, robusto, escalable, seguro, y lo recomienda Ubuntu para su sistema. Empezamos Instalando el servidor FTP: sudo apt-get install vsftpd Ahora ya lo tenemos funcionando pero con la configuración por defecto. Esta configuración no se adapta al uso común. y no tiene ningun tipo de seguridad, podrias dejarlo asi si te interesa pero de este modo tienes un server escuchando en el puerto 21 con acceso anonymous y permisos de lectura, y eso de que un usuario anonimo pueda ver todo el contenido de los directorios de FTP de tu servidor, no es recomendable ¿verdad?.

Ademas el servicio FTP normalmente es ofrecido por la capa de aplicación del modelo de capas de red TCP/IP al usuario, utilizando los puertos de red 20 y el 21. Empezemos pues a configurar nuestro servidor FTP de un modo mas seguro.