Click here to close now.


Microsoft Cloud Authors: Andreas Grabner, Elizabeth White, Jim Kaskade, Pat Romanski, David Bermingham

Related Topics: Containers Expo Blog, Java IoT, Microsoft Cloud, Linux Containers, Open Source Cloud, Server Monitoring

Containers Expo Blog: Article

Running Fedora 17 Under Windows 7

Tips and Tricks

The advantages of virtualization are obvious for almost everyone. One of the first influential articles on the subject was my article [1] which was of interest to more than 48,000 readers. Below you will find useful and quick methodology on how to install and use Fedora 17 under the Windows 7 environment to gain efficiency and productivity in a cost-effective and convenient way. Only free tools will be used. PC used for this article has 6 GB of RAM and Intel core i7 CPU. The PC runs under 64-bit Windows 7 and has 680 Gb HDD. This is a typical PC configuration at the time of writing, so most of the readers have a PC with similar or better parameters and that's why the technology described above will be useful "out-of-the-box" without any additional investments. To mention the last but not the least pre-condition, it will be useful to have JDK 1.7 (from update 5 and up) installed on your host PC. For your convenience you may also want to install Eclipse, NetBeans and/or IntelliJ Idea community edition. All tools are free, open sourced and can be installed on the same PC without conflicts.

Please note that as usual further in this article the mandatory parts of specific examples will be encircled with angle brackets (<>), while optional parts as well as references and system prompts will be encircled with square brackets ([]). The pipe symbol "|" will denote selection (for instance from the menu).

Why Windows 7 and Fedora 17
Windows 7 is one of the most widely used operating system these days. The chances are good that when you buy your new PC, it will run under Windows 7. Also if you buy almost any peripheral device such as an external HDD, printer, scanner etc., it will be ready to run under Windows 7 just out of the box. On the other hand Fedora 17 is the latest and greatest Fedora distribution that contains many useful free and/or open sourced applications and a lot more can be installed on it. Moreover, some vendors offer free versions of their products under Linux, for which you will need to pay (examples will be given below). It is assumed that you are not interested in "wars" between different software teams, but rather in getting your job done in the most effective and convenient way. This article will teach you how to do just that by taking the best of Windows 7 and Fedora 17.

Free Virtualization
In my previous articles [1,2] I described how to use commercial solutions for virtualization. However, now it is possible to use a free open source product Oracle VM Virtual Box to run Fedora 17 under Windows 7. How to use the product in question for running Fedora 17 under Windows 7 and the convenient mechanisms to exchange files between Windows 7 host and a Fedora 17 guest as well as how to run guest applications from the host and much more will be described in this article.

How to save time on Fedora 17 installation
Here is a surprise: the installation of Fedora 17 per se is not needed. All you will need to do is to download 64-bit zipped image for VMware (yes, VMware I will explain how in works with Oracle VM VirtualBox in a moment) from [3]. If the image in question will not be available for whatever reason, please feel free to contact me at [email protected]. I will be more than happy to help.

Unzip the downloaded image that consists of a set of specific VMware files. The file name for the image is . By default, the files will be unzipped into fedora-17-x86_64 directory. Now you need to configure your Oracle VM Virtual Box for work with this image.

The configuration in question is given in Figure 1. Almost everything regarding Virtual Box and VirtualBox Extensions installations and configurations under Windows 7 is straightforward, only several comments need to be made.

  • Amount of memory of 3,591 Mb is enough to provide reasonably fast Fedora 17 functionality and on the other hand a functionality of host Windows 7 for the described PC. If you have a different amount of RAM, you may want to adjust this setting accordingly.
  • How to attach downloaded 64-bit image of VMware downloaded from [3] is shown in Figure 2. Please note that fedora-17-x86_64.vmdk which is shown in Figure. 2 is a part of downloaded and unzipped Fedora 17 image and can be found under fedora-17-x86_64 directory.

Once you did everything as described above, guest Fedora 17 is ready to rumble under the Windows 7 host. A little bit more tweaking will be needed to provide your convenient experience with Fedora 17 under Windows 7.

