Author Archives: admin

Mysql migration from 6 to 5

Now that mysql 6 alpha was announced at it’s end and has not been updated since 2009, I am trying to move a client’s installation to the latest source distro on a brand new server. Trying to migrate a mysql … Continue reading

Posted in Uncategorized | Leave a comment

Lock down vsftpd and give access to symlinks

Locking down vsftp is pretty easy, but giving access to symlinks is another issue entirely. To lock down vsftp, use the method as per the link above (chroot_local_user=YES) or one may also use the feature in vsFTP that allows a … Continue reading

Posted in Uncategorized | Leave a comment

RT could not load a valid user

Was running into a brick wall trying to figure out why a new user could not create a new ticket on a Request Tracker installation; RT could not load a valid user, and RT’s configuration does not allow for the … Continue reading

Posted in Uncategorized | Leave a comment

Change a ZFS smb share to allow guest access

This is all new to me. Setting up a server with OpenIndiana and napp-it as a local storage box. Following the instructions I was given, the share prompts for a username and password. Since we want automated processes on a … Continue reading

Posted in Uncategorized | Leave a comment

wp-e-commerce Add To Cart To Go To Shopping Cart Page

I was working on a wordpress site with wp-e-commerce + goldcart and we wanted the “add to cart” button to also go to the cart whenever a product is added. Based on this thread here I was able to figure … Continue reading

Posted in Uncategorized | Leave a comment

Sendmail localhost.localdomain issue

I was having trouble with a particular server identifying itself as localhost.localdomain Finally I figured out the solution was to edit the /etc/hosts file and change the line with 127.0.0.1 to have only the first portion of the hostname and … Continue reading

Posted in Uncategorized | Leave a comment

Can’t extract zip file: An unexpected error is keeping you from copying the file

I downloaded a zip file and tried to extract it (on Windows 7) An unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help … Continue reading

Posted in Uncategorized | Leave a comment

update udev rules on ubuntu

I’m trying to map a bunch of DVD drives to names on unbuntu and mucking around in the udev rules directory. I found an easy way to get things matched up is to put in a DVD and use ‘df’ … Continue reading

Posted in Uncategorized | Leave a comment

Randomize MySQL results the right way?

I wanted to get some randomized results but read many warnings about the dangerous inefficiency of using MySQL’s “ORDER BY RAND()” functionality. After searching around, I came across this solution which seems very good! Copied without permission for posterity. Often … Continue reading

Posted in Uncategorized | 1 Comment

Receive Alerts when someone connects with SSH

We needed to set up alerts whenever someone connects to a particular server. Since the server only has one user that can SSH (root is disallowed) it was pretty easy to follow these instructions and have it working in 5 … Continue reading

Posted in Uncategorized | Leave a comment