Sei sulla pagina 1di 46

Installing Virtual Box

Step 1:- Download Virtual Box for Windows from the link

https://www.virtualbox.org/wiki/Downloads

Step 2:- Double click on the installation file and click Run

Step 3:- Click Next


Step 4:- Click Next

Step 5:- Click Next

Step 6:- Select Yes


Step 7:- Click Install

Step 8: Click Finish


Creating a VM and installing Windows Server
2012
Step 1:- Download Windows Server 2012 ISO from the link

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012.

Step 2: Open Virtual Box.

Step 3: Click the New button on the menu bar. Give your VM a name such as
Windows Server 2012. For "Operating System Type", select the operating
system that you want to install. Select Windows 2012 (64-bit) as the Version.
Click Next.

Step 4: On the next page, select the memory (RAM) that Virtual Box should
allocate every time the virtual machine is started. Change the memory size to
8000 MB and click Next.
Step 5: Accept the default of VDI (Virtual Box Disk Image) for the new virtual
disk and click Next.

Step 6: To prevent your physical hard disk from running full, Virtual Box limits
the size of the image file. Still, it needs to be large enough to hold the contents
of your operating system and the applications you want to install -- for a modern
Windows or Linux guest; you will probably need several gigabytes for any
serious use. The limit of the image file size can be changed later. Select the size
of the virtual disk in GB. Click Create.
Step 7: After having selected or created your image file, again press "Next" to
go to the next page.

Step 8: After clicking on "Finish", your new virtual machine will be created. You
will then see it in the list on the left side of the Manager window, with the name
you entered initially.

Attach the ISO to the VM

Step 1: Ensure the Windows Server 2012 VM Is selected and click Settings.
Step 2: Select Storage. Click on Empty under IDE Controller.
Step 3: In the Attributes section, click on the CD icon to the right of CD/DVD
Drive.
Step 4: Select choose a virtual CD/DVD disk file.
Step 5: Browse to the location where you saved the Windows DVD ISO file and
select it. Click Open.
Step 6: The IDE Controller will no longer be listed as Empty, but instead has the
name of the ISO file. It should look similar to the following graphic.
Installing Windows Server 2012

At this point, we have the following:

Virtual Box installed


An empty VM created for Windows Server 2012
An ISO image file for Windows Server 2012 attached to the VM

Now follow these steps to install Windows Server 2012.

Select the Windows Server 2012 VM in Virtual Box and click Start.

Step 1: Review the message on Auto Capture Keyboard and the host key and
click OK. You will likely see one or more additional messages. Review them and
click OK.

Step 2: When the Install screen appears, click Next. Click Install Now.

Step 3: Select Server 2012 Beta Datacentre (Server with a GUI) and click next.
The Server Core installation includes a command prompt but not a graphical
user interface (GUI).

Step 4: Review the license terms, select the checkbox to accept the license
terms, and click Next.

Step5: Select Custom: Install Windows only (advanced).

The 100 GB drive we created with the VM will be selected as Drive 0 Unallocated
Space. Click Next.
The installation will begin. When prompted, enter a password for the
Administrator account in the Password and Retype password text boxes. Use a
simple password such as Abcd1234. Click Finish.
Installing Guest additions

Step 1: Select Install Guest Additions from the Devices menu, as shown in Figure below

Step 2: When the AutoPlay window is displayed (prompting you to run


the VBoxWindowsAdditions.exe program) as shown in Figure Below, close the
window without installing the Guest Additions. Closing the window leaves the ISO image
used to install the Guest Additions inserted in the virtual CD/DVD drive. You need to install
the Virtual Box Guest Additions from the command line to get all the features we need.
Step 3: Now go to My Computer. You will find Virtual Box Guest Additions.
Double click on the same.

Step 4: When you are prompted, click yes to install the Guest Additions. The Virtual Box
Guest Additions Setup wizard is displayed in a new window, as shown in Figure Below.

Step 5: Click the Next button to move though the various steps of the wizard. Accept all the
default settings and then click Install to install the Guest Additions. If a Windows Security
dialog is displayed that prompts you to install device software (see Figure below for an
example), click Install.
Step 6: When the Guest Additions installation is complete, ensure Reboot now is selected
(see Figure below) and click Finish.

Step 7: The Virtual Box Guest Additions Setup wizard closes and the virtual machine is
rebooted. When the virtual machine reboots, log in.

Adding a Shared Drive to VM

Step 1: Go to Virtual Box Menu bar and select Devices and then shared folders.

Step 2: Click on button


Step 3: Add the folder that you want to share from host OS (PC) in Folder path
Choose Other

Step 4: Choose your shared folder (this folder exists on your host OS)
Step 5: Then name your shared folder name @ Folder Name: Any name will do. In this
example, I choose My Share

Step 6: My Share shared folder now exists (actually, now I have 2 shared folders, one
is the one we just created, and the other one is my actual shared folder that I use for
work).

Step 7: Now logon on your Windows Server 2008 (guess OS).


Installing Active Directory

Step 1: Open Server Manager and click on roles, this will bring up the Roles
Summary on the right hand side where you can click on the Add Roles link.
Step 2: This will bring up the Add Roles Wizard where you can click on next to see a list
of available Roles. Select Active Directory Domain Services from the list, you will be told
that you need to add some features, click on the Add Required Features button and
click next to move on.

Step 3: A brief introduction to Active Directory will be displayed as well as a few links
to additional resources, you can just click next to skip past here and click install to start
installing the binaries for Active Directory.
Step 4: When the installation is finished you will be shown a success message, just click
close.

Configuration of Active Directory

