Technology Insights

Change Windows 7 Default File Save Location

As many people who follow this site may know I recently switched from Linux to Windows 7 as my daily operating system. This morning I saved a file as the default “save” in word instead of “save as” which is what I normally do. I then looked in my users My Documents directory and the file wasn’t there. At this point I was perplexed and a little annoyed so I ran a search for the file and found it in C:/Users/Public/My Documents which is not where I wanted it to go. I am not sure whether this was user error and I just somehow set up my system wrong or if this is the default Windows 7 behavior. Either way I decided to out line how I straightened it out.

Details
Technology Insights

Generate A GPG Key To Sign RPM Packages Created Using rpmbuild On CentOS Linux

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.

Details
Technology Insights

Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 283 more bytes)

When working to create a GPG key to sign some RPM packages I was building I ran into a message I had never seen before. I was building the RPM packages on an older server with not a lot of power which I am assuming contributed to my issue. The error is noted below but basically means you need to generate a lot of random bytes which are used to create a unique key. Within the error it states that the computer needs to collect more entropy so below I explain the error in more detail, what entropy means, why more entropy is needed, and how to generate as much as possible in a short amount of time to finish generating the GPG key.

Details
Technology Errors

curl: option –libcurl: is unknown, curl: try curl –help for more information

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.

Details
Technology Errors

Yum Error: Package curl-7.20.0-1.i386.rpm is not signed, Install A Yum Package That Is Not Signed

Today I have been working on a project for work that involved accessing FTPS using curl. I needed the curl –libcurl switch which is not available in curl 7.15 so I needed to upgrade curl on the CentOS server I was working on. The problem is that there are not any repos with newer versions of curl available so then I set out to create my own curl RPM package. I was able to do this while learning many things along the way such as signing RPM packages. The first revision of my curl RPM package was not signed but I wanted to go ahead and install it anyway so below I explain installing unsigned RPM packages using yum.

Details