YOUR FEEDBACK
More on the Software Assembly Question - Do Design Patterns Help?
Yanic wrote: Hi, > UML and MDA are being changed to be more data and doc...


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP LINKS YOU MUST CLICK ON


Running Fedora Core 5 Under Windows XP - Tips and Tricks
For one thing XP is extremely widespread and your clients and/or users probably have it installed on theirs PCs

Digg This!

Page 1 of 2   next page »

For one thing XP is extremely widespread and your clients and/or users probably have it installed on theirs PCs. In fact, most PCs come with XP pre-installed. And makers of peripheral devices and high-speed Internet providers adapt their products and services to work with XP. In most cases it's enough to simply plug a peripheral into an XP computer or to subscribe to a high-speed Internet service to start use it immediately.

For many IT professionals it makes sense to work with both Windows XP and Linux.

On the other hand, Linux is stable and the Linux community provides you with free high-quality Open Source software. A number of companies also offer non-commercial versions of their products for free that you can try before buying to make sure it's exactly what you need. An example of one such product will be given later in this article.

Virtualization Versus Multiple Boot
Rather than invest in two different computers (one for XP and another one for Linux) and network equipment it's convenient to have both operating systems on one PC (these days even on your laptop). There are several options on how to do that so you can try multiple boots (usually dual boots) with free or commercial products. Alternatively you can try virtualization.

Traditionally under virtualization there's a distinction between the host (the operating system under which the virtualization software runs) and the guest (the operating system or systems that run in the virtualization software). Virtualization has advantages over multiple boot in the following ways:

  1. Reliability. In a worse case scenario of virtualization software failure even if you will loose the guest operating systems you'll most likely have the host operating system up and running, while in the case of a multiple boot failure it's possible that all the operating systems will be lost.
  2. Flexibility. There's no need to make multiple partitions for multiple operating systems on your main hard disk drive. Moreover, it's possible to use an external USB2/FireWire HDD with multiple operating systems that can be easily plugged into your PC.
  3. Data exchange "on the fly" between the host and guest operating system (or systems). By the nature of the multiple boot solution only one operating system can be up and running at a time. So the process of data exchange will involve rebooting. It's possible with virtualization to exchange data between several operating systems without any rebooting delays.
For these reasons, virtualization is recommended for running XP and Linux on the same PC.

VMWare Workstations, Fedora Core 5, and XP
The best-known virtualization software is VMWare's Workstation 5 family, which currently includes versions 5.0 and 5.5. On the other hand, Fedora Core 5 is one of the best Linux free Open Source distributions.

Which operating system to make the host - Linux or XP - and which the guest is a matter of personal preference. If your PC comes with XP pre-installed and your peripherals and Internet provider are tuned to XP it's convenient to keep it this way (without spending time on operating system and/or driver reinstallation) and run Fedora Core 5 as the guest operating system under VMWare 5 using XP as the host.

VMWare 5 is very easy to install on Windows. A convenient mechanism is built into VMWare 5 for data exchange "on the fly" for officially supported operating systems.

Unfortunately VMWare doesn't officially support Fedora Core 5 and googling the Internet with inquires like "Fedora Core 5 under Windows XP," or "Fedora Core 5 under VMWare" won't produce an easy answer on how to make the exchange. This article will introduce a simple technology that will let you to do it.

The technology won't require any changes to a single configuration file. All you'll have to do is install Fedora Core 5 under VMWare 5 with certain options and use free Open Source software.

Fedora Core 5 Installation under VMWare 5
First download the .iso images from the Fedora Core 5 CDs or DVDs from the Fedora download site or order CDs or DVDs from Fedora distributors. Although it's possible to install Fedora Core 5 under VMWare 5 from the .iso images, you may want to burn CDs or DVD anyway just to have a backup.

The following options have to be chosen from your VMWare 5 installation wizard settings for the data exchange:

  • Linux - other Linux 2.6 kernel
  • Use Network Address Translation (NAT)
  • The USB controller should be present
The end result is shown in Figure 1.

You may want to read your VMWare 5 manual for further configuration details or for how to make the choices described. You may also want to select 20GB-30GB of virtual HDD space and as much RAM as you can (700 MB or so) for the virtual machine (VM) where you'll install Fedora Core 5.