Step 1: Open up Server Manager, expand Roles and click on Active Directory Domain
Services. On the right hand side click on the Run the Active Directory Domain Services
Installation Wizard (dcpromo.exe) link.
Step 2: This will kick off another wizard, this time to configure the settings for you
domain, click next to continue.

Step 3: The message that is shown now relates to older clients that do not support
the new cryptographic algorithms supported by Server 2008 R2, these are used by
default in Server 2008 R2, click next to move on.

Step 4: Choose to create a new domain in a new forest.


Step 5: Now you can name your domain, we will be using a .local domain the reason
why will be explained in an upcoming article.

Step 6: Since this is the first DC in our domain we can change our forest functional
level to Server 2008 R2.

Step 7: We want to include DNS in our installation as this will allow us to have an AD
Integrated DNS Zone, when you click next you will be prompted with a message just
click yes to continue.
Step 8: You will need to choose a place to store log files, it is a best practice to store
the database and SYSVOL folder on one drive and the log files on a separate drive, but
since this is in a lab environment I will just leave them all on the same drive.

Step 9: Choose a STRONG Active Directory Restore Mode Password and click next
twice to kick off the configuration.

Step 10: You will be able to see what components are being installed by looking in the
following box.
Step 11: When its done you will be notified and required to reboot your PC.

Installing SQL Server

Step 1: Double click on the setup File

Step 2: Go to installation tab.


Step 3: Select New SQL Server stand-alone installation or add features to an
existing installation. Following window appears. Click on Ok button.
Step 4: Click skip scan and click Next.

Step 5: Click Next.

Step 6: select evaluation edition and click Next.


Step 7: Accept the license terms and click Next.

Step 8: Select SQL Server Feature Installation Radio button and click Next.

Step 9: Uncheck Analysis services and all reporting services and click Next.

Step 10: Click Next in following window.


Step 11: Select Default Instance and click Next.

Step 12: Click next in the Disk Space requirements window.

Step 13: Click next in the server configuration window

Step 14: Click Add Current User and click next on the Database Engine
Configuration window with the default settings.
Step 15: Keep clicking next until the following window appears and then click
Install.

ADD NEW WINDOWS SERVER


GO TO SETTING AND SELECT NETWORK AND SELECT HOST ONLY
ADAPTOR in both dellone VM and windows server VM
FIND THE IP ADDREESS FROM CMD
In Dellone vm , go to network and sharing centre and then to change
adapter settings.
Go to internet protocol version 4 properties and enter next ip address (eg.
192.168.56.2), subnet mask 255.255.255.0
Default gateway -192.168.56.1
Next go to windows server vm and do the same
Ip aaddress- 192.168.56.3
Subnet mask 255.255.255.0
Default gateway : ip of main system ( 192.168.56.1)
Preferred dns server : ip of the dellone vm ( 192.168.56.2)
Turn off the firewall in both the VMs

Adding an user to AD
Dsa.msc in run
Right click on users and add a new user
add the user to domain admins group

Adding a domain from 2nd vm


Go to my computer And then advanced system settings .
Then go to computer name
Then go to change domain
Give the domain name of the first server( com.test.com)

Installing Dellone

Database System:- INSTALL THE SQL MANAGEMENT STUDIO HERE


START THE SQL AGENT
Install the D1IM in this system also but during installation dont select the server
and job server option
Select the web based component and install then
IT IS IMPORTANT TO NOTE THAT WEB PROTAL IS TO BE INSTALL
IN THE
DATABASE SYSTEM ie. In this system.

AD system: Login through ADMINISTRATION .


Install the AD here using DCPROMO and then check through DSA.MSC.
INSTALL THE D1IM SOFTWARE HERE
SELECT ALL THE OPTION TO INSTALL LKE SERVER, DOCUMENTATION AND ALL.
INSTALL THE SCHEMA USING THE CONFIGURATION WIZARD
BEFORE INSTALLING THE SCHEMA MAKE SURE THAT THE SOL MANAGEMENT
AGENT
IS STARTED IN THE DATABASE SYSTEM AFTER INSTALLING THE SQL MANAGEMENT
ST.
DURING SCHEMA INSTALLATION PROVIDE THE NAME OF THE DATABASE SYSTEM
TO CONNECT TO THE DATABASE SERVER
CONFIGURE THE JOB QUEUE
In the job queue server give the credential of the database machine only
Steps for installation In Database System:

1. START THE SQL AGENT . This Is done by opening SQL server management
studio . Then on the options present in the left side objects explorer tab, there is
a integration services catalog option. Under that , there would be start server
agent option. Right click on it and select Start.
2. Double click on autorun.

3. Go to Installation tab and select Install Web based components.


4. Now select Intsall new web portal.
Installation of D1IM on AD machine
28 September 2016
17:00

1 Open the autorun application.


1 Select the installation option.

1 Install the one identity manager.


1 Click on the next option .
2

1 Accept the license agreement and click on next.

1 Click on the next option.


1 Select all the options in the machine role and click on the next option.
1 Installation will start and after completion click on finish.

SCHEMA INSTALLATION on AD machine


28 September 2016
16:59
1 Open the configuration wizard and select create and install database and
click next.
1 Select the sql server in the left side of connection data.
1 Select the server and enter the user and password, click on next.
1 Enter the database name and click on [ ] in installation source.
1 Select the (signed-D1IM7) and click ok.
1 Following screen appears and click next to continue.
1 Make sure you have started the sql server agent in the sql management studio.

1 Enter the customer full name and password , click next.

1 Schema installation starts.


1 After schema completion click next.
1 Select the computer and local system account option. Select all the options in the
machine role and click on next.
1 Select the designer from the configuration.
1 Enter the password and click connect.
1 Select the base data option.
1 Click on the job server.

Potrebbero piacerti anche