I was messing around with the CPAN the Perl world wide archive of resources earlier today and it was asking for the default location of ncftpget. By default this is no longer installed on CentOS so you will first need to install the EPEL repository and then install NCFTP using yum. Follow the directions below to install ncftp which includes ncftpput, ncftpget, ncftpbatch, ncftpspooler, and more.
I needed to see what Linux package installed netstat so I could attempt to install the netstat application on my laptop running Windows 7 Ultimate 64-Bit. I first thought that maybe there was a netstat package that installed netstat as a standalone application but that was not the case.
I recently was installing Django for a test project and needed to upgrade Python on a CentOS server to 2.6. The current revisions available via yum on CentOS are 2.4. The yum package manager requires Python 2.4 still to function properly so upgrading Python to 2.6 manually will break the CentOS yum package manager. After a little bit of research I found a yum repository that would allow you to install Python version 2.6 in parallel to Python version 2.4. Below I explain how to install the new Python version, not break the yum package manager, and modify a Django project that references Python to use the 2.6 version instead of the 2.4 version.
I recently noticed a difference of the output from the “ls” command between servers so I wanted to update the package on each server to make sure I was comparing apples to apples. I knew that “ls” was part of a grouping of utilities but wasn’t sure which package. You can use the info command to find out more about a specific Linux command as shown below. Only the first paragraph is shown in the output since its pages long.
I recently decided to do a fresh CentOS install on a web server with a minimal amount of sites on it because it seemed easier than attempting to upgrade everything. With a fresh install I figured I would be forced to get everything completed quicker. The server was upgraded from CentOS 5.1 to CentOS 5.3 and from ISPConfig 2.X to ISPConfig 3.X. One of the virtual host configurations was for a Nagios server that monitors a fairly large list of servers running various services from basic server items like CPU, Load, Disk Space, etc. all the way to complex PostgreSQL statistics and other custom items. There are numerous Perl scripts to monitor PostgreSQL including check_pg_connections.pl, check_pg_lock_status.pl, check_pg_max_xid.pl, check_pg_queries.pl, check_pg_time.pl, and check_pg_waiting_queries.pl. The scripts use the DBD-Pg Perl module to make a connection (remote or local) to PostgreSQL servers.