|
Dell's OpenManage Server Administrator is a powerful tool for keeping track of your server's health and making sure everything is running as it should. Unfortunately, Dell only released packages for RedHat and SuSE, so installing the software on Ubuntu can be tricky, at best.
There is some information on the Internet about getting the package to install on exotic distributions, but I never found anything definitive. This tutorial will guide you through installing the software and getting the web access up and running.
My setup is: Dell 2950 with 1 Intel 2.2GHz Processor, 2GB RAM, PERC 5/i SCSI Raid Controller with 2 73GB 15K RPM SAS disks running Ubuntu 8.04.2 LTS 64-bit.
|
|
Read more...
|
|
I recently encountered a problem on one of my servers with logrotate and the Apache web server. Logrotate is configured to run daily and help me keep all the log files at a manageable size. In the configuration, I have it set to rotate my Apache2 log files on a weekly basis.
The problem was, on one server, apache was not properly restarting after the log files were rotated. The script would run on Sunday morning, my logs would show that apache shutdown gracefully, but it would never come back up. The only log entry that gave me any indication of an issue was simply:
[notice] caught SIGWINCH, shutting down gracefully
In doing some research, I found that there were others with a similar issue, but no one had a solution. The best I could do was come up with a work-around. I created the following script and added it to my /etc/cron.hourly folder:
#!/bin/bash
if [ `pgrep apache2 -c` -le "0" ]; then /etc/init.d/apache2 start; fi
Now, every hour, this little script will count the number of apache processes that are running and, if it doesn't find any, start apache.
Seems easy enough to me and, hopefully, this will help someone else out there, too.
Ciao!
|
|
|
It appears that changing the Windows Vista default logon account or removing the auto-login completely is a tricky thing to do.
In this tutorial, you will learn how to enable auto-logon, select a default account for auto-logon, or turn off the auto-logon feature.
|
|
Read more...
|
|
|
In my quest for a rackmount KVM that would not break the bank, I came across a number of older Compaq KVMs that would exactly suit my needs. While I was looking at the KVM trying to figure out how much I wanted to pay for it, I realized that there were no buttons or any hardware means of selecting the computer that you were viewing. It all had to be done from OSD.
|
|
Read more...
|
|
|
This tutorial will describe how to install Subversion with SSL web access onto a home server. Subversion is a great way to keep track of a number of projects and have widespread access to all of your files. It doesn't matter if you are the only person that will be accessing the repository and don't need all of the version control features, it is still a great way to keep an eye on your projects and make sure you have your information wherever and whenever you need it.
This tutorial uses Ubuntu Server 8.04 with Apache2, OpenSSL, and WebDAV. It assumes that you have a properly setup server including Apache and OpenSSL, at least a little Linux knowledge, and access to the Linux command prompt with sudo access. This tutorial is geared toward the home Linux server and assumes that your ISP blocks all incoming ports below 1024.
|
|
Read more...
|
|
There are a number of reasons why you would want to redirect a user upon login. Maybe you want to have a different starting page for different classes of members, or you have just updated your terms of service and you want all the users of the site to view them on their next login, or you have a special message for all moderators that needs to be read and confirmed on their next login. That's where the Community Builder User Redirection component comes into play, a custom Joomla! component that works with a Community Builder plugin to redirect users upon logging into the site.
|
|
Read more...
|
|
|
I had a bit of a panic moment this morning. I tried to login to this site using the front-end login and was completely unable to do so. At that point, I was terrified; I was afraid that no one could login to the website to leave comments and such. I quickly logged in to the backend administrator area of the site and, thankfully, was able to easily get in. I then tried to login as a different user on the front end of the website, and was not allowed access, but I did notice that the user I tried to login with was marked as logged in on the User Manger in the administrator section. So, I began troubleshooting.
|
|
Read more...
|
|
|
This is going to start out as a rant and end as a mini-tutorial, so let's get started.
I hate explaining the php list() construct to programmers who should know how to use it. I'm well aware that there are many, many, many functions and constructs in php and there is no plausable way to know them all. But list(), I mean, come on. That is a basic one!
Let's work on the premise that we have a csv file with fields containing: First Name, Last Name, City, State, and Birthdate. In your php script you import that data and break it into an array of records called $records. How many times have you seen code that looks something like this:
|
|
Read more...
|
|
|
As I sat at my day job, pounding away at the keyboard, a co-worker sent me a link to a comic that, honestly, just made my day. In my joy, I started thinking about all the people I could share the comic with, and I came up empty! It's computer humor and I don't know that many people that would get it ...
Anyway ... for all you Linux Users out there ... Don't you wish we had sudo in the real world!?!?!?
Enjoy.
From xkcd.com
|
|
|
Ever want to quickly and easily confirm that a user has entered the same password in the Password and Confirmation fields? This simple JavaScript Tutorial will show you how to do just that. Using the onkeyup event, we can check what the user has enterd in both fields and confirm that they have typed the same thing twice and visually confirm to the user that there is no problem with his password.
|
|
Read more...
|
|
|