While working on the instructions for compiling MonoDevelop from source, I relied heavily on the dpkg and apt-cache commands to tell me what was already installed vs what packages were available in the repository. After completing that article it occurred to me that I should explain how to show what packages are currently installed… so here we are.
After reading a post from my friend Daniel about the new release of MonoDevelop, I decided to try and install it… which is when I realized that the installation from source is so painful I’d better figure it out and share it with everybody else.
One of the biggest security holes you could open on your server is to allow directly logging in as root through ssh, because any cracker can attempt to brute force your root password and potentially get access to your system if they can figure out your password.
If you like the way Ubuntu requires you to enter your username and password instead of clicking on an icon, you can enable the same thing for Windows Vista in a somewhat similar style logon process. This is really most useful for home users, as domain users should already see this screen.
If you are tired of hacking together commands at the terminal or having to open a giant bloated IDE just to perform search and replace across a number of files, then Regexxer is the tool for you.
This tip won’t be useful for everybody, but for anybody with a dedicated server you’ll probably be familiar with this error message that gets sent weekly from the security scanner on your server.
One of the best ways to speed up your web application is to enable query caching in your database, which caches commonly used SQL queries in memory for virtually instant access by the next page that makes the same request.
If you’ve got an Ubuntu machine that you initially installed with Ubuntu Desktop, but would like to run as a server, you can just disable the graphical environment from starting up in order to save resources. This is also useful for doing system maintenance from the command line that needs to be performed outside of the GUI.
One of the things in Ubuntu that has always driven me crazy is the addition of new items into the grub menu without removing the old entries that likely don’t even work anymore. I’m sure most experienced Ubuntu users already know how to do this, but here’s the method anyway.
Virtualization Technology (VT) is a set of enhancements to newer processors that improve performance for running a virtual machine by offloading some of the work to the new cpu extensions. Both AMD and Intel have processors that support this technology, but how do you tell if your system can handle it?
The calculator options on Linux just blows the Windows calculator away. Imagine a calculator where you can solve extremely complicated expressions, or just convert between different measurements, and you’ve got Qalculate.
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.
How often have you typed in a command in your linux shell, and then realized that you forgot to type sudo, so you end up with an error or editing the dreaded read-only file? This happens to me much more than I’d like to admit, so I’m writing about it.
If you are doing a lot of testing of different builds, there’s nothing more annoying than rebooting and then having the system boot into the wrong choice on the grub menu before you have a chance to pick the one you want. Reader Victor wrote in with this tip: You can just comment out the timeout line entirely to stop grub from picking anything, giving you time to get your morning coffee.
I realize this is probably only relevant to about 3 of the readers, but I’m posting this so I don’t forget how to do it myself! In my efforts to ban the completely insecure FTP protocol from my life entirely, I’ve decided to disable the FTP service running on the How-To Geek server, which is running the CentOS operating system.
Let’s say you have a directory with hundreds of files with the wrong file names, and you’d like to replace every filename containing test with prod. (this is a contrived example). We can easily do this with the “for” command in bash, combined with a little bit of bash goodness. Today we’ll learn how to replace text in a variable in a for loop.
If you’ve become addicted to using keyboard launchers like I have, you might have encountered the scenario where Katapult became extremely slow for no apparent reason. The problem is most likely because you’ve got a big music library in Amarok, and Katapult starts searching your music library by default after you type a single character.
Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. There’s a similar utility called htop that is much easier to use for normal tasks.
So you’ve started using Katapult, but your distro doesn’t show the Katapult icon in the system tray by default. How do you get to the configure dialog? For that matter, how do you bring back the system tray icon?
One of the greatest mysteries to me is why most file managers don’t have tabs – it makes performing tasks so much simpler. I’ve found a lightweight file manager for Ubuntu called PCMan that gives you most of the functionality from Nautilus, but also has tabs.
I recently set my Kubuntu box to use seamless Microsoft application integration so I can use Windows applications that look like they are natively running in Linux, although they are really running in a hidden virtual machine. Really a very sweet option, similar to running Parallels with Coherence on a Mac.
Having switched from Ubuntu to Kubuntu recently, the first thing that irritated me beyond all reason was that single-clicking on a file or folder immediately opens the file instead of selecting it. Since I use Windows and Ubuntu on a daily basis, it’s just frustrating that it works differently in KDE.
If you receive an error saying “Tunepimp (MusicBrainz tagging library) returned the following error: “Fingerprinting of .mp3 files is not supported” when you are attempting to fill in the tags on your mp3 files using Amarok’s MusicBrainz plugin, then you’ve come to the right place.
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.