2011

GNU/Linux, Server, Ubuntu/Debian

How to change Linux I/O Scheduler during runtime

This post describes the steps on how to change the Linux I/O scheduler dynamically while running a Linux operating system. You can refer to the previous post on the explanation of the differences of Linux I/O schedulers. I/O schedulers determine how disk read/write are managed by the Linux kernel. Changing I/O scheduler requires you to […]

GNU/Linux, Open Source, security, Ubuntu/Debian

Easy File Encryption On Ubuntu Linux with OpenSSL

Here’s an easy way to encrypt your file using OpenSSL. The general syntax is: openssl enc (cipher) -e -in (input file) -out (output file) so to encrypt a “plaintext.txt” file, using aes256, you only need to run this command: openssl enc aes256 -e -in plaintext.txt -out encrypted.txt Similarly, to decrypt the file, you can run […]

GNU/Linux, Other Operating System, Ubuntu/Debian

The differences between Linux IO Scheduler

The Linux kernel input/output scheduler (IO Schedulers) controls the way the kernel handles read/write to disks. Different I/O schedulers may have different impact on certain workloads. Here are the list of available Linux I/O schedulers: 1) Noop Noop scheduler is the simplest IO scheduler available in the kernel. It does not perform sorting or seek-prevention. […]

Computers, GNU/Linux, security, Server, Ubuntu/Debian

Debian: Force users to use more secure login password with pam_cracklib

One of the factor that makes your system easily crackable is the weak password. PAM cracklib forces users to choose stronger password by analyzing the password strength, length and entropy. To enable pam_cracklib in Debian / Ubuntu operating system, you need to install libpam_cracklib: sudo apt-get install libpam_cracklib Then edit the “/etc/pam.d/common-password” file using your […]

hardware, Open Source, Tips & Guides, Ubuntu/Debian

Ubuntu: How to erase CD-RW/DVD-RW from Command-line

Here’s an easy way to erase CD-RW and DVD-RW from command-line in Ubuntu: you only need to install ‘wodim’ package: sudo apt-get install wodim Then run: wodim -scanbus To search for the cdrw device in case if you don’t already know. To erase the entire disk, run: wodim dev=/dev/cdrom blank=fast That’s all!

Scroll to Top