Tag Archives: Linux

VMware Fusion 5.02 Linux VM Crashes During Login (Ubuntu)

After running an update on my Macbook Pro, my linux VMs stopped allowing me to login and would simply crash.  I contacted VMware support and they advised that the update, along with Fusion update 5.02, don’t play very well together due to a graphics driver issue.  See the short post: http://blogs.vmware.com/teamfusion/2012/11/macbook-air-and-macbook-pro-update-2-0-and-vmware-fusion-5.html.

The workaround requires that you go into Settings > Display and turn off “Accelerate 3D Graphics”.  While this fix works just fine, it hampers your ability to work in the Linux VM due to the fact that you can’t resize the VM’s work area.

 

Continue reading VMware Fusion 5.02 Linux VM Crashes During Login (Ubuntu)

VMware Tools Install Error Creating Symlink VMware_Virtual_Printer.ppd pointing to file thinprint.ppd

I ran into this error the other night and wanted to make a quick post on it while installing VMware tools into Backtrack Linux.

Unable to create symlink “/etc/cups/ppd/VMware_Virtual_Printer.ppd” pointing to file “/usr/lib/vmware-tools/configurator/thinprint.ppd”.

Execution aborted.

There’s a really quick solution to this.  Backtrack (5 R2) has cups installed by default so that’s not the problem, but for some reason the tools can’t create the ppd directory.  Create the ppd directory in /etc/cups manually and you should be good-to-go.  This occurred with VMware tools 8.8 and the KDE 64-bit build of Backtrack.

Good luck and hope this helps someone get a quick fix.

Use Console to Connect ESX to a NAS

UPDATED 12/5/2009 to include vSphere commands.

This is a quick note, mostly to help remind me and hopefully help someone else out.

You can use standard Linux commands to connect an ESX host to a NAS (Network Attached Storage) device.  You can use a NAS to store things like ISO’s and backups.  I have many gig’s of ISO’s and I really don’t like them taking up valuable storage on my ESX host.  In production, they’d be taking up SAN space, so I offload them to a Buffalo Terastation, and use Linux commands to mount the Terastation so that ESX can utilize it.

First you can make a directory under vmimages.

mkdir /vmimages/ISO2

ISO2 is the directory that you are creating.  For me, ISO already points to a local directory on my server where I keep one or two ISO’s that I am continually using.  Then you can run the command:

(ESX 3.5)  mount –t smbfs //[nas]/[folder] /vmimages/ISO2
(vSphere) mount –t cifs //[nas]/[folder] /vmimages/ISO2

Continue reading Use Console to Connect ESX to a NAS

Use Console to Connect ESX to a NAS

This is a quick note, mostly to help remind me and hopefully help someone else out.

You can use standard Linux commands to connect an ESX host to a NAS (Network Attached Storage) device.  You can use a NAS to store things like ISO’s and backups.  I have many gig’s of ISO’s and I really don’t like them taking up valuable storage on my ESX host.  In production, they’d be taking up SAN space, so I offload them to a Buffalo Terastation, and use Linux commands to mount the Terastation so that ESX can utilize it.

After logging into the ESX console using the root account or a root privileged account, you can make a directory under vmimages.

mkdir /vmimages/ISO2

ISO2 is the directory that you are creating.  For me, ISO already points to a local directory on my server where I keep one or two ISO’s that I am continually using.  Then you can run the command:

mount –t smbfs //[nas]/[folder] /vmimages/ISO2

Continue reading Use Console to Connect ESX to a NAS

YUM Updates Failing for Linux

This is just a quick note to maybe help someone not have to endure the frustration I had over a few hours of last week trying to figure out why my Linux host was failing to download packages.  I kept getting ‘header incomplete’ errors, and ‘there are no more mirrors to try’.

Unfortunately, this is a pretty common-place error, so the content on the Internet was broad.  What my particular issue ended up being is that my security appliance prevents http range downloads.  The anti-virus software on the appliance in particular, blocks that style of download due to the fact that you may be able to download a virus in pieces rather than all at once, and therefore the scan would miss it.

