Archive for February, 2008

To get the Software Update application in CentOS to use a web proxy server, add the following line to the /etc/yum.conf file:
proxy=http://www.theProxyServer.com:port/
Replace “www.theProxyServer.com:port” with the URL and port number of the proxy service running on the proxy server. The “/” at the end is important so don’t forget to add it.

To set up a MegaRAID with Raid 5 on an Xserve follow these steps:
1. Boot the server from OSX Server CD
2. Open the Terminal application
3. Type in the command
megaraid -create auto
4. Close the Terminal application
5. Open the Disk Utility application
6. Create a new partition on the new RAID drive with the Disk Utility application
7. Reinstall [...]

If on reboot the server does a consistency check of the RAID, this process can take a very long time. It may take upwards of 8 or more hours. There isn’t really any indication an Xserve is doing a consistency check on reboot. What happens is the Xserve boots to a gray screen or if [...]

Here is an example of a basic login function which is taught in a lot of PHP tutorials. The purpose of this code is to prevent someone from viewing a web page unless they provide a valid username/password in a form. The username/password is stored in a MySQL database.
$username = $_POST["username"];
$password = $_POST["password"];$query = “SELECT [...]


About this blog

This blog is about technology related topics. It will primarily contain problems and solutions to IT problems that I encounter on a day-to-day basis. In addition interesting things I come across either on or off the internet will be posted here as well. I will also include step-by-step tutorials to common tasks people may need to do with their computers.

Web Hosting Discount

    Get the first month for only $0.01 using coupon code HGCOUPONBLOG. No contracts, cancel anytime.

Revolutionary One Time Password Device

Add to Technorati Favorites