Interaction between Windows 7 host and Fedora 17 guest
One of the beauties of virtualization (in contrast to multi partitioning for instance) is an ability to run multiple operating systems simultaneously on the same physical box. It gives you an opportunity to have the "best of both worlds" at your disposal. It is suggested that you will use Windows 7 as a tool to connect to an external environment. It will handle security features such as FireWall and antiviruses, communicate with external devices, etc. On the other hand Fedora 17 will be used as a vehicle to run useful Linux applications. This "division of labor" is convenient if we have the ability to interact between Windows 7 host and Fedora 17 guest on the fly. One way to achieve this goal is to use ssh and port forwarding. Port forwarding with Oracle VM Virtual Box can be done with GUI as shown in Figure 3. (Please note that there is no need to specifically manually change any configuration file.)

A little bit more tweaking will be needed on Fedora 17 side. First you will need to install the Virtual box guest addition on Fedora 17, which will made your further job more convenient. One needs to perform activities described in [4] to do so.

The next step will be to establish an ssh connection between Windows 7 host and Fedora 17 guest.

The advantages of this connection are as follows (among others)

  • It will give you an opportunity to use free and open source GUI client WinSCP [7] that will allow you to perform a convenient exchange of files between host and guest without limitations of using dedicated folders only.
  • You will have an option to run programs for Fedora 17 from a Windows 7 host. For example you will be able to use the popular free open sourced PuTTY client [5] in conjunction with WinSCP and/or by running ant scp task [6]. Please also note that you may use methodology described in my article [8] as one of the possible ways to run programs for Fedora 17 from Windows 7 host.

On the Fedora 17 side you need to do changes in /etc/ssh/sshd_config file. For your convenience a result of changes in question is shown in Listing 1. Also you may want to disable the firewall. Please note that it is a virtual machine anyway. A real firewall works on your physical Windows 7 box and its functionality is not affected. To do so go to Gnome 3 (suppose you use this desktop environment) Applications and type "Fire" (it will be sufficient) in a search area. FireFox and Firewall will appear (among other applications whose name starts with "fire" if any). Choose Firewall and click "Disable" button. If administrative (root) password will be required for this type thoughtpolice as per [3].

Now you will need to re-start sshd service as follows

systemctl enable sshd.service

It is suggested that the above command is run as root in the terminal window.

Changes in the configuration files described below can be done in any editor of your choice such as vi, etc., given that you have root privileges while editing. Another convenient editor for the job is Geany[9]. To install it on Fedora 17 just issue the following commands (please see more details on su below).

yum install geany

Note that with Geany you have convenient GUI editor that allows you to view/edit files that are owned by the root.

Here is how.

Suppose you need to perform the described editing of the sshd_config file.

Type the following in the terminal window (square brackets below comes from system prompt). Note that user name changed from akrivitsky (sure your user name will be here) to root after su command.

[akrivitsky@localhost ~]$ su
Password: <enter password from above here)
[root@localhost akrivitsky]# geany

So you are running geany as a root now and therefore, all files that are owned by root are accessible for viewing/editing.

From this point you will be able to perform a bi-directional file exchange between the Windows 7 host and Fedora 17 as well as run certain Fedora 17 commands/applications from Windows 7.

A convenient way to do so is to use free and open source WinSCP client, which can be download from [7].

First you need to set up a new session with your Fedora 17 virtual machine. To do so select Session | New Session from the WinScp menu and fill out the corresponding screen in a way similar to what is shown in Figure 4 (use your own values). It will be good idea to save the session for future use by clicking the save button. Also you may want to replace the default WinScp editor with Notepad++ [10] which is free, open source and has a lot of advantages. In particular with Notepad++ you can use the snippet technique which is effective and time-saving with the FingerText plugin [11]. A detailed description of Notepad++ and its plugins is beyond the scope of this article. You may want to start with [12, 13] for additional information.

To use Notepad++ WinScp do the following. Go to Options | Preferences in WinScp menu. Select Editors, after that click Add and put full path to Notepad++ (which is external editor) under External Editor field. For example, it can be as follows "C:\Program Files (x86)\Notepad++\notepad++.exe" !.!. As usual use your own path to notepad++.exe instead of listed above if needed.

After that, using the Up and Down buttons in Options | Preferences | Editors make sure that the added Notepad++ holds the first position within the window.

Now we need to configure WinScp to work with putty - a convenient free and open sourced telnet and ssh client.

