testing | jQuery AutoComplete with Database | vk | xfe4 desktop | automatic comment on facebook | php cookie
 


 

Tweak SSD Drive in Ubuntu 16.04 Workstation

An SSD (Solid State Drive) will really speed up your computer. It will significantly reduce the boot time and increase the response of most software applications.

Every write action to a SSD will result in the undesirable phenomenon known as write amplification. This may shorten the life of the SSD.

Ubuntu 16.04 seems to be ready for SSD drives. Here are some steps you should take to extend the life of your SSD drive. The keypoint is to reduce write actions.

  1. add noatime to fstab
  2. run fstrim periodically (default on Ubuntu)
  3. reduce the use of swap (optionally in systems with enough RAM)
  4. avoid hibernation ("disabled" on Ubuntu)

How to Use APC UPS with Two or More Computers - Master Slave Setup

In a previous post it was described how to setup and monitor a UPS dedicated to your Ubuntu workstation computer (STANDALONE mode).

There is also another post about the use of apcupsd, an Open Source solution to monitor your APC UPS, which is connected to your Ubuntu workstation computer (STANDALONE mode).

In some cases you want your UPS to protect more than one computer (MASTER-SLAVE mode). apcupsd is a great solution in case of APC UPS. In my case, I use an APC UPS ("APC Back UPS BR1500GI RS 1500VA (LI)") which is physically connected via USB with an Ubuntu file and backup server (host name atlas, IP 192.168.1.52 - the MASTER computer). But I also want my UPS to protect my Ubuntu workstation (host name athena, IP 192.168.1.51 - the SLAVE computer).


Setup APC UPS on Ubuntu Workstation using apcupsd

If you have a UPS dedicated to your Ubuntu workstation, Ubuntu "Power Management" can meet your requirements. See details in this post.

If you have an APC UPS, another option is to use apcupsd, which is a more advanced tool to manage your APC UPS.


Manage UPS Using Power Management on Ubuntu 16.04

UPS means Uninterruptible Power Supply. The UPS is a device which has a rechargeable battery provides electrical power for a few minutes after the outage, depending on its specifications. However, UPS is not a power generator and its mission is NOT to continue the operation of the computer for all the duration of the blackout.

Power Management module on Ubuntu 16.04 is a flexible tool to manage your computer UPS. If you have a UPS dedicated to your workstation, Ubuntu "Power Management" is all you need.


How To Setup Virtualbox on Ubuntu 16.04

Virtualbox is an advanced virtualization platform. It runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of guest operating systems. It is available as Open Source Software (GPL2). It is lightweight and actively developed, so it is suitable for use in workstations.

I use Virtualbox to create virtual machines mainly for testing:

  • to test my current Operating System before applying major changes to running version
  • to test my software projects in a clone of a production (Debian) server
  • to test my software projects in Microsoft Windows workstations

This is a simple guide to setup Oracle Virtualbox on Ubuntu 16.04


How to Create Partition Image Backup and Restore Using Clonezilla

Clonezilla is a Free and Open Source bootable GNU/Linux distribution for disk or partition imaging and cloning. There are two versions available:

In this tutorial Clonezilla Live is used to create partition image and then restore it in a virtual machine (Virtualbox).


Easily Compress and/or Encrypt Files in Linux Using 7z (p7zip) Archiver

p7zip is a port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, FreeBSD, Cygwin, AIX), MacOS X and also for BeOS and Amiga.

7z is an excellent archiving software offering high compression ratio and strong AES-256 encryption.


Fix Mouse Sensitivity in Ubuntu 16.04

After installation of Ubuntu Desktop 16.04, a nasty surprise awaits you. Mouse is very sensitive (practically unusable) in most systems with wireless mouse. Probably, this will not happen in systems with old wired mouse. Trying to fix mouse sensitivity, using System Settings → Mouse and Touchpad, you will see that it is not possible.

Fortunately, there is an easy way to fix it, using xset (user preference utility for X).


Package Management and System Update in Ubuntu Desktop

Ubuntu Desktop releases offer handy GUI utilities to handle Package Management and System Update:

  • Repository management: Software & Updates
  • Add - remove software:
    • Ubuntu Software Center (or simply “Software” in other Ubuntu flavors) or
    • Synaptic Package Manager (actually, an apt front-end). Please note that Synaptic is not included in default installation. To install it, open a terminal and use: sudo apt-get install synaptic
  • Software and System Update:

Using a desktop computer (workstation), it is more possible that you will use these GUI utilities. However, you can use the command line if you prefer. It's a matter of choice.

It is recommended to select a Long Term Support (LTS) Ubuntu Release for your Desktop Workstation, so you will have Updates for 5 years. A new LTS version is released every 2 years. Current LTS release (2016 Oct) is Ubuntu 16.04 (Xenial Xerus).


How to Remove Old Kernels in Debian and Ubuntu

After installing a new Linux kernel, old kernels are not automatically deleted. They remain in your disk (/boot partition). You have to delete them manually. Why?

The main reason is to save disk space, which occupied by old kernels. Some systems may become unusable if not enough disk space is available in /boot partition. However, disk space is not a problem in modern systems.

An other reason is to clean up Grub boot menu. In Ubuntu, Grub boot menu is hidden by default. You can display it by pressing "SHIFT" continuously at boot time. More details in this post.

You will never delete your current kernel, of course. It is recommended to keep at least one or two older kernels, so you can boot your system in an emergency situation (hardware or software compatibility issues with the current kernel).

Previous posts Next posts