Home » Articles » Technical » System Administrator » Linux

Category: Linux

Grub manual booting Linux

grub> set pager=1 grub> ls (…will list (hd0) (hd0,msdos2) (hd0,msdos1) and similar…) grub> ls (hd0,1) or (hd0,msdos2,1) or whatever-partition (…until you find the partition which contains /bin, /boot, /dev, etc…) grub> set root=(hd0,1) grub> linux /boot/vmlinuz-3.13.0–29-generic root=/dev/sda1 (…substitute your own kernel versions + disk partition, of course…) grub> initrd /boot/initrd.img-3.13.0–29-generic grub> boot Once this routine …

Read more

How to register Clone RHEL to RHN

How to register Clone RHEL to RHN In order to register a Clone RedHat Enteprise to RHN and avoid having duplicate entry, you need to reset the unique SystemID of your Clone RedHat Enterprise.   To do so, you will need to remove the file systemid which contain a unique identifier for your machine that RedHat …

Read more

Install VMWare Tools on Fedora

Installing VMware Tools on Fedora A freshly installed Fedora 21 guest comes preinstalled with open-vm-tools, an open-source version of the VMware tools for guest operating systems.  However, these tools can’t do everything the proprietary version can; at least not on VMware Workstation.  So here’s the steps required to swap things out and install VMware Tools on …

Read more

Terminator Cheat Sheet

Terminator terminal keyboard shortcuts – Cheat Sheet   Quick shortcut useful to use with Terminator terminal  in order to be way more efficient while working in a terminal.  Here is a list of my favorite Terminator shortcut that I use daily.  You can refer to the MAN page for even more shortcut:  Splitting Screen: Ctrl-Shift-E: Will …

Read more

MySQL Reset root password

Effective way to reset the root password for MySQL server Source: MySQL Documentation B.5.4.1.2 Resetting the Root Password: Unix Systems On Unix, use the following procedure to reset the password for all MySQL root accounts. The instructions assume that you will start the server so that it runs using the Unix login account that you normally …

Read more

GlusterFS Algorithms: Replication (present)

GlusterFS Algorithms: Replication (present) March 12th, 2012 Jeff Darcy – originally on http://hekafs.org Replication is the most necessarily complex part of GlusterFS – even more than distribution, which would probably be the most common guess. It’s also one of the things that sets GlusterFS apart from most of its obvious competitors. Many of them simply require …

Read more

Gluster / GlusterFS Extended Attribute

GlusterFS Extended Attributes April 26th, 2011 Jeff Darcy – originally on http://hekafs.org Extended attributes are one of the best kept secrets in modern filesystems. Here you have a fully general feature to attach additional information to files, supported by most modern filesystems, and yet hardly anybody seems to use it. As it turns out, though, GlusterFS uses …

Read more