If putty is not installed already, download it from [5] and install. After that go to Options | Preferences | Integrations | Applications in WinScp menu. Browse to putty.exe. It will be convenient for you to check "Remember session password and pass it to putty check box", so you will not need to enter the password. After that putty will be connected to Fedora 17 virtual machine by just clicking open session in Putty button on WinScp toolbar or by entering CTRL+P keys.

How to make the Fedora 17 experience more convenient
If previously described activities were done correctly, virtual machine (VM) with Fedora 17 should be ready to run under Windows 7. Moreover, you are able to perform file exchange between Windows 7 host and Fedora 17 guest with WinSCP and run certain Fedora17 commands/applications in putty. So you are not that dependent on Fedora17 GUI environment such as Gnome as if you run Fedora17 alone. This way, any conflicts by different teams and individuals that developed (used) Gnome and Gnome-like environments (as well as KDEs ones) such described in [14] and other sources can be avoided by you.

However, it's a good idea to make your Fedora 17 experience more convenient by downloading and installing additional free and open source software that fits your needs. There are several post installation guides that will help you to do so (like for instance [15]).

Examples are as follows. If you feel more comfortable with some elements of KDE such as Kwrite text editor and/or Dolphin file managed (but not with KDE itself), you may want to install KDE (for example as described in [15]) but still use Gnome session at login.

Moreover, you can have Notepad++ (with advantages described above) up and running under Fedora 17. To do so you will install WinE, for instance by doing the following:

yum upgrade
yum --enablerepo=updates-testing upgrade wine
yum install wine

After that you download (or copy from Windows host with WinSCP) notepad++ installer.

Make sure that finally it is under [path to your home directory here]/.wine/drive_c/windows, after that run:

wine npp.6.1.3.Installer.exe. (Please use actual name of your installer here).

Suppose appropriate permissions are given to all path elements below, after that you may run Notepad++ as follows (as usual replace values below to your own if needed):

wine '/root/.wine/drive_c/Program Files (x86)/Notepad++/notepad++.exe'

