CentOS

How-To extract the content of a RPM

It is sometime handy to handy to be able to extract a RPM without installing it, simply because you might want to be able to access the files contained in that RPM.

RPM does not seem to have this feature out of the box but RPM comes with an handy tool: rpm2cpio , which will let us convert the rpm to a cpio archive file.
Then, we will be able to extract the content of this archive.

How-To set up a serial console

This tutorial will go over the step to go through in order to set up a serial console on Linux.

Serial Console becomes handy when running a headless server (i.e no keyboard and screen) or if you cannot connect a a server because of a network issue.

How-To manage services with chkconfig and service

Red Hat based distribution come with a set of command line utilities to manage services and daemons: chkconfig and service.

chkconfig will allow you to manipulate if weather or not a service should be started for each runlevels.
On the other hand, service will let you start, stop and get a service status at run time.

This tutorial will explain how you can activate/desactivate and change service status using both chkconfig and service

Syndicate content