Linux

How to manage RHEL / CentOS / OEL Linux Services

Redhat enterprise Linux comes with two nice commands ntsysv – simple TUI (text based interface) interface for configuring runlevels. chkconfig – chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. Turn on sshd service on …

How to manage RHEL / CentOS / OEL Linux Services Read More »

Opensips installation

Before going ahead with opensips installation, update the system to use the latest packages. yum update This will download all the latest versions of the installed components. Once done, start with opensips dependencies installation. yum install bison yum install libxml2-devel yum  install gcc-c++ xmlrpc installation: download xmlrpc-c-1.06.41 untar sources and run ./configure –disable-abyss-threads make make …

Opensips installation Read More »

linux p2v using rsync or dd

rsync works great on production enviroments, I had paravirtualized some servers with these method: rsync -ave ssh –exclude=/proc –exclude=/sys –exclude=/dev (if you are using udev) root@runingserver:/  /mnt/newserverimage/ after this: mkdir /mnt/newserverimages/proc mkdir /mnt/newserverimages/sys mkdir /mnt/newserverimages/dev review your fstab, and copy the kernel modules: cp -pr /lib/modules/2.6.16-xenU /mnt/newserverimages/lib/modules/ more or less …. this is the way …

linux p2v using rsync or dd Read More »

enable xdmcp linux

Edit file: Red Hat Enterprise 5, CentOS 5: /etc/gdm/custom.conf Note: RHEL5 only uses this file as XDM is no longer supported. Add two enties to the existing categories: [xdmcp] Enable=true [security] DisallowTCP=false One can also use the GUI config tool /usr/sbin/gdmsetup. Red Hat Enterprise 3/4, CentOS 3/4, Fedora 1-6: /etc/X11/gdm/gdm.conf Change last line from: [xdmcp] …

enable xdmcp linux Read More »

Scroll to Top