At some point you may want to develop shell script which will do above command to run Notepad++ conveniently. For instance, you can create npp function with this bash script (say from file called

function npp () {
wine '/root/.wine/drive_c/Program Files (x86)/Notepad++/notepad++.exe' $1

And after that it will be convenient for you to use notepad++ by calling the function from terminal window, using it into your scripts etc.

Example of Free Version of Application from a Software Vendor for Run Under Fedora 17
Though Fortran has a long history it still alive and well. The reasons are that it is very well suited for byte-crunches scientific and engineering tasks and huge amount of applications that were created and tested for years and therefore contain less errors than newly developed ones. Please see for instance [16] for further details. One of fastest Fortran compilers is Intel Fortran Composer XE for Linux which is free for non-commercial usage [17]. It is very easy to install the composer on Fedora 17 under Oracle VM Virtual Box. After installation you may want to run the following command:

ifort Dwhet_fortran.f -o Dwhet_optimized.exe -O3 -ipo -no-prec-div

Note that Dwhet_fortran.f is a file name with my modification of known whetstone benchmarking [18] adjusted for Fortran code. Please also see my site [19] for more details on benchmarking.


  1. A. Krivitsky (2006). "Running Fedora Core 5 Under Windows XP - Tips and Tricks." LinuxWorld. Vol. 4, issue 5.
  2. A. Krivitsky (2008)."The 'Best of Both Worlds': Running Fedora 8 on Legacy Windows XP." Enterprise OpenSource magazine. Vol 4, issue 8
  3. VMWare image of Fedora 17
  4. VirtualBox Guest Additions on Fedora 17/16, CentOS/RHEL 6.3/5.8. Updated by JR on Jul 22, 2012 in CentOS, Desktop Guides, Featured, Fedora, Linux, Programs, Red Hat (RHEL).
  5. PuTTY Download Page -
  6. Ant SCP task -
  7. WinSCP -
  8. A. Krivitsky (2006). " The Best of Both Worlds Debugging Linux/Unix code using Windows XP software development tools" Enterprise OpenSource magazine. Vol 4, issue 8
  9. Geany site -
  10. Notepad++
  11. FingerText plugin for Notepad++
  12. B. Dammani. Notepad++ tricks and tips -
  13. M. Romalotti. 27 Notepad++ plugins, and which you really need -
  14. C. Brown. The KDE/GNOME Controversy -
  15. Fedora 17 Post Installation Guide -
  16. A. Krivitsky (2006). Migration of Legacy Scientific and Engineering applications from mainframes to PCs with open source technologies Enterprise OpenSource magazine. Vol 4, issue 9
  17. INTEL® DEVELOPER ZONE: Non-Commercial Software Development
  18. A. Krivitsky (2005). "Remote benchmarking with Servlets and JSF". JDJ. Vol10, issue 5
  19. My site:

More Stories By 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

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

@ThingsExpo Stories
Clearly the way forward is to move to cloud be it bare metal, VMs or containers. One aspect of the current public clouds that is slowing this cloud migration is cloud lock-in. Every cloud vendor is trying to make it very difficult to move out once a customer has chosen their cloud. In his session at 17th Cloud Expo, Naveen Nimmu, CEO of Clouber, Inc., will advocate that making the inter-cloud migration as simple as changing airlines would help the entire industry to quickly adopt the cloud without worrying about any lock-in fears. In fact by having standard APIs for IaaS would help PaaS expl...
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Bradley Holt, Developer Advocate at IBM Cloud Data Services, will demonstrate techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user experience, both offline and online. The focus of this talk will be on IBM Cloudant, Apa...
SYS-CON Events announced today that Cloud Raxak has been named “Media & Session Sponsor” of SYS-CON's 17th Cloud Expo, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Raxak Protect automates security compliance across private and public clouds. Using the SaaS tool or managed service, developers can deploy cloud apps quickly, cost-effectively, and without error.
SYS-CON Events announced today that ProfitBricks, the provider of painless cloud infrastructure, will exhibit at SYS-CON's 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. ProfitBricks is the IaaS provider that offers a painless cloud experience for all IT users, with no learning curve. ProfitBricks boasts flexible cloud servers and networking, an integrated Data Center Designer tool for visual control over the cloud and the best price/performance value available. ProfitBricks was named one of the coolest Clo...
Organizations already struggle with the simple collection of data resulting from the proliferation of IoT, lacking the right infrastructure to manage it. They can't only rely on the cloud to collect and utilize this data because many applications still require dedicated infrastructure for security, redundancy, performance, etc. In his session at 17th Cloud Expo, Emil Sayegh, CEO of Codero Hosting, will discuss how in order to resolve the inherent issues, companies need to combine dedicated and cloud solutions through hybrid hosting – a sustainable solution for the data required to manage I...
Mobile messaging has been a popular communication channel for more than 20 years. Finnish engineer Matti Makkonen invented the idea for SMS (Short Message Service) in 1984, making his vision a reality on December 3, 1992 by sending the first message ("Happy Christmas") from a PC to a cell phone. Since then, the technology has evolved immensely, from both a technology standpoint, and in our everyday uses for it. Originally used for person-to-person (P2P) communication, i.e., Sally sends a text message to Betty – mobile messaging now offers tremendous value to businesses for customer and empl...
SYS-CON Events announced today that IBM Cloud Data Services has been named “Bronze Sponsor” of SYS-CON's 17th Cloud Expo, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. IBM Cloud Data Services offers a portfolio of integrated, best-of-breed cloud data services for developers focused on mobile computing and analytics use cases.
Learn how IoT, cloud, social networks and last but not least, humans, can be integrated into a seamless integration of cooperative organisms both cybernetic and biological. This has been enabled by recent advances in IoT device capabilities, messaging frameworks, presence and collaboration services, where devices can share information and make independent and human assisted decisions based upon social status from other entities. In his session at @ThingsExpo, Michael Heydt, founder of Seamless Thingies, will discuss and demonstrate how devices and humans can be integrated from a simple clust...
Who are you? How do you introduce yourself? Do you use a name, or do you greet a friend by the last four digits of his social security number? Assuming you don’t, why are we content to associate our identity with 10 random digits assigned by our phone company? Identity is an issue that affects everyone, but as individuals we don’t spend a lot of time thinking about it. In his session at @ThingsExpo, Ben Klang, Founder & President of Mojo Lingo, will discuss the impact of technology on identity. Should we federate, or not? How should identity be secured? Who owns the identity? How is identity ...
You have your devices and your data, but what about the rest of your Internet of Things story? Two popular classes of technologies that nicely handle the Big Data analytics for Internet of Things are Apache Hadoop and NoSQL. Hadoop is designed for parallelizing analytical work across many servers and is ideal for the massive data volumes you create with IoT devices. NoSQL databases such as Apache HBase are ideal for storing and retrieving IoT data as “time series data.”
SYS-CON Events announced today that HPM Networks will exhibit at the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. For 20 years, HPM Networks has been integrating technology solutions that solve complex business challenges. HPM Networks has designed solutions for both SMB and enterprise customers throughout the San Francisco Bay Area.
The broad selection of hardware, the rapid evolution of operating systems and the time-to-market for mobile apps has been so rapid that new challenges for developers and engineers arise every day. Security, testing, hosting, and other metrics have to be considered through the process. In his session at Big Data Expo, Walter Maguire, Chief Field Technologist, HP Big Data Group, at Hewlett-Packard, will discuss the challenges faced by developers and a composite Big Data applications builder, focusing on how to help solve the problems that developers are continuously battling.
As enterprises capture more and more data of all types – structured, semi-structured, and unstructured – data discovery requirements for business intelligence (BI), Big Data, and predictive analytics initiatives grow more complex. A company’s ability to become data-driven and compete on analytics depends on the speed with which it can provision their analytics applications with all relevant information. The task of finding data has traditionally resided with IT, but now organizations increasingly turn towards data source discovery tools to find the right data, in context, for business users, d...
SYS-CON Events announced today that MobiDev, a software development company, will exhibit at the 17th International Cloud Expo®, which will take place November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. MobiDev is a software development company with representative offices in Atlanta (US), Sheffield (UK) and Würzburg (Germany); and development centers in Ukraine. Since 2009 it has grown from a small group of passionate engineers and business managers to a full-scale mobile software company with over 150 developers, designers, quality assurance engineers, project manage...
“The Internet of Things transforms the way organizations leverage machine data and gain insights from it,” noted Splunk’s CTO Snehal Antani, as Splunk announced accelerated momentum in Industrial Data and the IoT. The trend is driven by Splunk’s continued investment in its products and partner ecosystem as well as the creativity of customers and the flexibility to deploy Splunk IoT solutions as software, cloud services or in a hybrid environment. Customers are using Splunk® solutions to collect and correlate data from control systems, sensors, mobile devices and IT systems for a variety of Ind...
SYS-CON Events announced today that Solgeniakhela will exhibit at SYS-CON's 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Solgeniakhela is the global market leader in Cloud Collaboration and Cloud Infrastructure software solutions. Designed to “Bridge the Gap” between Personal and Professional Social, Mobile and Cloud user experiences, our solutions help large and medium-sized organizations dramatically improve productivity, reduce collaboration costs, and increase the overall enterprise value by bringing ...
Sensors and effectors of IoT are solving problems in new ways, but small businesses have been slow to join the quantified world. They’ll need information from IoT using applications as varied as the businesses themselves. In his session at @ThingsExpo, Roger Meike, Distinguished Engineer, Director of Technology Innovation at Intuit, will show how IoT manufacturers can use open standards, public APIs and custom apps to enable the Quantified Small Business. He will use a Raspberry Pi to connect sensors to web services, and cloud integration to connect accounting and data, providing a Bluetooth...
SYS-CON Events announced today that Micron Technology, Inc., a global leader in advanced semiconductor systems, will exhibit at the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Micron’s broad portfolio of high-performance memory technologies – including DRAM, NAND and NOR Flash – is the basis for solid state drives, modules, multichip packages and other system solutions. Backed by more than 35 years of technology leadership, Micron's memory solutions enable the world's most innovative computing, consumer,...
Nowadays, a large number of sensors and devices are connected to the network. Leading-edge IoT technologies integrate various types of sensor data to create a new value for several business decision scenarios. The transparent cloud is a model of a new IoT emergence service platform. Many service providers store and access various types of sensor data in order to create and find out new business values by integrating such data.
SYS-CON Media announced that Splunk, a provider of the leading software platform for real-time Operational Intelligence, has launched an ad campaign on Big Data Journal. Splunk software and cloud services enable organizations to search, monitor, analyze and visualize machine-generated big data coming from websites, applications, servers, networks, sensors and mobile devices. The ads focus on delivering ROI - how improved uptime delivered $6M in annual ROI, improving customer operations by mining large volumes of unstructured data, and how data tracking delivers uptime when it matters most.