If you are running a virtual machine on your computer, you may want to access that virtual machine from another computer. Let’s use an example: Say you have an Ubuntu virtual machine with Apache running on port 80, and you want to show other people on your network to access the website you are hosting.
VMware Workstation includes a network utility that allows you to manage the virtual networks. Typically virtual machines will use NAT (Network Address Translation) to automatically assign a virtual IP address that hides behind your host address, but the default range of 192.168.200.0/24 may not work for everybody.
Ubuntu has an easy way to keep your system synchronized with the internet time servers. This is especially useful on older computers that may have problems with the system clock losing time.
VMware has a set of shortcut keys or hotkeys for quick control over your virtual machine. This is a list of them.
Setting the default route on Solaris is easy. If you are trying to just set the route temporarily you can use the route command:
If you have installed multiple versions of an application into your system, you may wonder which command is being run from the command line when you launch it. This is especially useful to figure out the path of php when running on a shared server, as many shared servers have both php4 and php5 installed.
Setting the system date and time is fairly easy on solaris. Because you can easily set the time from the command line, you can set the time on a server remotely.
It’s really easy to figure out how long a system has been up and running on solaris. Absurdly easy.
Solaris includes a command line utility to get basic current system configuration information and output it to the console.
Getting the exact version of the Solaris operating system running on your system can be useful, especially if you are connected to a remote server.
It’s easy to get the type of processor that a Solaris box is running on. While this might seem like a silly thing to need to know, if you are connected into a Solaris server at a remote location, you may need to know what type of processor is being used in order to install the correct packages.
On Solaris, the hostid is similar to the hostname. To determine the hostid of a Solaris box, there are a couple of options to follow.
The VMware Workstation 5.5.3 release notes indicate that it includes “Experimental support for Ubuntu Linux 6.10, 32-bit and 64-bit”, which means that you can install the VMware tools directly on Ubuntu 6.10 (Edgy Eft) without having to compile.
When you have automated backup jobs running on your database server, sometimes you forget that they are even running. Then you forget to check to see if they are running successfully, and don’t realize until your database crashes and you can’t restore it since you don’t have a current backup.
If you do a lot of work with SSH servers through an SSH client, it’s extremely annoying to get timed out all the time by the server. There’s a simple way to fix this problem in SecureCRT.
VMware Workstation provides a great ability to create shared folders so that your virtual machine can easily access data on your host pc. This saves a lot of time, especially when you are installing software that would otherwise take a long time to download.
VMware includes the ability to copy and paste to and from your virtual machine window. To enable this, you will need to install the VMware tools inside your virtual machine.
Update: If you have VMware Workstation version 5.5.3, you will want to follow the updated guide. If you are using version 5.5.2 or below, continue on.
Most people realize by now that using instant messaging from work can be easily tracked and logged. If you have access to an SSH server anywhere (mine is at my house) then you can setup a quick SOCKS proxy to forward all of your traffic through your home SSH server, and your employer won’t even know that you are chatting by monitoring the network.
You’ve just thought of a great new layout for your blog… but making changes to your blog while visitors are accessing it is generally a bad idea, especially if you are running an ad-supported blog. This How-To shows you the list of steps you need to take to get a copy of your production WordPress blog copied down to your local Ubuntu machine. (Should work for any debian linux)
Using the Remote Desktop client usually lands you in a seperate session on the windows server. There are times, however, when you might want to be able to connect to the console directly instead of being in a seperate session. This is how.
Social bookmarking/news links are extremely popular these days. There are a ton of different websites out there, from the Digg.com’s to del.icio.us and furl. I personally only really use del.icio.us, but whatever your choice, you can be sure that you will have visitors that use at least one of the different services.
One of the gripes I’ve always had with the built-in WordPress functionality is that you can only specify the number of posts per page across the entire application, as opposed to being able to customize it per section or page. Thanks to a wonderful plugin by Matt Read, you can fix this easily.
Setting up an SSH server on Ubuntu is about as simple as it gets. The server of choice is OpenSSH.
For this exercise, we will use the mysqldump utility the same as if we were backing up the entire database.