163 OS Installation Guides

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 37

FACULTY OF

COLLEGE OF COMPUTING, INFORMATICS AND MEDIA

DIPLOMA OF

INFORMATION MANAGEMENT

SUBJECT

COMPUTER SYSTEM OPERATION (IMD 163)

GROUP

KCDIM 110 2A

TITLE

WINDOWS AND APACHE INSTALLATION GUIDELINES AND THE REQUIREMENTS

PREPARED FOR

MOHD NOR AZAM BIN MD SALEH

PREPARED BY

STUDENT NAME MATRIX NUMBER


NUR AMAANY BT ABDUL NASIR 2023374163
NO CONTENT PAGE
1. ACKNOWLEDGEMENT 3

2. GUIDELINES TO INSTALL MS-DOS 4

3. GUIDELINES TO INSTALL WINDOWS 1.0 AS COMPUTER SOFTWARE 5-7


AND THE REQUIREMENTS
4. GUIDELINES TO INSTALL WINDOWS 2.0 AS COMPUTER SOFTWARE 8-10
AND THE REQUIREMENTS
5. GUIDELINES TO INSTALL WINDOWS 3.0 AS COMPUTER SOFTWARE 11
AND THE REQUIREMENTS
6. GUIDELINES TO INSTALL WINDOWS 3.1 AS COMPUTER SOFTWARE 12-14
AND THE REQUIREMENTS
7. GUIDELINES TO INSTALL WINDOWS 4.0 (Windows 95) AS COMPUTER 15-18
SOFTWARE AND THE REQUIREMENTS
8. GUIDELINES TO INSTALL WINDOWS 5.0 (Windows 2000) AS COMPUTER 19-27
SOFTWARE AND THE REQUIREMENTS
9. GUIDELINES TO INSTALL WINDOWS VISTA AS COMPUTER SOFTWARE 28-30
AND THE REQUIREMENTS
10. GUIDELINES TO INSTALL WINDOWS N.T AS COMPUTER SOFTWARE 31-33
AND THE REQUIREMENTS
11. GUIDELINES TO INSTALL WINDOWS 11 AS COMPUTER SOFTWARE 34
AND THE REQUIREMENTS
12. GUIDELINES TO INSTALL OPEN SOURCE (APACHE WEB SERVER) ON 35-37
WINDOWS AND THE REQUIREMENT
TABLE OF CONTENT

2|Page
ACKNOWLEDGEMENT

Firstly, I want to express my gratitude to Allah the Most Almighty from His permission, I as
an information management student managed to completely this project with success. I am
thankful to His Mighty giving me chance in various aspect such a health and ideas to
complete this project even it seems look a merely project but its needed more spend of time
and ideas to search information.

Secondly, I want to give my biggest thanks to my lecture in this subject (IMD 163), Sir Mohd
Nor Azam bin Md Saleh. From his explanation in lectures, it gives me a lot of enlightenment
in this topic and the sub topic in this subject. Without the support and guidance from him, I
will be unable to complete this project with my limited knowledge.

Besides that, I would like to express my unconditional appreciation to my family that give me
support and strength to move on and step forward. From them, I get a value of responsibility
in myself to keep struggle to complete this project. Major thanks for their helps in various
aspect such an idea, financial and strength to make me more dedicated to complete this
project with success.

Finally, an honourable mention goes to all friends in the group for their understandings and
supports in completing this project. Without workgroup of the particular that mentioned
above, I would face many difficulties while doing this project. Once again, thank you very
much, may Allah SWT bless you all.

3|Page
GUIDELNES TO INSTALL MS-DOS
(A REQUIREMENT BEFORE INSTALLING WINDOWS IF YOUR COMPUTER DOESN’T
HAVE AN OPERATING SYSTEM)

1. Insert the first MS-DOS installation diskette into the computer and reboot or turn on
the computer. If you do not have the MS-DOS diskettes, you cannot install MS-DOS.

2. If the MS-DOS setup screen appears when the computer starts press F3 two or more
times to exit from the setup.

3. Once at the A:\> MS-DOS prompt type fdisk and press Enter.

