Western Mass Hosting's Hosting Articles

Home / Hosting / Page 4

Cookie Notice

This site utilizes cookies to improve your browsing experience, analyze the type of traffic we receive, and serve up proper content for you. If you wish to continue browsing, you must agree to allow us to set these cookies. If not, please visit another website.

Setting up a Windows 2008 R2 Virtual Machine on Ubuntu Server

Well kiddies time for another installment into my mind. 🙂 Today I am going to tell you how I managed to install Windows 2008 R2 Server on a virtual machine on my Ubuntu Server.  Being a developer jack-of-all-trades I needed to have a very stable environment for some of the sites I develop, but still allow myself to develop for Microsoft.

Yes, I went the ways of Linux…  infinately more stable as a server environment than windows is 😉

You too can still have and develop for windows even if you have a Linux box.  It’s not that hard to do, but it’s also not that easy, there were times when I was ready to throw my machines to the wind.

Here’s how I did it… please note, this is NOT the method for every flavor of Linux, remember… I run Ubuntu Server.  However, some of the these instructions will be similar across the board.

So… here we go:

  1. Install Linux Server
    1. I installed with a KVM kernel if that will help anyone 😉
  2. Make sure all your initial networking settings are correct, and you can connect to the internet
  3. Install VirtualBox from Oracle
    1. Install the following pre-reqs:
      apt-get install bcc iasl xsltproc xalan libxalan110-dev uuid-dev zlib1g-dev libidl-dev libsdl1.2-dev libxcursor-dev libqt3-headers libqt3-mt-dev libasound2-dev libstdc++5 linux-headers-`uname -r` build-essential
    2. I used the install from Oracle so I had to add the Oracle repository for it, but Ubuntu has a package called virtualbox-ose, and you can install it by simply doing:
      apt-get update && apt-get install virtualbox-ose
    3. To add the Oracle maintained repository:
      sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list" && wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - && sudo apt-get update && sudo apt-get install virtualbox-4.1 dkms
  4. Once VirtualBox is installed you will need to install the extensions as well which you can do from the desktop
    1. Speaking of… I found I needed su access to run it, so get into your Ubuntu desktop and fire up Terminal.  Once there, type in sudo -s then your password, then VirtualBox to fire up the manager
    2. To install the extensions, simply for to Preference/Settings and click on Extensions.  Then click the “Add Package” icon on the right, and browse to find your downloaded extension pack to install it
  5. Now that you’ve got VB installed with the extensions, it’s time to create our machine.
  6. If you do not have the manager fired up do so now
    1. Click ‘New’
    2. Type in a name, select ‘Microsoft Windows’ find your version in the ‘Version’ drop down and hit ‘Next’
    3. Select a memory size, personally I’d go for at least 4G or 4096MB then hit ‘Next’
    4. Create a new hard drive for this machine, then hit ‘Next’, you can pretty much pick the type you want… whatever your preference makes no difference.  I personally use VHD, so select it and hit ‘Next’
    5. For performance reasons, select ‘Fixed Size’ then hit ‘Next’
    6. Select a location for this new drive, and select your size…  I’d go at least 25GB, but you may want more if you plan on installing things like IIS and MS SQL, etc… once you select this size hit ‘Create’.   Depending on your machine, and the size of the drive this may take a while to complete
    7. Once it is finished creating the drive you the window should close and you should now see your new machine in the list.  Click it, then hit ‘Settings’
    8. Under ‘System’ make sure ‘PIIX3’ chipset is selected, ‘Enable IO APIC’ is checked off in the ‘Motherboard’ tab.
    9. Click the ‘Processor’ tab and select at least 2 processors.
    10. Make sure the ‘Hardware Virtualization’ checkboxes are checked under the ‘Acceleration’ tab
    11. If you plan on RDP’ing into this machine you should make sure that the ‘Video Memory’ under the ‘Display’ is set high enough.  64M should do the trick
    12. ‘Storage’ in the “empty” controller, select the icon next to the ‘CD/DVD Drive’ drop-down and select your Windows 2008 install disk
    13. NOW FIRE IT UP!
  7. Now, with all windows installs this is going to take awhile, so you might as well get some grocery shopping done ;0)
  8. Once windows is installed on your vm, you can now configure your Ubuntu networking to bridge your networking to the VM to allow traffic from the outside through to it.
  9. First, make sure you are using the PCNet Ethernet for the virtual machine.Next modify your networking:
    nano /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto br0
    iface br0 inet static
    address 192.168.2.98 #<- Change this to the internal IP address of your Ubuntu box
    netmask 255.255.255.0
    network 192.168.2.0 #<- Change this to the internal network
    broadcast 192.168.2.255 #<- Change this to the internal IP address of your Windows VM
    gateway 192.168.2.1 #<- Change this to your gateway
    bridge_ports eth0
    bridge_stp off
    bridge_maxwait 5
    

    You will then need to make sure that your networking in Windows is configured to static, and then you will need to Configure Windows Firewall to allow the connnections through to it, as well as configure your router for forward the ports you need forwarded to the VM

Our Privacy Policy

Last Updated: June 18th, 2025

Introduction

Western Mass Hosting (“we,” “our,” or “us”) respects the privacy of all individuals and organizations that interact with our services. This Privacy Policy establishes our practices regarding the collection, use, disclosure, and protection of personal information for visitors to our website and clients utilizing our managed hosting and WordPress services. By accessing our website or engaging our services, you acknowledge that you have read and understood this policy in its entirety.

Scope and Applicability

This Privacy Policy governs our handling of information collected through our corporate website and in the course of providing managed hosting, WordPress maintenance, and development services. In accordance with global privacy regulations, we serve as a Data Controller for information related to our business operations and client relationships. When processing data on behalf of our clients through hosted services, we act as a Data Processor under applicable data protection laws.

Information We Collect

We collect various categories of information necessary to provide and improve our services. This includes personal contact and payment details provided during account registration, technical information such as IP addresses and device characteristics for security purposes, and records of communications through support channels. For clients utilizing our hosting services, we may process end-user data stored within client websites, though we do not control or monitor the collection practices of such data.

Purpose and Legal Basis for Processing

We process personal information only when we have proper justification under applicable laws. The primary legal bases for our processing activities include the necessity to fulfill contractual obligations to our clients, our legitimate business interests in maintaining and improving our services, and in limited cases, explicit consent for specific marketing communications. We maintain detailed records of processing activities to demonstrate compliance with legal requirements.

Use of Collected Information

The information we collect serves multiple business purposes. Primarily, we use this data to deliver and maintain reliable hosting services, including server provisioning, performance monitoring, and technical support. We also utilize information for business operations such as billing, customer relationship management, and service improvement initiatives. Security represents another critical use case, where we analyze data to detect and prevent fraudulent activity or unauthorized access to our systems.

Data Sharing and Third-Party Disclosures

We engage with carefully selected third-party service providers to support our operations, including cloud infrastructure providers, payment processors, and customer support platforms. These relationships are governed by strict contractual agreements that mandate appropriate data protection measures. We may disclose information when legally required to comply with court orders, government requests, or to protect our legal rights and the security of our services.

International Data Transfers

As a global service provider, we may transfer and process data in various locations worldwide. When transferring personal data originating from the European Economic Area or other regulated jurisdictions, we implement appropriate safeguards such as Standard Contractual Clauses and rely on adequacy decisions where applicable. Our subprocessors, including AWS Lightsail, maintain robust compliance certifications to ensure the protection of transferred data.

Data Retention Practices

We retain personal information only for as long as necessary to fulfill the purposes outlined in this policy. Client account information is typically maintained for five years following service termination to comply with legal and financial reporting obligations. Backup data associated with hosting services is automatically purged after thirty days, as specified in our Terms of Service. For data processed on behalf of clients, retention periods are determined by the respective client’s policies and instructions.

Security Measures

We implement comprehensive technical and organizational security measures to protect personal information against unauthorized access, alteration, or destruction. Our security program includes network encryption protocols, regular vulnerability assessments, strict access controls, and employee training on data protection best practices. We maintain incident response procedures to address potential security breaches and will notify affected parties where required by law.

Individual Rights

Individuals whose personal data we process may exercise certain rights under applicable privacy laws. These rights may include requesting access to their information, seeking correction of inaccurate data, requesting deletion under specific circumstances, and objecting to particular processing activities. We have established procedures to handle such requests in accordance with legal requirements, typically responding within thirty days of receipt. Requests should be submitted to our designated Data Protection Officer through the contact information provided in this policy.

Cookies and Tracking Technologies

Our website employs various technologies to enhance user experience and analyze site performance. Essential cookies are used for basic functionality and security purposes, while analytics cookies help us understand how visitors interact with our site. Marketing cookies are only deployed with explicit user consent. Visitors can manage cookie preferences through their browser settings or our cookie consent tool.

Policy Updates and Notifications

We periodically review and update this Privacy Policy to reflect changes in our practices or legal obligations. Material changes will be communicated to affected clients through email notifications at least thirty days prior to implementation. Continued use of our services following such notifications constitutes acceptance of the revised policy.

Contact Information

For questions or concerns regarding this Privacy Policy or our privacy practices, please contact our Data Protection Officer at info@westernmasshosting.com or by mail at:

Western Mass Hosting
22 Orlando. St.,
Feeding Hills, MA 01030.

We take all privacy-related inquiries seriously and will respond promptly to legitimate requests. For clients with specific data processing agreements, please reference your contract for any additional terms that may apply to our handling of your data.