Quantcast
Channel: sleeplessbeastie's notes
Browsing all 770 articles
Browse latest View live

How to access USB devices from within VirtualBox virtual machines

I constantly forget to add myself to the proper user group to access USB devices from within VirtualBox virtual machines, so I need to write it down.First stepAdd currently logged in user to the...

View Article


How to schedule system reboot

It is a short entry, but an useful one, as it is important to have a basic knowledge of how to schedule system reboot or power it down automatically at specified time.Schedule operationReboot system...

View Article


How to disable touchpad when external mouse is connected

I unconsciously keep my thumbs on built-in touchpad, so I decided to use external mouse and automatically disable touchpad for the time mouse is connected.First stepThe first step is to identify...

View Article

How to create bootable USB flash drive

Today, I will show you how to create customized USB flash drive to boot selected ISO images using Syslinux bootloader for Linux ext4 filesystem. It is very handy and useful, so let's begin...

View Article

How to boot Debian ISO from USB flash drive

This is a follow up to the previous article. I will briefly describe a way to boot Debian installation ISO image from USB flash drive usingsyslinux bootloader.This task requires more work then...

View Article


Image may be NSFW.
Clik here to view.

How to read Tiny Tiny RSS news using terminal

Today, quite by chance I found out that I can read Tiny Tiny RSS news using newsbeuter feed reader for text terminals. It is great news, as I can leave it running inside tmux session to access it...

View Article

How to perform action after SQL statement

Sometimes I want to monitor and log particular PostgreSQL statements or execute other kind of external action. In order to achieve this, I am using simple notify mechanism and slightly modified sample...

View Article

How to temporarily disable user logins

Sometimes, I want to prevent regular users from logging into the system to perform more complex operations. To achieve that, I am using Pluggable Authentication Modules for Linux to temporarily...

View Article


How to determine file system type

The more hard drives are lying around and the more you use them, then it becomes more important to know how to unambiguously determine file system type without mounting it.partedThis utility is very...

View Article


How to set NOOP scheduler at system boot

There are many different ways to set NOOP scheduler on the first hard drive at system boot. I have decided to use simple systemd service, but alternatively you can use udev to automatically configure...

View Article

How to perform base PostgreSQL backup using standard file system utilities

Today I want to show you how to perform base PostgreSQL backup using standard file system utilities. It is great example as it briefly describes basics required before moving to more advanced...

View Article

How to parse and process Linux Software RAID events

It is an interesting thing to know how to parse and process Linux Software RAID events. It is also very useful as you can automatically take appropriate action immediately after a certain event...

View Article

Image may be NSFW.
Clik here to view.

How to use classic Gnome shell instead of Unity desktop

There are cases where I prefer to install and use Gnome fallback mode (Gnome Flashback in recent system versions) instead of full-blown Unity desktop. I will give you simple instructions on how to...

View Article


Image may be NSFW.
Clik here to view.

“I love Free Software” – Day

Today is Valentine's Day and FSFE is celebrating it as an "I love Free Software" - Day so lets share some love with the Free Software community! Why I love Free Software?I love Free Software because I...

View Article

How to perform base PostgreSQL backup using pg_basebackup utility

I have already described a simple way to perform base PostgreSQL backup using file system utilities. Now I want to show you a different approach using pg_basebackup utility.Initial notesI will use...

View Article


How to use The GNU Privacy Guard

The GNU Privacy Guard is an essential application when you need to ensure the confidentiality and origin of the information, so it helps to protect your privacy and the people you communicate...

View Article

How to perform PostgreSQL point-in-time recovery

This blog post is an update to the earlier PostgreSQL entries in which I will show you how to use continuous Write Ahead Log archiving to take advantage of the point-in-time recovery.Table of...

View Article


Image may be NSFW.
Clik here to view.

How to install and configure private Seafile cloud storage server

I have started using Seafile since the beginning of this year and I absolutely love it as it offers simple data organization using libraries and reliable file synchronization between multiple devices...

View Article

How to reload PostgreSQL configuration

Today, I will describe how to cause PostgreSQL clusters to reload their configuration files using four simple methods.SIGHUP signalEvery other method is based on it, so it is the most important one.Use...

View Article

How to use recent version of Firefox in Debian Jessie

Recenty, I was pointed out by the Piotr Gabryjeluk that Iceweasel was renamed to Firefox (see Debian Bug report #815006). This caused a major inconsistency in previous blog post.This is an updated...

View Article
Browsing all 770 articles
Browse latest View live