Posts Tagged ‘ Linux ’

Mount Windows CIFS share on Linux server using kerberos keytab

May 4, 2016
By

Use kerberos ticket to mount CIFS shares on a Linux server. You do not need to know the password for the account, nor have the password stored in a file. Create the keytab file for the account my-account, this step must be completed by a Domain Admin on a domain controller C:\>ktpass -princ my-account...
Read more »

Tags: , ,
Posted in Technology | No Comments »

Scan for new disk without rebooting Linux server

March 6, 2015
By

After you add a new disk on a Red Hat Linux server you can scan for the new disk without rebooting. List the number of scsi host controllers ls /sys/class/scsi_host host0 host1 host2 Run this command to to scan each host0, host1 and host2 echo “- – -” /sysc/class/scsi_host/host0 Alternatively you can do all...
Read more »

Tags: ,
Posted in Technology | No Comments »

VMware converting RAW disk to VMDK

January 27, 2014
By

Convert a Vmware RDM disk to VMDK while guest VM is powered off Power down the guest VM Clone the VM, under select virtual disk format – select Advanced – change the disk format to Thick provisioned. You only need to do this step for the RDM disk. Completed the steps to create the...
Read more »

Tags: , ,
Posted in Software | No Comments »

Add new disk to Red Hat Linux server, create new filesystem without reboot.

January 27, 2014
By

If you are running a VMware virtual Red Hat Linux server then it is very easy to add a new disk. For physical servers with hot add capability this is also possible. I am going to show you how to add a new disk to Red Hat Linux complete with a new filesystem, without...
Read more »

Tags: , ,
Posted in Software | No Comments »

Configure the DVD or Linux ISO as software repository for Red Hat Enterprise Linux

September 7, 2012
By

You downloaded and installed Red Hat Enterprise Linux on your server becasue you just want to test it out. During installation you selected base server, after installation you realize that you need to install additional packages. But since you did not purchase the Red Hat license it is not possible to install additional packages...
Read more »

Tags: ,
Posted in Software | No Comments »

SSH login without password using public key authentication

August 23, 2012
By

On Computer A Create the public and private keys using the command ssh-keygen # ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been...
Read more »

Tags: , ,
Posted in Software | No Comments »

Granting Active Directory group privilge to logon to linux server

November 28, 2011
By

Likewise similar to Winbind is an open source software used to integrate linux server with Microsoft Active Directory authentication. This article assume that you already have Likewise installed and configured on the Linux server. The steps below is simply to grant a new AD group the privilege to logon to a Linux server. To...
Read more »

Tags: , , ,
Posted in Software | No Comments »

How to shrink a filesystem in Linux

November 28, 2011
By

This does not happen often, but you may run into a situation where you need to reduce the size of the Linux filesystem. Well, in my case I wanted to clone my Red Hat Enterprise Linux server which was running in Vmware ESXi. The root filesystem was originally built too large and I wanted...
Read more »

Tags: , ,
Posted in Software | No Comments »

How to extend the filesystem on a Vmware ESX guest Red Hat Linux server

May 26, 2011
By

Being the administrator of a large Linux shop, I have had to extend the filesystems on the Red Hat Linux server a few times. Each time I had the opportunity to extend the filesystem, I found that I struggled to remember the commands and steps. This is because Linx is a very command line...
Read more »

Tags: , ,
Posted in Software | 4 Comments »