Category Archives: tip

PHPHOST BLOG

Web Hosting Related Articles You May Need

[one-liner]: Can’t Connect to VMware Server 2.x from Internet Explorer 8

Background

Recently I ran into a problem where I wasn’t able to connect to a VMware Server from IE 8. I was getting an error message that didn’t give me much to go on. Basically IE displayed a blank page and there was a little yellow exclamation point in the lower left corner of IE.

<p [...] Continue reading

Posted in one-liner, Syndicated, sysadmin, tip, tips & tricks, vmware | Leave a comment

[one-liner]: Working around the SSH error message: Too many authentication failures for root

Background

Yesterday I ran into an issue while trying to ssh to one of my computers. I started getting this error, Too many authentication failures for root. At first I thought it has something to do with PAM or some sort of login detection protection related to /var/log/btmp (a log file maintaining bad login attempts). Turns [...] Continue reading

Posted in linux, one-liner, Security, shell, ssh, Syndicated, sysadmin, tip, tips & tricks | Leave a comment

Debugging an Intermittently Dropping Intel Wireless-N 1000 Network Card on Fedora 14

Background

Recently I’ve been experiencing a strange problem with my wireless NIC on my Lenovo/Thinkpad T410i laptop. The laptop would invariably stop being able to access the network. I would get a connection to our wireless access point (even an IP address), but wasn’t able to do much else. Pinging other systems or anything else would [...] Continue reading

Posted in fedora, networking, Syndicated, sysadmin, tip, tips & tricks, wifi | Leave a comment

Command Line Tools for Analyzing Disk Usage on Fedora/CentOS/RHEL

Background

Here’s a quick rundown of some command line tools that can be used to determine disk usage on a Linux box. Most of these are command line based, meaning that you can use them from within a shell. But they aren’t just commands, they’re fullblown applications that you can run from within a terminal!

ncdu – [...] Continue reading

Posted in diskspace, linux, Syndicated, sysadmin, tip, tips & tricks | Leave a comment

[one-liner]: Calculating Disk Space Usage for a List of Files Using du under Linux

Background

Being the most techie of my group of friends I often get other people’s problems dumped into my lap when something goes wrong with their computer. I generally don’t mind since it gives me the opportunity to help out a friend and work on some obscure problems, such as:

* issue #1: laptop no longer works, [...] Continue reading

Posted in backup, linux, one-liner, shell, Syndicated, sysadmin, tip, tips & tricks | Leave a comment

[one-liner]: Working with VMware ESXi 3.5 via the command line

Background

Recently I’ve been getting more hands on experience with VMware ESXi 3.5 at my day job. It seems pretty capable in it’s free version form. After familiarizing myself with the command line shell over the last few days it’s finally starting to make sense. If you’ve worked on any Red Hat distros such as Fedora/CentOS/RHEL [...] Continue reading

Posted in one-liner, server, shell, Syndicated, sysadmin, tip, tips & tricks, virtualization, vmware | Leave a comment

[one liner]: Mounting .iso images in VMware ESXi

Background

Recently we “inherited” a fairly old yet still usable Intel Pentium 4 system with 2GB RAM that we wanted to use as a testbed for learning more about VMware’s ESXi products. Given the systems age we had to use ESXi 3.5 which was still adequate for our needs. Installing VMware ESXi is pretty straightforward, however [...] Continue reading

Posted in centos, one-liner, Syndicated, sysadmin, tip, tips & tricks, virtualization, vmware | Leave a comment

[one-liner]: How to make CD & DVD .iso images from physical CDs/DVDs on Linux via the Command Line

Background

Quick tip on how to make CD & DVD .iso images from physical CDs/DVDs via the command line.

Solution

There are many ways but these are probably the 2 more common ones.

using the cat command

1
% cat /dev/dvd > ~/image1.iso

using the dd command

1
% dd if=/dev/dvd of=~/image1.iso bs=2048

NOTE: On my Thinkpad 410 laptop my CD/DVD drive has the [...] Continue reading

Posted in linux, one-liner, shell, Syndicated, sysadmin, tip, tips & tricks | Leave a comment

Howto Install/Setup Oracle/Sun Java 1.6.X on Ubuntu 10.10

Background

Typically Most Linux Distros (RHEL, CentOS, Fedora, and Ubuntu) come with OpenJDK by default. NOTE: OpenJDK is also referred to as Iced Tea. However OpenJDK is NOT Oracle/Sun Java. It’s the open source edition of Java and for whatever reason a lot of Java applicaions simply don’t work correctly with it. To verify which [...] Continue reading

Posted in java, linux, package management, Syndicated, sysadmin, tip, tips & tricks, Ubuntu | Leave a comment

5 Minute Guide to using the alternatives Command on Fedora/CentOS/RHEL

Background

The alternatives system is a level of abstraction that creates shortened names for executables. These shorter names can then be used while the real executables they point to can be changed around. The man page for the alternatives command does a good job summarizing.

Blatantly ripped off from the alternatives man page….

It is possible [...] Continue reading

Posted in centos, fedora, java, redhat, rhel, Syndicated, sysadmin, tip, tips & tricks | Leave a comment