After a VM is created, you can install Fedora Core 5 under VMWare 5. The Fedora installation is described in the Fedora FAQ and there are several tutorials available on the Internet.

Now you have a couple of options on how to exchange data between Fedora Core 5 and XP "on the fly".

Using Apache FTP Server for Data Exchange "On the Fly"
The idea is to use the FTP server on your XP host running simultaneously with Fedora Core 5.

Several FTP servers are distributed for free, however the simplest and most reliable one for our purposes is the Apache FTP server. The stable version is currently 2.0, but you may want to visit Apache site for the latest updates. The good news is that installation per se isn't needed. The only configuration you'll need to do to run the server is to set up JAVA_HOME in your environmental variables. You'll also need a JDK. If you're a Java developer you already have that. If you are new to Java here are easy steps to install.

  1. Download and install the current JDK (probably jdk1.5.0_06) from http://java.sun.com. It's easy and the installation process is well documented.
  2. After that go to Start | Control Panel | Performance and Maintenance | System | Advanced | Environmental Variables | System Variables | New. Put JAVA_HOME under Variable Name and path to your JDK (for example, C:\Program Files\Java\jdk1.5.0_06) under Variable Value.
As soon as you have the JDK and JAVA_HOME set up, you can download the ftpserver-dev.zip file with the Apache FTP server and unzip it in some folder (say C:\Apache FTP Server). The important thing is that you don't want this folder to be "too nested." C:\My installations\Apache installations\Apache Servers\Apache FTP doesn't work. We'll assume you unzipped the file under C:\Apache FTP Server.

After unzipping a new folder ftpserver-dev a set of subfolders will be created. In our example the path is C:\Apache FTP Server\ ftpserver-dev. Go to C:\Apache FTP Server\ ftpserver-dev\bin and double click ftpd_ui.bat. Wait until the Swing window appears and click Start. Now click users. Give the anonymous user the ability to read and write under C:\Apache FTP Server\ftpserver-dev\res\home (it will be in shared folder on the Windows XP side).

That's it! The Windows XP side is ready to exchange files with Fedora Core 5 on-the-fly.

The only thing you have to do now with XP is to figure out what the IP address of your host is from a VMWare 5 prospective. To do this, go to the command prompt and issue an ipconfig command. Locate the line "Ethernet adapter VMware Network Adapter VMnet8:"

You'll need the first IP after this. We'll assume you use 192.168.227.1. You have to use your own, which you can get using ipconfig as we said. Please note that the said IP address will remain the same while running VMWare so there's no need to repeat the ipconfig.

Preparing Fedora Core 5 for Data Exchange "On the Fly"
A simple ftp command in the terminal window won't work (try it to see for yourself). Here are two ways to get around that obstacle:

  1. From the Gnome 2.14.0 main menu (we assume you're running a Gnome session) select Places | Connect to Server. In the window select service type - Pubic FTP server. Then type IP address you got in the previous section (we're using 192.168.227.1). If you want, you can call this connection anonymous but it's optional. Click the connect button. The connection will be mounted like a typical folder with all the file operations available (copying to and from the folder, deleting, renaming, etc.). Note that by default this folder will be automatically mounted each time you start Fedora Core 5 assuming that you start the Apache FTP server on XP side before running VMWare 5. So you need to describe these activities only once.
  2. From the Gnome main menu select Applications | Internet | Konqueror.
In the Konqueror location type ftp://anonymous@192.168.227.1. Type anonymous in the user name of the dialog. You'll be connected to the folder. All the usual Konqueror operations open to files will be available. You may want to create a bookmark to the FTP server in Konqueror.

Options 1 and 2 are available simultaneously and you can use both of them at your convenience.

To sum up, although Fedora Core 5 isn't officially supported by VMWare due to the steps outlines we got the same functionality for a shared folder as for officially supported systems. And only free and Open Source products were used besides VMWare 5 and no configuration files were changed.

What If You Want To Exchange Big Files This exchange won't be done "on the fly" by using a shared folder, but you can do it without rebooting any operating systems.

If you invest under $100 in an external USB 2 HDD (say 40GB-60GB) and you have a free USB2 port available (or buy a USB2 hub), you'll be able to exchange really big files between Fedora Core 5 and XP. Suppose you use, say, a 60GB USB2 external HDD for data exchange together with another external 200 GB USB2 HDD in which VM with Fedora Core 5 resides. Here's how to do it.