4. In the fdisk screen, delete any current partitions existing on the computer and then
recreate the partitions. For additional information about fdisk, including a simulation
of how fdisk operates, see our fdisk command guide.

5. Once a new partition is created, exit out of fdisk and get back to the A:\> prompt.

6. At the prompt type format and press Enter.

7. Once the hard drive is formatted, reboot the computer with the diskette still in the
drive. Once back at the setup screen, run through the setup of MS-DOS on the
computer.

4|Page
GUIDELINES TO INSTALL WINDOWS 1.0 AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT:
 Microsoft Disk Operating System (MS-DOS) 2.0
 CGA/Hercules/Enhanced Graphics Adapter (EGA)
 256 KB Ram
 2 Disk drives or a hard drive

INSTALLATION GUIDELINES
STEP 1: PREPARING TO INSTALL
before powering on the computer, place Disk 1 of MS-DOS into the computer
STEP 2: START UP YOUR COMPUTER
i) (MS-DOS 3.3) A was used in this tutorial) the setups should be similar on each version of
MS-DOS.

ii) type in the correct date (month, date and year) and time , if the date and time
displayed is correct just press ‘Enter” (use the 24 hour clock and not the 12 hour
clock)

5|Page
iii) Type ‘fsdisk’ and press “Enter” and type 1 on the keyboard to select the option
and press “Enter” {fdisk: program used to make changes to the hard drive partitioning
on the computer}

iv) type ‘Y’ and press “Enter”

v)press any key when you see this message to restart MS-DOS but do not remove the
floppy disk.
vi)type ‘format C’ and press “Enter” (this command will delete everything in the drive (where
the computer files are normally stored,please ensure there is no files that important that you
don’t want to delete)

6|Page
vii)if there is no files that worth keeping on the hard drive, press ‘Y’ then press “Enter”
viii)next step is optional. you can type in a volume label or you can just leave this space bit
blank by pressing “Enter”

ix)type in ‘sys c:’ and press “Enter” (This transfers MS-DOS from the floppy disk to the C
drive allowing the C drive to be bootable)
x)type ‘copy A:\*.*:\’ and press “Enter” (this copies everything from the floppy disk to the C
drive)

xi)remove the 1st floppy disk and insert the 2nd MS-DOS installation disk.
xii)type ‘Copy A:\*.* C:\’ and press “Enter”.
xiii)remove the 2nd floppy disk and restart the computer to make sure it boots properly

