One of most popular development platforms on the web is PHP which powers many popular applications and sites such as Facebook, WordPress and Joomla. While most of these systems are ‘designed’ to be used on a Linux system running the Apache Web Server, you can deploy PHP applications via IIS 6 on your Windows Server 2003 system.
If you’re a Windows Home Server enthusiast you probably want to test out the new version code named Vail. You might not have an extra box to test it on, so here we take a look at installing it on VMware Workstation.
Have you ever typed out a really long command, realized it worked great, and then wanted to save it to a file? There’s an easy bash trick you can use to do just that.
When you create a Microsoft Virtual Hard Drive either through Virtual PC or Virtual Server, you have to specify the maximum size of the file up front. While you can set the VHD to be a fixed or dynamically sized file, the total size the VHD is determined at the time you create it. Over time, however, you may want to increase the total size of the VHD file as requirements for the system change to allow more space for installed programs and data files.
If you’re working on a project, and you’ve copied in or created a whole bunch of new files, you might find it tedious to manually add each of them. Here’s the quick command you can use instead:
When it comes to gathering statistics on web sites, you can never have enough. While one of the most popular method for tracking statistics is through services such as Google Analytics, log file analysis remains a reliable way to track your visitors as they are immune to script blockers. A widely used tool for log file analysis is the open source tool, AWStats.
If you rely on somebody else for managed hosting of your Linux servers, you might not always know exactly what type of server you’re actually running on. There’s a quick and easy way to figure this out, however.
As an IT manager, there are a lot of things you can do which directly impact your company’s bottom line. While the most obvious are direct hardware and software costs, an often overlooked aspect is energy/electricity consumption by computer systems. While servers need to be available 24/7, desktop systems only need to be available when the respective user needs it or for scheduled maintenance tasks. The rest of the time (usually more than 50% of the time), the system can stay in low power mode which reduces power usage, hence cost.
If you want to quickly see what processes are wasting all of your memory, you can do so with a simple command line that filters the output from ps to sort by memory usage, and return only the ten biggest memory hogs.
If you’ve got a web application that uploads files to the server through a PHP script, you might have noticed that by default you can’t upload terribly large files. Here’s how to change it.
All Dell servers come with the Dell OpenManage Server Administrator software which has the ability to monitor and display system level indicators. Additionally, through the Alert Management tab you can configure actions to execute whenever an alert is triggered. Unfortunately there is no vehicle for applying uniform notifications to all events, so we are going to provide a script which configures all the alert actions to send an email notifying you of the respective event. While you could set these up manually, having a script is ideal as you can easily deploy this across multiple servers.
Linux has a rich set of commands for manipulating and accessing files. The du utility gives information on disk usage, and the sort utility can sort the results. Finally, we can run those results through the head command, which gives you the top 10 lines outputted through any other command. We’ll chain the commands together to get the output that we want.
Unless you have a special setup, you typically only need a single IP address from your ISP to run your network. With your network sitting behind a firewall/router, you can direct your incoming traffic to the appropriate servers to handle email, web, remote connections and anything else. The problem comes when you have multiple servers which need to receive traffic from a common port. Instead of adding more public IP addresses (and cost), we are going to show you how to handle this situation using on a single IP.
Have you ever used a tail -f on a logfile, only to find that it’s scrolling by way too fast for you to deal with? If you know exactly what you’re looking for, you can always grep the contents, but often you aren’t sure what you need to see. In this case, it’s useful to reverse grep instead.
A common function of many programs is the ability to send email. When working on development projects or doing product demos which utilize email, having an environment you know will work can be critical. For these situations, having a completely self contained email system, that is all emails “sent” never leave the local machine, is the answer.
This page will explain how to renew your DHCP address when using Linux.
When you get a dedicated virtual server to run your website, chances are good that it’s configured for everybody, and not customized to maximize performance for running a website.
If you want to move all files of a particular file type into a single directory, you can use the find command to do this easily in Linux.
If you can’t stand the automatic hyperlinking in Microsoft Word, you might be hard-pressed to find the right place to disable it in Office 2007, since all the settings are hidden so well compared to previous versions.
If you are getting the following error while trying to change the default fat32 partition on a new drive to another linux partition type, I might have the answer for you.
If you get this error in your logs when trying to setup public key authenticated automatic logins, the problem is a permissions one.
If you’ve ever needed to change the hostname for Red Hat Linux, CentOS or similar operating systems, you can do so easily with one simple command.
Remote Desktop Connection is a useful feature in Windows that allows you to log on and view the desktop of another computer via your internet connection from your own computer. This article will explain how to use your local drives during a Remote Desktop session.
If you want to setup SSH keys to allow logging in without a password, you can do so with a single command.
If you’ve moved an Ubuntu virtual machine or modified it and then suddenly had a problem getting networking to work, you might want to read through this page, because I’ve figured out a workaround to get it working again.