Category: linux

ArchLinux - Setup an SFTP user for Deluge

Requirement# Deluge is already installed, configured and working. The deluge user looks like: deluge:x:125:125:Deluge user:/srv/deluge:/bin/false. A SSH server is already installed, configured and wor

ArchLinux - Setup Deluge to use HTTPS

Stop deluged torrent process: systemctl stop deluged.service Go into deluge ssl folder: cd /srv/deluge/.config/deluge/ssl Backup or remove the old certificate and key: mv daemon.cert daemon.cert

ArchLinux - Install Zsh shell and oh-my-zsh

Install Zsh# Before installing zsh, see what shell is currently being used: $ echo $SHELL Install zsh: # pacman -S zsh For additional completion definitions, install the zsh-completions package:

ArchLinux - Install rTorrent and ruTorrent

Install rTorrent# As rTorrent package is always up-to-date on Arch repository, it's not needed to compile it. Install rtorrent: # pacman -S rtorrent Install ruTorrent# Create the web server root di

How to remove pages from a PDF in command line on Linux

To remove pages from a PDF in command line on Linux, we'll use PDFtk. Install pdftk with your favorite packet manager (ex: sudo zypper install pdftk) And run one of those commands: To extract only o

Virtualbox : change the UUID of a virtual disk

To change the UUID of a virtual disk: VBoxManage internalcommands sethduuid <filepath> [<uuid>] Examples# With a vdi disk : VBoxManage internalcommands sethduuid disk.vdi With a vmdk disk a

Virtualbox : shared folder with guest

This how-to works independently of the host platform. On virtualbox : Open the Configuration window of the VM (guest) Select Shared folder on the left menu Click on the icon corresponding to Add a sh

How to find out the Linux distribution name and version

There is the old method cat /etc/*-release to match distribution release file. For example on openSUSE this will match with /etc/SuSE-release. This method is deprecated and will be removed in the futu