Linux, Web Hosting & Server Administration

Apache Truncating Images on Network Storage (NAS)

We recently made some changes to our internal development server, all our client and business files have been moved off the actual web server and into a NAS (Network Attached Storage). Once we made this change, however, we found that none of our web sites were showing images correctly when browsed through a web browser. They looked fine in Windows Explorer or Mac Finder, but when accessed through a browser the images were not showing up at all.

Linux Administrators Need to Know PHP

A couple years ago I was doing some work on a client’s web site on a shared hosting environment at a small local ISP and I was setting up some file uploads with PHP and was having problems getting permissions setup and enabling them on the server. I had done it many times before but for some reason just couldn’t get it to work. I resorted to calling the ISP to ask if they had any non-standard setup or configuration on their server that would be causing me problems.

Managing Users in Debian Linux

I’ve used webmin for most of my user administration in the past just because of the ease of use, however I’ve been trying to move away from webmin and do everything myself from the command line lately so I’ve gotten back into adding users and managing passwords and groups from the command line. Because there are so many commands within Linux, it’s hard to remember all the commands unless you use them on a daily basis, so I’ve decided to document the process here to make it easier for myself to remember as well as to help out anyone else looking for similar information.

Also, these instructions will work on pretty much any flavour of Linux, I just happen to be working off Debian 4.0 right now, but they’re all standard *nix commands so if you are working off any other distribution you should be fine.

Review of O’Reilly School of Technology

I’ve finally completed the Linux/Unix System Administration Certificate from The O’Reilly School of Technology, and I am really glad I took the course. Like I said in my interim review, the hands on learning was what really interested me. My favorite courses in university were the ones where the professor gave us our assignments and said go ahead and do it, rather than lecturing for hours, and that same principle is applied in the O’Reilly School of Technology.

A BASH Script to Find Large Files on a Linux Server

I don’t have Plesk or any other control panel set up on my server, and I don’t have disk or user quotas setup because I like to manage my hosting myself, and I don’t provide hosting to a vast number of clients. So when I recently had a situation where I had to find a bunch of files taking up a lot of space on my server I talked to my hosting company, Rackspace, and they showed me a great script to look for files over a certain size on my server. I wanted to share it with all of you.