I recently updated a development server running CentOS and ran into various minor issues including one regarding postfix being compiled with MySQL support. The development server runs ISPConfig for various virtual hosts and after upgrading all the packages on the server which included Postfix I noticed errors in the maillog. Below I describe what the error was in more detail as well as how it can easily be resolved.
I have been working on setting up some new CentOS Linux servers for a company I work for and one of the things I need to do is build a more current version of Ruby than what is available in the YUM repositories. To do this I am going to download an updated version of the Ruby Source RPM built for Fedora and then build the RPM’s from that. One of the commands required to build RPM’s is rpmbuild which is provided by the rpm-build RPM package as shown below.
I have been playing around with building RPM packages today on CentOS because I needed to upgrade curl and the latest version available on CentOS didn’t have the features I needed to use. One of the things that had come h up during the RPM build process and the RPM package installation process using yum was the fact that your RPM packages should be signed. Signing RPM packages gives them some validity and will allow others to install them without having to modify their yum.conf file. Below I describe how to generate a GPG key to be used to sign RPM packages created using the rpmbuild command. First below is a message that will be received when attempting to install unsigned packages using yum with the default yum configuration.
I have been working on setting up some automated tasks at work that use curl to connect to FTPS on a remote server. On one of the development servers I was testing from I attempted to issue a curl command using the “–libcurl” switch which returned an error. This command was recommended by a coworker as a start to set up the automated tasks to connect to FTPS on the remote server using curl. Below I describe the error in detail, the cause of the error, and how to resolve the error.
It has been a long time since I built an RPM using a packages source so I had to brush up on my knowledge there before attempting to build an RPM package for CentOS today from curl’s source. In the process of building the curl RPM package for CentOS I received an error from rpmbuild stating that there was a rather large list of files that were unpackaged. Below I describe the rpmbuild unpackaged error along with a way to resolve the problem. I would love to hear any feedback people have on RPM building since it is not something I do on a regular basis my knowledge is limited.