7|Page
GUIDELINES TO INSTALL WINDOWS 2.0 AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT:
 MS-DOS 3.0 or later
 512 K RAM
 one floppy disk
 one hard disk
 virtualbox (https://winworldpc.com/download/c38fc...)

INSTALLATION GUIDELINES

First, download the virtualbox by copy paste the link on any search engine. download the
software and click on guided mode to set it up.
Next, on this part select the option MS DOS CD DISK 1 on ‘choose a hard drive’ and start
the process

when the MS DOS sis displayed on your screen,click Enter to start with MS DOS setup and
wait for the drive to be formatted.

8|Page
click Enter to start the MS DOS start up and remove disks from all floppy disk drives and
then press Enter.
The MS DOS set up will be completed and it will load instantly to MS DOS and testing.

And then, you will need to select the disk to continue the setup.

Complete the settings by choosing the country for the time, date and language set up and
choose drive for your utilities 2 disk, font disk, desktop applications and write program disk.

Press ‘N’ on keyboard to remain the setup settings and press any key to finish the setup.
Now type “setver WIN200.BIN 3.40” and then press Enter and then restart the machine.

9|Page
Next, type ‘cd windows’ and type ‘win.com’
And with that, your Windows 2.0 is all set.

10 | P a g e
GUIDELINES TO INSTALL WINDOWS 3.0 AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT:
 MS-DOS 3.1 or later
 Intel 80286
 1 MB of RAM
 6.5 MB of hard drives spaces

INSTALLATION GUIDELINES (in VMWARE Workstation)

1. Just like Windows 2.0, you need to select the first settings by selecting the option
floppy drive on VMWARE settings.

2. Click on "Create a New Virtual Machine" or "New Virtual Machine" to start the setup
process.

3. Select "Installer disc image file (iso)" or "Installer disc" if you have the installation disk
image of Windows 3.0. Follow the prompts to locate and select the Windows 3.0 disk
image. ( If you have physical installation disks, choose the appropriate option and
follow the prompts to insert the disks into the virtual machine.)

4. When prompted to select the guest operating system, choose "MS-DOS" or "Other"
as Windows 3.0 might not be explicitly listed.

5. Allocate resources like RAM, CPU cores, and hard drive space for the virtual
machine. Windows 3.0 requires minimal resources by today's standards.

6. Once the setup is complete, start the virtual machine.

7. If you're using installation disks, follow the on-screen instructions as prompted to


install Windows 3.0. Insert disks as needed. (If you're using a disk image, the virtual
machine should boot from the disk image automatically. Follow the installation
prompts to install Windows 3.0)

8. Follow the Windows 3.0 installation process. You might need to partition the virtual
hard drive and format it during installation.

11 | P a g e
GUIDELINES TO INSTALL WINDOWS 3.1 AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT:
 MS-DOS 3.1 or later
 Intel 80286
 1 MB of RAM
 6.5 MB of hard drives spaces

INSTALLATION GUIDELINES (in VMWARE Workstation)

1. When you see this screen, insert the Windows 3.1 setup floppy.
2. Type A and :. Then press Enter.

3. Type setup. Then press Enter.


4. Press Enter.

12 | P a g e
5. Pick your setup mode. It's a matter of personal preference but for this, we will use the
"Express Setup".
6. Insert the "Microsoft Windows 3.1 Disk #2" floppy disk and press Enter.

7. Insert the "Microsoft Windows 3.1 Disk #3" floppy disk and press Enter.
8. Type in your name and press Continue and check if your name is correct and simply
click Continue.

9. Insert the "Microsoft Windows 3.1 Disk #4" floppy disk and click Continue. Repeat the
same step by inserting the "Microsoft Windows 3.1 Disk #5" and #6 floppy disk.

13 | P a g e
10. If you see this message, do the following:
 Confirm that the message displays C:\DOS\EDIT.COM
 Make sure that "MS-DOS Editor" is highlighted
 Click OK.
11. Use "Run tutorial" if you are used to newer operating systems. Windows 3.1 is very
different (it doesn't have a Start menu)

12. Remove all floppy disks from the computer and click Reboot.

14 | P a g e
GUIDELINES TO INSTALL WINDOWS 4.0 (Windows 95) AS
COMPUTER SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT:
 Intel 80386
 4 MB of RAM
 50 MB of hard drives spaces

INSTALLATION GUIDELINES

1. Insert the Windows 95 Installation disk.


2. Type "Setup" and press Enter.

3. Wait for the screen message to appear.


4. Configure. (If you haven't already allocated a partition to your hard drive, make sure
'Configure unallocated disk space' is highlighted and Enter.)

15 | P a g e
5. Select whether you would like large disk support. (This message may not come up if
your hard drive is smaller than 512mb.)
6. Ensure the Windows 95 Boot Disk is in Drive A and press Enter.

7. Press Enter to continue with the installation.


8. Click Continue to continue with the installation and accept the license agreement and
click next on the Windows 95 Setup Wizard pop up message.

9. Select where on your hard drive you want Windows 95 to install and click Next.
(Normally it is best to choose where Windows recommends.)
10. Select what kind of setup you would like and click Next.

16 | P a g e
11. Type in your product key and click Next. (The product key should have come with
your Windows 95 setup disks.)
12. Type in your name and click Next.

13. Choose whether you want to install the most common components for Windows or to
choose the components yourself and click Next.
14. Choose whether you want to create a startup disk or not and click Next.

15. Remove any disks from their drives e.g. floppy disks as well as the installation disk
and click Finish.
16. Type in a Computer name and a Workgroup and click Close.

17 | P a g e
17. Reinsert the Windows 95 installation disk and click OK.
18. Ensure your date and time settings are correct and then click Close.

19. Remove any disks in your computer and click OK to restart your computer.
20. The Windows 95 installation is complete.

18 | P a g e
GUIDELINES TO INSTALL WINDOWS 5.0 (Windows 2000) AS
COMPUTER SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT
 Pentium-compatible 133 MHz
 32 MB of RAM
 700 megabytes hard disk spaces
 VGA or higher resolution monitor

INSTALLATION GUIDELINES

After booting Windows 2000 Server, the Windows Server setup process will start with a blue
screen, follow the steps below to successfully install Windows 2000 Server:
1. Boot Windows 2000 server. By booting Windows 2000 server, the required files and
drivers are loaded.
2. Click” To Setup W2K Now” and hit Enter to continue.
3. If you use the server for the first time or you have not partitioned the hard disk, you
receive a warning message for partitioning, which you must read and press the C button to
continue the installation process.
4. You will see license agreements that you must accept by using the f8 key after reading
them to the end of the page.
5. Then specify options for partitioning the hard drive to install W2k (short for Windows 2000)
and format the new partition using FAT, FAT32, or NTFS. There are several options for
configuring the available disk:
 Create a partition to install Windows 2000 and specify its size and then press C. (the
hard disk is not partitioned)
 Create a single partition the size of the entire hard disk and press Enter. (The hard
disk is not partitioned)
 If the hard disk is partitioned, create an additional partition in the unpartitioned space.

19 | P a g e
In this step, we will partition the hard drive into 3 logical drives. The first partition belongs to
the operating system and must have enough space for the Windows operating system and
Windows updates. The second partition is created for network applications, and the third
partition is created for storing user data. After calculating and estimating the suitable spaces
for each partition and determining them, press the Enter button and go to the next step. In
this tutorial, we created a single partition and pressed the Enter button.
6. This step is dedicated to selecting the file system for the Windows 2000 server installation
partition. After you have created a partition for W2K installation, you can select a file system
for the W2K installation partition format in the setup section. Windows 2000 server is
compatible with file allocation table (FAT) and FAT32 file systems and NTFS file system.
You will lose features such as file-level security and Active Directory if you select FAT. Also,
by choosing FAT, you will be unable to configure the server as a domain controller. In
addition, Microsoft Windows 2000 Server allows access to data stored on NTFS-formatted
local hard disks. So we choose NTFS.

7. Then Setup will copy the necessary files from the installation disk and this process may
take up to 5 minutes.

8. After completing the process of copying the necessary files, press the Enter button to
restart the system. As a result, the system is restarted in graphic mode.

20 | P a g e
9. Select Next to continue the setup process.

10. Then the device drivers are automatically downloaded based on what is recognized on
your computer, and tools such as keyboards, etc. are installed. Wait for the process to
complete, which may take a few minutes.

Note: When completing the progress bar, you may see the screen flicker or the progress bar
freeze up (the progress bar is stuck halfway). This problem can be solved by turning off the

21 | P a g e
computer, removing unnecessary hardware such as ISA cards, or disabling BIOS features
before setup.
11. At this step, you can change languages and regions if needed. If you want to change the
language and regions, select the Customize option. If you like the default settings, click
the Next button.

Note: If you need to customize the regional settings, use the Current System Locale option
to set the date, time, currency, etc. based on your location. Through the Current Keyboard
Layout option, you can customize the special characters and symbols used in different
languages on your keyboard.
12. Enter your name and organization (if needed) and click Next.

13. In this step, type the product key and click Next.

22 | P a g e
14. Specify the type of license and the number of licenses purchased.

15. In this step, fill in the computer name and administrator password fields.

23 | P a g e
Note: The local Administrator user account is available in the computer’s SAM( Security
Account Manager), don’t look for it in Active Directory.
Note: If you plan to link a Windows 2000 server to a domain, you will need a predefined
computer name that is created for that domain account.
16. At this step, we are allowed to specify the components that we intend to install.

17. In this step, configure Date and Time Settings and time zone and click Next.

18. Finally, you will face a page that displays the installation process for networking
components. After a few minutes, you will see a network settings window that gives a
warning about the network adapter. You receive this message when you do not have a
network adapter or the network adapter does not support it. You can skip this step and go to
the next step.

24 | P a g e
19. Enter the Networking Settings window, where you have two options: Typical Settings
and Custom Settings.
Choose Typical settings if you have the following conditions:
 You use a router or server that manages DHCP.
 You have a computer that runs Internet Connection Sharing (ICS).
 You are in a work environment where you do not intend to start another server or
Active Directory.
Custom settings are for when you want to customize your network settings.
So, based on your needs, choose one of these two options and press the Enter button.

20. If you select Typical Settings, the Workgroup or Computer Domain window will open.
Answer the question,” Do you want this computer to be a member of a domain?” by
selecting the No option and specifying the Workgroup or Domain window. And click on Next.

25 | P a g e
21. As a result, the setup process ends by copying the files and completing the configuration
process. Receiving the message “You have successfully completed Windows 2000
setup” will indicate success in setting up Windows 2000 server. Finish the Windows 2000
Server setup process by selecting the Finish option.

26 | P a g e
22. By selecting the Finish option, the system will reboot. Finally, you will get a CTRL-ALT-
DEL window.

27 | P a g e
GUIDELINES TO INSTALL WINDOWS VISTA AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT
 32 Bit
 1.0 GHz processor
 1 GB RAM
 15 GB free hard disk space
 128 MB Graphics memory

INSTALLATION GUIDES

1. Reboot your computer. Make sure that the installation DVD or USB drive has been
inserted. (If your boot order is set correctly, you will see a message telling you to
“Press any key to boot from CD)
2. Watch the Windows files load. After completion, the Windows Vista logo will appear.
No files have been altered on your computer yet. Your data will be deleted in later
steps.

28 | P a g e
3. Choose your preferences. You will be prompted to confirm your Language, Time &
Currency format, and Keyboard or input method. Select the appropriate options for
you and click Next.
4. Click Install Now. Once clicked, Setup will begin loading the files it needs to continue.

5. Get the updates. If your computer is connected to the internet, you will be given the
opportunity to download updates before installation begins.
6. Enter your product key.

7. Read and accept the terms.


8. Choose Custom install. This will allow you to perform a clean installation. Even if you
are upgrading a previous version of Windows, it is highly recommended that you
perform a clean install.

9. Delete the partition. A window will open asking where you would like to install
Windows. In order to perform a clean install, you need to delete the old partition and
start with a clean slate. Click “Drive options (advanced).”

29 | P a g e
10. Select the Unallocated Space and click Next.

11. Wait while Windows installs files. The percentage next to Expanding Windows files
will steadily increase. This part of the process can take up to 30 minutes.
12. Enter your username and computer name.

13. Select a Windows Update option. The first option will install all updates automatically;
the second option will prompt you when important updates are available.
14. Select the date, time and your network preferences.

30 | P a g e
GUIDELINES TO INSTALL WINDOWS N.T AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT
 486/25 MHz or Pentium based system
 16 MB memory (RAM)
 110 MB hard disk space
 CD-ROM drive or access to a CD-ROM over a network
 VGA or higher resolution display adapter
 Microsoft mouse or compatible pointing device

INSTALLATION GUIDELINES

1. Click Start, then click Run


2. Type x:\i386\winnt /ox, Press Enter (Where x is the CD-ROM drive letter.) This will
create the 3 Windows NT 4.0 Boot disks.
NOTE: Windows 2000 may generate an error message stating program may not run
correctly. Click Run Program. This will create the 3 Windows NT 4.0 Boot disks.
3. Download the SCSI Driver for the onboard SCSI controller

 Save this file to the hard disk, go to the location you saved it and execute the file
by double clicking on it. It will extract to: C:\IBMTOOLS\Drivers\Driver filename

 Open C:\IBMTOOLS\Drivers\driver filename with Windows Explorer. Copy all the


contents to a diskette.

 When the system finishes copying the files your SCSI driver diskette is made.
Installation
1. Start the system with the first of 3 boot diskettes in the floppy disk drive. Insert the
second boot diskette when prompted.
2. The first window is the "Welcome to Windows NT Setup." Press Enter.
3. The next screen will ask if you want to let setup AUTODETECT MASS STORAGE
DEVICES. Press S to skip the detection process.
4. In the next window press S to specify a driver, select Other, press Enter.
5. Setup will ask for the manufacturer's disk. Insert the SCSI diskette created earlier
into the floppy disk drive. Press Enter. NT will prompt you to specify additional
devices. Press S.
6. Arrow up to IDE CD-ROM ATAPI 1.2. Press Enter. The system should list the SCSI
hard disk drive and the CD-ROM drive.

31 | P a g e
7. Setup will prompt for the third diskette, insert the diskette into the floppy disk drive
and press Enter.
8. Setup will show a message that your system has over 1024 cylinders, press Enter.
9. Insert the Windows NT CD, press Enter
10. Page down to read the End User License Agreement. If you accept the Terms and
Conditions of the License Agreement, press F8 on the last screen to continue the
installation process.
11. Setup will show a description of your system. If the description matches your system,
Press Enter.
12. Setup will prompt you to create the boot partition. Press C to create the partition. The
partition should not be smaller than 512 MB, but not larger than 4096 MB.
13. Select the new partition to install Windows NT.
14. Setup will prompt you for the format choice. FAT is suggested for the boot partition.
15. Setup will then prompt you for the location to install. Use the default path.
16. Setup will inspect the hard disk.
17. Setup will then prompt you for the SCSI Driver diskette (if needed) . Put the diskette
into the floppy disk drive, and press Enter. This concludes the first part of setup.
Graphical Portion of setup
1. The first window is "Windows NT Setup" , click next.
2. Choose the type of setup you would like. Typical is recommended, click Next
3. Enter your Name and Organization name, click Next
4. Enter the Product ID (Found on the front of the Windows NT Book), click Next.
5. Enter the desired computer name, click Next.
6. Enter the Administrator's password two times, click Next. (Do not forget this
password, as you will not be able to log on to your system with out it.)
7. Setup will then prompt you to create an emergency repair disk. Select Yes, create
an emergency repair disk, then click Next.
8. Select Install the most common components, click Next.
9. Click Next to start "Installing Windows NT Networking".
10. Contact your network administrator (if needed) at this point for the configuration of
your network settings. For this installation we will skip installing the network portion
by selecting "Do not connect this computer to a network at this time." Click Next.
11. Select the time zone you are in, click Close.
12. A "Detected Display" window will appear. Click OK on the message stating it has
found a vga compatible display adapter.
13. Click OK to continue. Setup will copy files at this point.

32 | P a g e
14. Setup will ask for a diskette for the Emergency Repair Disk, insert in the diskette
drive, and press OK.
15. When the diskette is finished, a message will come up to reboot the system. Remove
all media from the drives before rebooting.
16. To complete the install of Windows NT 4.0 on your system you will need to download
a service pack. You must install Service Pack 4 or later. You can download the
service packs from Microsoft.

33 | P a g e
GUIDELINES TO INSTALL WINDOWS 11 AS COMPUTER
SOFTWARE AND THE REQUIREMENTS

THE REQUIREMENT
 1 gigahertz (GHz) with 2 or more
 64-bit processor or System on a Chip (SoC)
 4 gigabytes (GB)
 64 GB or larger storage device
 UEFI system firmware
 Trusted Platform Module (TPM) version 2.0
 Graphics card compatible with DirectX 12 or later with WDDM 2.0 driver
 HIgh definition 720p display

INSTALLATION GUIDELINES

Step 1: Head over to Settings > Update & security. From there, click Check for updates.
Step 2: You should notice a prompt for Upgrade to Windows 11 is ready, and it's free. Click
the blue Download and install button and agree to the terms with the Accept and install
button.
Step 3: You should then see the Upgrade to Windows 11 appear under Windows Update,
with a percentage and download status. Wait for it to complete.

34 | P a g e
Step 4: When finished, you'll get a prompt to restart your PC. It'll show up in a blue box.
Choose the Restart now option. Your PC will proceed with Windows 11 installation and will
restart a few times.

GUIDELINES TO INSTALL OPEN SOURCE (APACHE WEB SERVER)


ON WINDOWS

Apache is a web server is software that listens for requests and returns data (usually a file).
When you type “www.mysite.com”, the request is forwarded to a machine running web
server software which returns a file back to your browser such as the contents of index.html.
The browser might then make further requests based on the HTML content like CSS,
JavaScript, and graphic files.

THE REQUIREMENT
 Operating system:
Preferred: CentOS/RHEL 7.2+ or Ubuntu 16.04(.2) or higher
 64-bit x86 CPU (more cores results in better performance)
 4 GB of memory
 250 GB of local disk (more results in better capability; 500 GB recommended)
 At least 1 NIC
 Statically allocated IP address
 Fully qualified domain name as returned by the hostname command

INSTALLATION GUIDELINES

Step 1: Configure IIS


Apache listens for requests on TCP/IP port 80. You need to uninstall or disable any program
that uses that port. If you have a Professional or Server version of Windows, you may
already have IIS installed. If you would prefer Apache, either remove IIS as a Windows
component or disable its services.

Step 2: Download the files


We’re going to use the unofficial Windows binary from Apache Lounge. This version has
performance and stability improvements over the official Apache distribution, although I’m
yet to notice a significant difference. However, it’s provided as a manually installable ZIP file
from www.apachelounge.com/download/.

 You should also download and install the Windows C++ runtime from Microsoft.com.
You may have this installed already, but there is no harm installing it again.
 As always, remember to virus scan all downloads.

Step 3: Extract the Files

35 | P a g e
We’ll install Apache in C:/Apache24, so extract the ZIP file to the root of the C:/ drive.
Apache can be installed anywhere on your system, but you’ll need to change SVROOT
configuration to point to your unzipped location — suh as E:/Apache24.

Step 4: Configure Apache


Apache is configured with the text file conf/httpd.conf contained in the Apache folder. Open it
with your favorite text editor.
 Note that all file path settings use a forward slash (/) rather than the Windows
backslash. If you installed Apache anywhere other than C:/Apache24, now is a good
time to search and replace all references to C:/Apache24.
There are several lines you should change for your production environment:
 Line 60, listen to all requests on port 80:
Listen *:80
 Line 162, enable mod-rewrite by removing the # (optional, but useful):
LoadModule rewrite_module modules/mod_rewrite.so
 Line 227, specify the server domain name:
ServerName localhost:80
 Line 224, allow .htaccess overrides:
AllowOverride All

Step 5: Test your Installation


Your Apache configuration can now be tested. Open a command box (Start > Run > cmd)
and enter:
# navigate to Apache bin directory
cd /Apache24/bin
# Test httpd.conf validity
httpd -t
 It should say “Syntax OK”. If not, correct any httpd.conf configuration errors and
retest until none appear.

Step 6: install Apache as a Windows service


The easiest way to start Apache is to add it as a Windows service. Open a new command
prompt as administrator, and enter the following:
cd /Apache24/bin
httpd -k install

36 | P a g e
 Open the Control Panel, Administrative Tools, then Services and double-click
Apache2.4. Set the Startup type to “Automatic” to ensure Apache starts every time
you boot your PC.

 Alternatively, set the Startup type to “Manual” and launch Apache whenever you
choose using the command “net start Apache2.4”

Step 7: Test the Web server


Create a file named index.html in Apache’s web page root (either htdocs or D:\WebPages)
and add a little HTML code:

html>
<head>
<title>Testing Apache</title>
</head>
<body>
<p>Apache is working!</p>
</body>
</html>
 Ensure Apache has started successfully, open a web browser and enter the address
http://localhost/. If all goes well, your test page should appear.

 In general, most problems will be caused by an incorrect setting in the httpd.conf


configuration file. Refer to the Apache documentation if you require further
information.

37 | P a g e

You might also like