LINUX IS CONFUSING. THESE ARTICLES SHOULD HELP.
Has this ever happened to you? I created a new virtual machine running Ubuntu on my VMware server before I left home, but forgot to install the ssh server… so I couldn’t get to that machine at all from my remote location. Rather than driving back home I decided to find a solution.
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’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?
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.
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.
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.