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.
There are many reasons you would want to restore a database from a backup file… But you should also test this on a test server just to make sure that your database backups are working correctly. Here’s the syntax:
Backing up your database is a very important system administration task, and should generally be run from a cron job at scheduled intervals. We will use the mysqldump utility included with mysql to dump the contents of the database to a text file that can be easily re-imported.
For every database, you should set the root or sa passwords to something other than the default, unless you want to get hacked. For mysql, the system administrator user is called root. You will use the mysqladmin utility from a command line to set the new password. Notice that there are two commands to be run.
By default, MySQL only allows connections from the localhost address. The configuration file is usually found in /etc/mysql/my.cnf