I’m the type of geek that has an SSH client open at all times, connected to my most frequently used servers so that I have instant access for monitoring and anything else. As such, it irritates me greatly when I get disconnected, so I’m sharing a few methods for keeping your session alive.
Every time I connect to my Ubuntu development server through my ssh client, I receive the same message and I’m getting tired of seeing it, so I decided to change the message to something else.
Many people like myself don’t completely trust the various WordPress spam filters and elect to moderate all comments before they show up on the actual site, which ends up flooding your email with moderation notices.
Here is how to manage basic Windows Home Server settings. Screen shots speak for themselves so here we go!
Windows Home Server is still in beta stage but when it is officially released we will have all the information you will need to effectively manage your home server. Here is a quick tutorial on how to add a new user to your home server.
Today a reader had a very good question about lsass.exe is the Microsoft security management process for domain access and local security policies. Simply put it manages who logs on to your PC and/or Server. There are a few viruses that mimic this process. The Sasser virus was one of the more popular attacks a few years ago. The Sasser worm would exploit lsass.exe so that XP would start a countdown of 60 seconds advising you to save your work. Every time you rebooted your machine this would keep happening. This process is located in C:WindowsSystem32 in either a PC or Server. If you were to find it in any other location in your system … it is a virus.
I have been testing Windows Home Server (WHS) for about 6 months now. I thought I would write a few things about this new product from Microsoft. Basically, WHS is meant to be a computer which will sit in your closet and deliver multimedia content to various computers and other geek gadgets around your house. You are able to create user accounts, stream music and video, and create backups to your home server. Your children can watch a movie on their computer while you listen to your favorite music or vice versa. Saving copies of your files is just like you would do at work if you put them on a network drive.
Windows is always trying to save you from yourself and with Windows Home Server it is no exception. Anytime you log on as the administrator, you receive an annoying caution message, but we can disable this annoying message from coming up every time you log on to your server.
Windows Home Server is Microsoft’s upcoming version of Windows designed for storing your pictures, videos and files so you can share them between all the computers in your home.
So you’ve got MySQL on your web server, but it’s only opened to local ports by default for security reasons. If you want to access your database from a client tool like the MySQL Query Browser, normally you’d have to open up access from your local IP address… but that’s not nearly as secure.
My favorite feature in the latest version of VMware Workstation is that you can run virtual machines entirely in the background. This is most useful for “appliance” machines that you won’t actually use from the prompt, but through a web browser or ssh client.
A very common task for a web developer is uploading a single file from a subdirectory on your development box to the same subdirectory on a remote server. Unfortunately, this always ends up being an annoying manual process involving switching directories on both servers, and wastes a large amount of time.
As this site has gained popularity, the time required to keep the site running has also grown. For instance, even though Akismet blocks virtually all of the spam comments, I still have to manually filter through hundreds of spam comments per day to see if any valid comments were blocked.
If you are running a web application using the original ASP technology on Windows Server 2003, you might get this error message once you upgrade to Service Pack 2: “New transaction cannot enlist in the specified transaction coordinator. [-2147168246]“.
You’ve got a production database server, and you can’t enable query logging… so how do you see the queries being executed against the database?
Microsoft’s SQL Server has a tool called Profiler that you can use to monitor every SQL query that hits the database. This is extremely useful for programmers as well as database administrators to troubleshoot the exact queries generated by an application.
Many utilities need to be run as administrator in order to function properly, especially older utilities that haven’t been updated to support Windows 7 or Vista yet.
In the first part, I ran through the basics on how to connect and configure your Mac Mini as the heart of your entertainment center. In this next article in the series, I had been planning on going into detail on how to store your media files on a remote NFS share. However, one of the comments on the first article got my attention and it occurred to me that I didn’t really cover alternate video codecs at all. So, rather than launch into some fascinating list of iptables rules and Apple alias quirks, let’s look at third-party codecs.
The next important thing is to get your Mini actually connected to the television. For this you’ll need two cables and (at least one adapter). The adaptor can be purchased from Apple here ($20 USD). Basically what it does is convert DVI (Digital Video Interface) to either S-Video or RCA video out (I recommend using S-Video). (note, you may be lucky enough to have a DVI-in on your television. Check for this first) At this point, you should be able to turn the mini on and use the television as a monitor.
Ever wonder how big a table really is in your database? You know there are a million rows in the table, but how much space is that really taking?
VMWare Workstation is great. The version 6 beta has even more awesome features… but it’s slower than dirt, because debugging mode is turned on by default.
If you’ve worked on a network with Windows servers, you’ve encountered this error message at least 37,000 times:
One of the more annoying things about visiting blogs is having to fill out all the comment fields. They are the same on every blog (including this one). Sure, you can hit the down arrow key and Firefox might remember what you typed last, but it’s still a pain, especially as a blogger when you want to leave a lot of comments.
If you are using an identity column on your SQL Server tables, you can set the next insert value to whatever value you want. An example is if you wanted to start numbering your ID column at 1000 instead of 1.
The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them.