Some versions of Linux have been updated to pull the whole files down intact and in a single shot, but if you’re running a version that doesn’t, there are some alternatives.  I took the easy way out and put the box on a less network that allowed me to download and apply all the updates.  Apparently you can create your own package synchronization site within the boundaries of your network and have your Linux hosts update from that.  As I said, I took the easy way out.  You can also disable the virus scanner on your security appliance or router, or add a rule that allows HTTP range downloads.  I decided against that since I want to be as secure as I can.

So if you’re running into that error.  A quick fix is bypassing your security appliance for the update. 🙂

Good luck.

Groundwork Open Source Monitoring

 GWOS001A few years ago, I wanted to try out a free network and system monitoring package so I decided to download and try to setup Nagios.  Since I’m no Linux guru, though working with Linux has started to change lately, it took me quite a while to get Nagios setup and configured.  After doing so, I finally realized that I had to manually edit text files on the environment, Linux, to configure host monitoring.  What a monumental pain!  Learning to use VI, then realizing that nano is much easier to use, but still, it took over an hour for me to figure out how to setup monitoring of a single host.  As I’ve been running VMware virtualization for years now, setting up and tearing down servers is almost part of my daily life.  Configuring monitoring of these servers immediately became a burden I wasn’t willing to undertake.

Then I discovered Groundwork Open Source (GWOS).  What a cool package!  Not to mention, they have a virtual appliance already setup and configured for free (the community edition).

Continue reading Groundwork Open Source Monitoring

Configuring WordPress automatic upgrades and updates

This is quick note on setting up auto-updates / downloads for WordPress builds that are being self-hosted.

I had the issue of being constantly asked for FTP information, even after I set up an FTP server.

I had trouble finding anything on the Internet that discussed issues with the WordPress auto-updates and downloads directly from the environment for self-hosted installations.  Turns out the issues I had were permission based issues.  The fix for this was needing to change the ownership and the group to www-data for wordpress folder and the wordpress/wp-content folder.  You can accomplish this by using the commands at the linux prompt:

chown –R www-data /usr/share/wordpress/*
chgrp –R www-data /usr/share/wordpress/*
chown –R www-data /usr/share/wordpress/wp-content/*
chgrp –R www-data /usr/share/wordpress/wp-content/*

Replace the “wordpress” folder name with whatever folder your wordpress web folder is.

This will also allow you to download plugins and themes directly from the WP web interface.

Thanks Bobby for helping me with this.

Rolling In a New Blog

All posts from blogs.d3planet.com have been transferred.  If you’re here through a redirect, use the search feature to find what you’re looking for.

After over a year of playing around with CKS EBE, I’ve finally moved out of MOSS for blogging and on to WordPress.  Nothing against blogging with MOSS and CKS EBE, but with the MOSS/WSS feature-set, it seems it’s overkill, kinda like using a shotgun to kill a fly.  Also, with CKS EBE not being updated any longer, and the extensibility of WordPress, it just seemed time to move on.

I’m not going to go all Linux on ya, but LAMP is pretty good, with a small footprint, and Open Source is never a bad thing.

Now as far as getting WordPress MU up and running, configured properly, and connecting properly with Windows Live Writer (WLW), that’s a story in and of itself being that I’m not a Linux guru.  I got some help from my go-to tech buddy, Bobby, and amazingly enough I was able to help him with a few things too.

Anyway, I plan on using this blog quite a bit more than I have in the past, especially with SharePoint 2010 coming up, Windows 7, Exchange 2010, and a bunch of other products.  Oh! Not to mention vSphere making it’s way into the market.

If you don’t know about it, WordPress MU is a multi-blog / multi-user environment with all the regular functionality of WordPress.

I guess time will tell.  See ya around the Web.

Turnkey Linux WordPress Appliance

Just a few days ago, after checking out what my friend Bobby Shea had done with his blog, decided to create a new blog.  More for the fun and personal stuff than this tech one.  http://stuff.d3planet.com http://d3planet.com/clement/.

Anyway, I always enjoy playing with new technology, especially if something is plug-and-play, so I decided to download the Turnkey Linux WordPress Appliance.  It really pretty cool.  I created a new VM in my lab, gave it 256MB of RAM, 10GB of HD storage space, mounted the ISO, and fired up the VM.

The installation was honestly one of the easiest ever.  I was challenged for new passwords a few times, and the installation complete with me looking at a console screen with a bunch of sites on the server, 1 for the blog, and others for management.  I added the necessary DNS entries, created a firewall rule in ISA Server and hit it.  Talk about a pretty seemless process, I was really impressed with the appliance and the fact that it behaved as documented.  As any tech professional can attest, that’s not always guaranteed.  Hell as any general user can attest. lol.

Anyway, I wanted to upgrade the environment to the latest version of WordPress, so I went to the wordpress site, downloaded the bits, and started following their 3-step guide to upgrading.  I just knew I would run into trouble there, but I did not.  At least not much trouble.  I don’t claim to know much about Linux, or WordPress for that matter, so I fiddled around with the admin panels until I was significantly aware of the fact that I was going to have to upgrade manually.  I fired up Veeam’s FastSCP, knowing that it can handle file transfers into linux environments, and started following the 3-steps to upgrade.  Delete this, copy that, replace that, backup this.  Next thing I know, upgrade complete, no beats skipped.

Then, deciding to push my luck, I decided to install some plugins, widgets, and themes.  Again, no issue.  Not sure what I was expecting, but I know I wasn’t expecting things to go so smoothly.

Next push, decided to download the WordPress iPhone app.  Again, no issue.  Don’t get me wrong, I love Microsoft and MOSS, but wow, a blog up and running and ready for posting from scratch within the span of a few hours, self-hosted? Hmm.

Guess I’ll end this by saying, WORDPRESS ROCKS!  It’s not nearly as deep as a MOSS environment, but that does keep it simple for just what you’d expect out of the product.

WordPress Appliance Turnkey Linux Software Appliances

Getting Started with Virtualization and Server Consolidation

ConsolidatinQuick

Virtual what?

Many people over the last several years have used the word Virtualization and the phrase Server Consolidation as buzzwords.  Meaning they used the words to sound knowledgeable in specific areas or felt the oncoming rush of what is now upon us.  These are no longer buzzwords and catch-phrases.  It is an actual movement within the technical community that is gaining momentum on a daily basis.  Virtualization is the running of a physical server as a software server, while server consolidation is the converting of physical servers to software based servers.  If this seems to be a strange and foreign concept, that’s because it is.  People are used to installing operating systems on a physical machine and now you can install operating systems on non-physical (virtual) machines, so that any single physical machine can run multiple virtual machines.  The obvious gains are increased server utilization, ability to provision new servers without the need to purchase new hardware, lower power usage due to less hardware running, lower equipment and maintenance costs, and lower physical space needed as far as server footprints.

One of the biggest questions involved in getting started with virtualization for the first time, is what software to use and how to use it.  I’ll begin by saying that in this blog entry, I’ll only be discussing VMware products.  I’ve come to love and adore the VMware offerings, and it’s not just because I work for EMC.  I’ll mention some other products that you can research on your own if you should so choose, and actually I’d advise you to, so that you can arrive at your own decision as to product quality.  Onto the VMware products and how I’ve used them over the past several years.

VMware offers a multitude of virtualization products that are designed to meet a multitude of business needs.  Fortunately over the last few years, competition with Microsoft, and VMware’s efforts to increase the market’s interest in virtualization (completely my opinion and not backed by VMware or EMC) VMware has begun to offer a few top of the line products for free.  The products that I intend to cover in this article are:

VMware Workstation – low costs
VMware Server – free product
VMware ESXi – free product
VMware ESX / Virtual Center (also known as VI3) – costs

Continue reading Getting Started with Virtualization and Server Consolidation