Overview
mySQL Installation
Windows Configuration
10
Router Configuration
13
14
Successful Connection
15
Summary
17
Overview
The purpose of our project is to implement a Windows server that allows a Debian
virtual machine to access the web page through a Linksys router as well as install
and run mySQL on a Debian virtual Machine. To do this we first created a Debian
Virtual Machine and Windows Virtual Machine. Second we configured the Windows
to act as a web server, while the Debian will act as the client. Third we installed
mySQL on the Debian virtual machine. MySQL is the world's 2nd most widely used
relational database management system making it an important feature to
understand how to install and run. The SQL acronym stands for Structured Query
Language. When we were installing the mySQL to the Debian machine, we ran into
some issues where we did not know the commands to install. After much research
online, we found the proper way to install and run mySQL successfully. We then
installed a Windows virtual machine, configured it to act as a server, and then
connected the two machines together using a linksys router. We thought that we
were going to successfully be able to connect them together and then be able to ping
each other with little modification. Unfortunately we had some technical difficulties,
but it did not work at first. Understanding the troubleshooting process, we knew
windows was the problem. To resolve this we researched and logical thought
through the errors. When we took down the firewall, allowed network discovery,
and then assigned the IP dynamically the communication between virtual machines
was successful. By doing these three things we were able to ping to each of the
virtual machines and have the webserver functioning properly. Our design is
portrayed in the following figure.
Materials Needed
Two Computers
Router
MySQL Software
MySQL Installation
For the installation process of MySQL we installed the the package through the
synaptic package manager on our debian machine as superuser. This process of
installation is documented in the pictures below.
Using MYSQL:
root@TheComputingDead:~# mysql
u root
p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 47
Server version: 5.5.38
0+wheezy1 (Debian)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Now that weve finished selecting the initial settings, we needed to edit the settings
in virtual box.
Settings
o Network
On Attached To select Bridged Adapter
o Click OK
Once these settings were selected, we started the VM by clicking the green arrow
icon at the top of the virtual box. Different from the Debian VM, when the
installation begins the Windows must use the Windows .iso image by clicking the
little green arrow file folder icon and selecting the file when you start the VM. We
did this and clicked start to begin the Windows installation. In the Windows install
screen there are various settings and checks to select.
Standard Full Installation
Accepted licence terms
Continued with Custom Advanced (Upgrade should be disabled)
Clicked next on the where to install
Changed the password
Windows Configuration
Once the Windows VM finished installing, we set up the initial configuration tasks in
Group 1.
Set Time Zone
Configure Networking
IPV4 IP Dynamically Assigned
Provide Computer Name and Domain
Change computer name (in our case: thecomputingdeadWINDOWS)
At this point, we needed to get the FTP service running. To do this we opened the IIS
6.0 Manager. From there we changed a few things.
Open Default FTP Site
Right-Clicked and selected Start
Ignored Cannot change the state of the site warning
After this, we needed to make sure that the Network Discovery was turned on and
the firewall was turned off. Once all of these elements were in place, we could test
and work the connection.
The following image documents the IP address that was dynamically assigned to the
Windows VM.
The last element needed was to transfer or create HTML pages to allow the Debian
to view them on a browser. For this part, we used files from a previous 2300 class.
The documents needed to be added to the folder C:\inetpub\wwwroot.
Router Configuration
We used the WRT54G Linksys router to connect our Debian virtual machine to
windows server, allowing us to communicate across computers.
Second, we moved to the firewall since this followed logically with the fact that the
VM was not making connections. This idea came to mind, but it also came up in our
research for connecting to a router with a Windows VM. We observed that the
firewall was active and to allow traffic we turned the firewall off. Even after this
change, the VM was still not communicating with the network.
Third, we knew that that VM had an IP address and knew that the firewall was on;
therefore we examined the network settings through the GUI. We knew that we had
taken measures to insure the VM would both be able to communicate and not have
anything blocking the communication. From there we adjusted to the GUI interface
of the Windows and wondered how we could get the Windows VM to know it needs
to communicate with the router. We did some research as well as looking through
the Network settings. After examining the settings, we noticed the Network
Discovery setting. It logically followed that this would affect the connection,
consequently we changed this to on and confirmed that we needed this changed to
allow network communication.
After all three of these changes, the Windows virtual machine was able to
successfully communicate with the network.
Successful Connection
Once we completed all of these configurations and obtained IP addresses all on the
same network, the two machines were able to ping each other, but the Debian
virtual machine couldnt access the Windows FTP server. After the FTP failed to
connect, we needed to start the FTP services on the Windows server in order for the
Debian machine to access the FTP, as could be shown in the picture below.
After all of this we were able to access a website that was posted on the web server
as shown in the picture below.
In addition to this, the Windows VM was able to access the Hades web server to
view the web pages.
Summary
Overall, together as a team, we were able to overcome some unknown errors and
complete the project. During the weeks spent on our project, we ran into some
technical difficulties that we overcame with research and trial and error. We learned
that to allow a windows server to have FTP we needed to turn the firewall off, turn
network discovery on, and make the IP dynamic. After making those changes, we
were allowed to successfully reach the network. We also discovered, through
various research as well as trial and error, how to install mySQL and run it properly.
In summary, we worked together as a team by designating tasks to be completed by
a specific time and working to understand new concepts.