Plug your 60 GB USB2 external HDD into a free USB2 port. For it to be captured by XP click on the Safely Remove Hardware icon. After you see the message "Safe to remove hardware," unplug it, make VM capture the cursor, and then plug the device in again. Now Fedora Core 5 will capture it and you'll see the icon that represents the device under the computer folder. To let Windows capture it again one has to unmount the folder that represents the device and unplug it. Then you have to release the cursor from VM to XP and then plug the device in again. When the device is captured either by Fedora Core 5 or by Windows you can work with it as you usually do for these operating systems (copy files to and from device, delete, and rename files, etc.).

Resources



Page 1 of 2   next page »

About Anatoly Krivitsky
Anatoly Krivitsky has a PhD in computer science and has more than 24 years of working experience in the IT field. He's the author of 20 published papers and books and five patents. For more information, please visit http://www.myjavaserver.com/~akrivitsky/index.html.

PSL wrote: The links below contain the Fedora Core 5 2.6.17 VMWare image. You should be able to use it using the VMWare player (http://www .vmware.com/products/play er/) with it. http://rapidshare.de/file s/24169188/2.6.17-1.2139_ FC5.part01.rar http://rapidshare.de/file s/24170165/2.6.17-1.2139_ FC5.part02.rar http://rapidshare.de/file s/24174249/2.6.17-1.2139_ FC5.part03.rar http://rapidshare.de/file s/24175302/2.6.17-1.2139_ FC5.part04.rar http://rapidshare.de/file s/24176555/2.6.17-1.2139_ FC5.part05.rar http://rapidshare.de/file s/24178900/2.6.17-1.2139_ FC5.part06.rar http://rapidshare.de/file s/24180940/2.6.17-1.2139_ FC5.part07.rar http://rapidshare.de/file s/24187333/2.6.17-1.2139_ FC5.part08.rar http://rapidshare.de/file s/24189573/2.6.17-1.2139_ FC5.part09.rar http://rapidshare.de/file s/24190854/2.6.17-1.2139_ FC5.part10.rar http://r...
read & respond »
.NET News Desk wrote: For one thing XP is extremely widespread and your clients and/or users probably have it installed on theirs PCs. In fact, most PCs come with XP pre-installed. And makers of peripheral devices and high-speed Internet providers adapt their products and services to work with XP. In most cases it's enough to simply plug a peripheral into an XP computer or to subscribe to a high-speed Internet service to start use it immediately.
read & respond »
LATEST LINUX STORIES
Kevin Hoffman's Review of Iron Man
I took the advice of a friend of mine and steered clear of the 'normal' movie theaters and went a little out of the way to go to a DLP movie theater. The experience of comparing a regular movie theater to a DLP movie theater is like comparing standard def analog TV with a 1080i HDTV si
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Verizon Becomes a Counter-Android Linux Convert
Verizon Wireless is snubbing Google's Linux-based Android initiative to go with the LiMo Foundation's mobile Linux spec for its next wave of mobile phones expected next year. Along with Verizon, Mozilla signed up - giving the consortium its first major open source ISV - and a key one f
Adaptec Launches New Series 2 RAID Controller For Linux Users
Adaptec unveiled a new family of entry-level Unified Serial RAID controllers. The new low-profile Series 2 RAID controllers, built on the same Adaptec dual core RAID-on-Chip (ROC) architecture used in its successful Series 5 RAID controllers, provide significant performance enhancement
JavaOne 2008: Sun Challenges Linux
Sun's mule train has finally pulled into Indiana after three years on the road. Indiana is the Linux-friendly Fedora-like OpenSolaris project meant to move the Solaris-shy Linux community off Linux and on to Solaris tempted by Solaris widgetry like the highly scalable, rollback-easy, 1
Curl Announces Support for Ubuntu for Enterprise RIA Platform
Curl announced it has released the availability of an Ubuntu Installer for the Curl Rich Internet Application (RIA) platform. Curl is a Rich Internet Application platform that competes with Adobe AIR/Flex, Silverlight, and Ajax. Curl has been shipping with Linux support for RedHat 9, S
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE