For this group project you are required to work in groups of 3-4 people to set up a working
server that will contain several applications. You should use VirtualBox or VMWare Player to
host either a Linux or Windows server. These are the requirements for the server:
For a Linux Server:
• Remove any unnecessary applications
• Set up a print server (CUPS), allow clients to connect, print to PDF
• Create a script that backs up the printed documents every 6 hours
• Set up Apache HTTP server, with PHP and MySQL. Run Joomla on top of these
technologies
o Do not use an all-in-one solution such as LAMP
• Create a script that backs up the MySQL database every 3 hours
• Set up file sharing through SAMBA
• Create a script that backs up shared files and directories every 6 hours
• Set up an FTP server
• Create a script that backs up shared files and directories every 12 hours
• Set up a remote SSH server with OpenSSH
• Create a script that automates the setup of a user
For a Windows Server:
•
•
•
Install and configure either Windows Server 2003 or 2007
o Configure DNS
o Configure DHCP
Install and configure Active Directory and add a few user accounts
Install and configure Exchange Server and FTP
Turn-in
Virtual machine on some type of medium (DVD/Flash drive/External drive)
Write-up with the following information and be prepared to give a group presentation to the
class.
For Linux:
• What programs were removed, why, and how you removed them
• Detailed description of the process of setting up and running each server (explain also the
default configurations, if the system will work as-is)
• Report and describe each script in detail
• Report and describe any system you set up in detail
• List and describe any accounts, report the passwords for each account
• Describe how to access any of your servers
• Discussion of which group member worked on which part
For Windows:
Describe the Windows Server installation and the steps to setup DNS, DHCP, and FTP
server packages
Windows Server Installation
Virtual box was used for Windows Server installation. After downloading the windows server
2008, click on new in the virtual box and create the storage and other settings for windows server.
Start the Windows server. Enter language and other preferences. Click Next. Click Install now.
The setup begins. We selected the Windows Server 2008 R2 Enterprise (Full Installation) and
clicked Next. The installer prompts to read the license terms. accept the license terms and
click Next. The installer asks you which type of installation. For a new installation,
click Custom (advanced). The installer asks for disk location information. Make your selection
and click Next. The installation begins and after a while will finish. The installer prompts to change
the password. Click OK. Enter a new password, re-enter the password to confirm it, and click the
right-arrow.
Steps to setup DHCP
• To begin the DHCP installation process, in the Server Manager, click on roles then add
roles.
•
•
Click Next when the Add Roles Wizard comes up on that screen.
Tick on DHCP Server and click Next.
•
•
A prompt appears for a static IP address if one is not assigned on the server.
You are then prompted for IP network information, scope information, and DNS
information. By your own option, one can configure your DHCP Server at this particular
time.
In our case, we configured some IP settings that were basic as well as the DHCP Scope.
•
•
•
Choose default for “what interface do you want to provide DHCP services on?” and then
click Next.
Then you need to fill in the Parent Domain, Primary DNS Server, and Alternate DNS
Server and then click Next.
•
•
WINS was not used on our network. Just clicked Next.
We configured a DHCP scope for the new DHCP Server. The IP address range used was
192.168.1.50-100 to accommodate 30+ PC Clients on our local network.
•
Click on Add for adding a new scope. The scope was named WBC-Local,
the starting and ending IP addresses of 192.168.1.50-192.168.1.100 were configured,
255.255.255.0 for subnet mask, 192.168.1.1 for default gateway, wired for type of
subnet and then the scope was activated.
•
•
•
•
•
Click Next to add the new scope
We decided to Disable DHCPv6 stateless mode for the server and then Next was clicked.
Confirmation of DHCP Installation Selections was done and then Install clicked.
The window below is a confirmation that the DHCP Server was installed.
I clicked Close to close the installer window, then moved on to how to manage my new
DHCP Server.
Steps for DNS set up
•
In the Control Panel go to administrative Tools and Server Manager. After expanding and click
Roles then click on Add Roles
•
In the new window select DNS server and Click Next.
•
After installation of DNS, go to DNS for managing DNS server.
One must always be aware of:
•
•
•
Forward lookup zone
Reverse lookup zone
Zone types
•
Right Click on the name of the server in the DNS management console and select the
Configure DNS server.
•
Click on Create forward and reverse lookup zone, then click next.
•
Click on the Yes, create the forward lookup zone now
•
Click on the desired zone that you want to create, in this case Primary Zone.
•
Type the Name of the Zone and click Next.
•
Click Next on the Zone File Name.
•
Select the Allow both no secure and Secure dynamic updates and click Next.
•
Select Yes, I want to create reverse lookup zone now, Click Next.
•
Select Primary Zone in Zone creating Window.
•
One can choose to create IPv4 or IPv6 reverse lookup zone.
•
Type you netword ID in the following window.
•
Click Next on the Reverse lookup Zone file name window.
•
Select the Allow both nonsecure and Secure dynamic updates and click Next.
•
Select No, i should not forward queries, then click Next.
•
Click finish on the final window.
Steps to setup of FTP server packages
•
In Windows Server Manager go to Dashboard and run Manage > Add Roles and
Features.
•
In Add Roles and Features wizard:
▪ Proceed to Installation Type step and confirm Role-based or featurebased installation.
▪ Proceed to Server Roles step and check Web Server (IIS) role. Note that
it is checked already, if you had IIS installed as a Web Server previously.
Confirm installing IIS Management Console tool.
▪ Proceed to Web Server Role (IIS) > Role Services step and check FTP
Server role service. Uncheck Web Server role service, if you do not need
it.
▪ Proceed to the end of the wizard and click Install.
▪ Wait for the installation to complete.
Describe the Active Directory installation and configuration and show how to add different
types of accounts
•
Start Server Manager and select Roles in the left pane, then click on Add Roles in the
center console and click Next.
•
In the Select Server Roles window select Active Directory Domain Services and
click Next.
•
Install 2 Domain Controllers(minimum).
•
AD DS requires DNS which was installed earlier
•
After installing AD DS, run dcpromo.exe to upgrade to a fully functional domain controller
•
Installation of AD DS will also install DFS Namespaces, DFS Replication, and Filer
Replication services which are required by Directory Service
•
Review the Confirm Installation Selections screen and then click Next.
•
The Installation Results shows if the Installation Succeeded. Click Close after reviewing.
•
Server manager shows that Active Directory Domain Services is still not running. dcpromo
has not yet been run.
•
Click on the Start button, type dcpromo.exe in the search box and hit enter.
•
The Active Directory Domain Services Installation Wizard starts. click Use advanced
mode installation and then click Next.
•
Next is the Choose Deployment Configuration screen and select to add a domain to an
existing forest or create a forest from scratch. Choose Create a new domain in a new
forest and click Next.
•
The Name the Forest Root Domain wants you to name the root domain of the forest you are
creating.
•
The next screen is the Set Forest Functional Level
•
Select Windows Server 2008 and then click Next.
•
In the Additional Domain Controller Options install a DNS server, which is
recommended on the first domain controller.
•
Select place to put the files that are necessary for Active Directory, including
the Database, Log Files, and SYSVOL.
•
Put a password for Directory Services Restore Mode.
Describe the installation and configuration for Exchange Server with user account
creation.
On the Server Role Selection page, configure the following options:
•
•
Mailbox role: Select this option, which will install the Management Tools
automatically.
Automatically install Windows Server roles and features that are required to
install Exchange: Select this option to have the Setup wizard install the required
Windows prerequisites.
On the Installation Space and Location page, either accept the default installation location or
click Browse to choose a new location. Click Next to continue.
Enter name of the organization.
On the Malware Protection Settings page, choose whether you want disable malware scanning.
On the Readiness Checks page, verify that the organization and server role prerequisite checks
completed successfully.
After you resolve the errors, click Retry to run the prerequisite checks again.
On the Setup Progress page, a progress bar indicates how the installation is proceeding.
On the Setup Completed page, click Finish, and then restart the computer.
Working individually you will create a series of regular expressions that identify different parts composing a
METAR.
METARs are reports assembled with a particular format that is easy to decode with computer systems using
regular expressions.
These reports typically come in two forms: North American METARs and International METARs. Create a
series of regular expressions that decode each token of information using the North American METAR form.
You can find METAR reports at the following address:
http://weather.noaa.gov/weather/metar.shtml.
In order to find the weather information you need to get a METAR report from any airport you wish utilizing
the appropriate code (Baltimore-Washington International is KBWI) and then apply the different regular
expressions to identify each token and eventually extract it from the report.
Your homework submission should be a script that reads a single line METAR from a file named:
metar.txt
Your script output (to the shell screen) should include:
the report type: either METAR or SPECI for “Special Report”
the station identifies (four characters starting with a K)
Day of the month and time the report was filed
If the token ‘AUTO’ is present, you should output “This is a fully automated report”
If the token ‘COR’ is present, you should output “This is a corrected observation”
Wind direction and speed, wind gusting, and variable wind directions
Visibility in statute miles
Light, medium, or heavy rain (-RA|RA|+RA)
Cloud Conditions: [0 or more occurrences of each of the following]
a. Sky Clear
b. Few Clouds
c. Scattered Clouds
d. Broken Clouds
e. Overcast Clouds
10. Temperature
11. Dew Point
12. Barometric Pressure
13. If the token ‘TH’ is present, you should output “Thunderstorms reported in the area”
1.
2.
3.
4.
5.
6.
7.
8.
9.
Lab 1 Script Answer
#!/bin/bash
printf “Report type: ”
egrep -o ‘METAR|SPECI’ metar.txt
printf “Station: ”
egrep -o ‘sK[A-Z]{3}s’ metar.txt
day_of_month=$(($(cat metar.txt | cut -c12-13) ))
metar_time= $(($(cat metar.txt | cut -c14-17) ))
printf “Day of month: %dn” $day_of_month
printf “Time: %d Zulun” $metar_time
wind_dir=$(($(egrep -o ‘s[0-9]{5}G?[0-9]?[0-9]?KTs’ metar.txt | cut -c2-4) ))
wind_spd=$(($(egrep -o ‘s[0-9]{5}G?[0-9]?[0-9]?KTs’ metar.txt | cut -c5-6) ))
printf “Winds are from %d degrees at %d knotsn” $wind_dir $wind_spd
few_cloud=$(($(egrep -o ‘FEW[0-9]{3} metar.txt’ | cut -c4-6) * 100))
sct_cloud=$(($(egrep -o ‘SCT[0-9]{3} metar.txt’ | cut -c4-6) * 100))
bkn_cloud=$(($(egrep -o ‘BKN[0-9]{3} metar.txt’ | cut -c4-6) * 100))
printf “Clouds: A few at %d feet above sea level” $few_cloud
printf “Clouds: A Scattered at %d feet above sea level” $sct_cloud
printf “Clouds: A Broken at %d feet above sea level” $bkn_cloud
temp=$(($(egrep -o ‘[0-9]{2} /[0-9]{2}metar.txt’ | cut -c1-2) ))
printf “Temp: %d degree celsius” $temp
ITEC 325
Assignment 2
Working individually you will create a series of regular expressions that identify different parts composing a
METAR.
METARs are reports assembled with a particular format that is easy to decode with computer systems using
regular expressions.
These reports typically come in two forms: North American METARs and International METARs. Create a
series of regular expressions that decode each token of information using the North American METAR form.
You can find METAR reports at the following address:
http://weather.noaa.gov/weather/metar.shtml.
In order to find the weather information you need to get a METAR report from any airport you wish utilizing
the appropriate code (Baltimore-Washington International is KBWI) and then apply the different regular
expressions to identify each token and eventually extract it from the report.
Your homework submission should be a script that reads a single line METAR from a file named:
metar.txt
Your script output (to the shell screen) should include:
the report type: either METAR or SPECI for “Special Report”
the station identifies (four characters starting with a K)
Day of the month and time the report was filed
If the token ‘AUTO’ is present, you should output “This is a fully automated report”
If the token ‘COR’ is present, you should output “This is a corrected observation”
Wind direction and speed, wind gusting, and variable wind directions
Visibility in statute miles
Light, medium, or heavy rain (-RA|RA|+RA)
Cloud Conditions: [0 or more occurrences of each of the following]
a. Sky Clear
b. Few Clouds
c. Scattered Clouds
d. Broken Clouds
e. Overcast Clouds
10. Temperature
11. Dew Point
12. Barometric Pressure
13. If the token ‘TH’ is present, you should output “Thunderstorms reported in the area”
1.
2.
3.
4.
5.
6.
7.
8.
9.
KEY TO DECODING THE U.S. METAR OBSERVATION
REPORT
KEY TO DECODING A METAR REPORT
METAR
KABC
121755Z
AUTO
21016G24KT
180V240
1SM
R11/P6000FT
TYPE OF REPORT
METAR: hourly (scheduled) report; SPECI: special (unscheduled)
report.
ICAO STATION
Four character ICAO location identifier.
(location) IDENTIFIER
DATE/TIME group
All dates and times in UTC using a 24-hour clock; two-digit date
and four-digit time; always appended with Z to indicate UTC.
AUTO: Indicates a fully automated report with no human
intervention. It is removed when an observer logs on to the system.
REPORT MODIFIER COR: Indicates a corrected observation. No modifier indicates
human observer or automated system with human logged on for
oversight functions.
WIND DIRECTION
AND SPEED
VISIBILITY
RUNWAY VISUAL
RANGE
Direction in tens of degrees from true north (first three digits); next
two digits: speed in whole knots; if needed, include character as:
Gusts (character) followed by maximum observed speed; always
appended with KT to indicate knots; 00000KT for calm; if
direction varies by 60o or more and speed greater than 6 knots, a
Variable wind direction group is reported, otherwise omitted. If
wind direction is variable and speed 6 knots or less, replace wind
direction with VRB followed by wind speed in knots.
Prevailing visibility in statute miles and fractions with space
between whole miles and fractions; always appended with SM to
indicate statute miles; values
Purchase answer to see full
attachment
Why Choose Us
- 100% non-plagiarized Papers
- 24/7 /365 Service Available
- Affordable Prices
- Any Paper, Urgency, and Subject
- Will complete your papers in 6 hours
- On-time Delivery
- Money-back and Privacy guarantees
- Unlimited Amendments upon request
- Satisfaction guarantee
How it Works
- Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
- Fill in your paper’s requirements in the "PAPER DETAILS" section.
- Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
- Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
- From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.