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.
Changing the group a user is associated to is a fairly easy task, but not everybody knows the commands, especially to add a user to a secondary group. We’ll walk through all the scenarios for you.
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.
This article will cover how to use the port-forwarding feature in SSH to accomplish tunneling from one machine to another.
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.
If you’ve used the GUI tool to share a folder with your Ubuntu guest machine, you probably are confused why it’s not showing up anywhere.