First we need to create the user before we create the ssh folder and the file authorized_keys Step one user creation Add user: sudo useradd theusername add user to the wheel group  ( -a = append G is group wheel …

add user and create ssh folder and add ssh key to authorized_keys centos Read more »

Tagged with: , , , , ,

The information below is taken directly from the man page hier(7) A typical Linux system has, among others, the following directories: / This is the root directory. This is where the whole tree starts. /bin This directory contains executable programs …

Description of the Linux file system hierarchy Read more »

Tagged with: , , , , ,

If your system is behind a ISA proxy you need to do the following to get yum to work properly. Step one: Download the cntlm rpm package For 64 Bit CentOS 6.x ftp://rpmfind.net/linux/epel/6/x86_64/cntlm-0.35.1-4.el6.x86_64.rpm For 32 Bit CentOS 6.x ftp://rpmfind.net/linux/epel/6/i386/cntlm-0.35.1-4.el6.i686.rpm Step …

how to use yum through ISA proxy using Active Directory account Read more »

Tagged with: , , , , , , , ,

Command: hostname explained I have seen a lot of people telling people to use the command hostname to get FQDN but almost none that have explained to junior people what the command actually does more than hostname -f. So I …

hostname command explained Read more »

Tagged with: , , , , , ,

This is how you change the hostname of you CentOS or Red Hat Enterprise host. 1. First check what the current fully qualified domain name is with the command hostname -f hostname -f Result of the command: $ hostname -f …

How to change hostname “FQDN” on CentOS and RHEL Read more »

Tagged with: , , , , ,

Install the XenServer Tools on Linux 1. Put the xs-tools.iso in the virtual dvd.. 2. Log in to the vm via the console or SSH 3. Create a dir called xs-tools under /mnt/ mkdir /mnt/xs-tools 4. Mont the XenServer Tool …

How to install XenServer Tools – Linux Read more »

Tagged with: , , ,