Tag: linux

Setup a proxy under Linux

Environment variables# Lot of programs (such as wget, curl, pacman, ...) use environment variables to determine the proxy of a given protocol. Environment variables can be added per user in their .bas

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

Deploying a subfolder to GitHub Pages

You are building a website with a static site generator like Hexo or Jekyll? You want to have website source code on GitHub and the website running on gh-pages without maintaining two Git repository?

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