It is sometimes useful not only to know your repo list covers you for all the stack of software you want but also where does a package actually reside. The repoquery command comes to the rescue.
EPEL stands for Extra Packages for Enterprise Linux. This is a massive collection of packages that are very useful for the building of many modern stacks and include many tools for the running and maintenance of systems. The homepage of EPEL is here: http://fedoraproject.org/wiki/EPEL. You can browse the package set using repoview: EPEL 6: i386, x86_64, ppc64, sources EPEL 5: i386, x86_64, ppc, sources Installing on […]
#vim /etc/sysconfig/network Use something like HOSTNAME=testarossa.maranello.local to overwrite the default name and domain of the server. e.g. NETWORKING=yes HOSTNAME=testarossa.maranello.local To avoid rebooting issue the following : hostname testarossa.maranello.local That will set it for the current session.
To monitor TCP and UDP connections the following command is very useful: netstat -t -u to have a continuous update use the watch command: watch netstat -t -u There is a much stronger tool for real time analysis called iptraf. It is quite self explanatory : at command line run iptraf This tool has many functions […]
What does it mean? The yum message “Warning: RPMDB altered outside of yum.” or, as the yum message said for a few months, “Warning: RPMDB has been altered since the last yum transaction.” means some application has altered the rpm database (installed or removed a package) without going through the Yum APIs. This is almost […]
Setting up NTP is very important for a host of application especially clusters and applications like DBs requiring all the servers to be critically time-wise synced. Install NTP on Red Hat and CentOS 6 $ yum install ntp $ chkconfig ntpd on $ ntpdate pool.ntp.org $ service ntpd start Install NTP on Ubuntu $ apt-get […]