Wednesday, January 22, 2014

Change to console in Centos Virtual Box guest

-> "Insert Ctrl-Alt-Del"

"host key"-Del

-> "Insert Ctrl-Alt-Backspace"

"host key"-Backspace

"CTRL-ALT-F1"

"host key"-F1

where "host key" usually is the right CTRL

Mount root files system from Centos 6.5 Live CD

This is useful when we screw things up and we need to fix them from the live cd

pvscan
vgscan
vgchange -ay
lvscan

mount /dev/<volume_group>/<logical_volume> <mount_point>

Disable desktop icons Centos 6.5

Useful for setting up kiosk

gconf-editor

apps -> nautilus -> desktop:
computer_icon_visible unchecked
home_icon_visible unchecked
trash_icon_visible unchecked

Monday, January 20, 2014

Autologin with Centos 6.5

sudo vi /etc/gdm/custom.conf

# Add the below lines

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username

Saturday, January 18, 2014

Making Fedora 20 more livable

Making Fedora 20 more livable

#Enable the logout button
gsettings set org.gnome.shell always-show-log-out true

#Install gnome-classic-session
sudo yum -y install gnome-classic-session

#Set gnome fallback as default to avoid punishing your users with Gnome3 crap
gsettings set org.gnome.desktop.session session-name gnome-fallback

Setting up a static ip on Centos 6

I was installing a Centos 6.5 guest in a XenServer and since I wanted a static ip for this virtual machine, I ended up without GUI or tool to setup the static ip. So I had to resort to command line fu. Here is the tutorial I followed.

http://www.how2centos.com/centos-configure-network/