Sharing the Point

Office 365, SharePoint, Project Server – Support Blog

Posts Tagged ‘Windows Server 2008 R2’

Installation of Exchange Server 2010 Step by Step

Posted by Ashraf on February 1, 2011

Tis post is moved to,

http://mroffice365.com/2011/02/installation-of-exchange-server-2010-step-by-step-3/

Posted in Office 365, System Administration | Tagged: , , | Comments Off on Installation of Exchange Server 2010 Step by Step

How to Install Certificate Enrollment Web Service

Posted by Ashraf on December 8, 2010

After my previous post on How to Install Certificate Services on Windows Server 2008 R2.

You’ve now got a Certificate Authority- Root CA, that is capable of issuing certificates to your servers and users.  You can go back through the wizard and install additional CA components, for example, that will allow you to issue certificates to users and computers that are/are not part of your domain.  That option is called ‘Certificate Enrollment Web Service’. Go through the following steps:

1.       Select Add Role Services from the Active Directory Certificate Services Role. Wizard will guide you through.

2.       From the Select Role Services choose Certificate Enrollment Web Service, Certificate Enrollment Policy Web Service and click Next.

Select Role Services

Select Role Services

3.       For Specify CA for certificate Enrollment Web Services; leave the default CA settings (i.e. CA name), Next

Specify CA for certificate Enrollment Web Services

Specify CA for certificate Enrollment Web Services

4.       Select Windows Integrated Authentication Type, Click Next

Windows Integrated Authentication

Windows Integrated Authentication

5.       Before doing this step, please add your administrator account to the IIS_USER group

6.       Specify service account credentials for certificate enrollment web service; add your administrator account and password. Click Ok then, Next

service account credentials

service account credentials

7.       Installation result page will show you the result and close the page after you are informed.

installation result page

installation result page

These are all for installing a Root Certificate Authority (CA) and Enrollment web service for Microsoft Active Directory Certificate Service.

Hope it helps!!

Posted in Digital Certificate - SSL, System Administration, Windows Server | Tagged: , , , , | Comments Off on How to Install Certificate Enrollment Web Service

How to Install Certificate Services on Windows Server 2008 R2

Posted by Ashraf on December 6, 2010

This post is moved to,

http://mroffice365.com/2010/12/how-to-install-certificate-services-on-windows-server-2008-r2/

Posted in Digital Certificate - SSL, System Administration, Windows Server | Tagged: , , , , , , | 1 Comment »

How to Configure IIS 7 and Tomcat Redirection on Windows Server 2008 (64 Bit)

Posted by Ashraf on September 20, 2010

Objective: To provide a Secure Server Environment and Running non IIS compatible extensions like jsp in IIS Web server.

Check Before you Start:

JDK 1.6
IIS 7.5
Tomcat 6.0.18
Isapi_redirect.dll (64bit) version 1.2.28

Steps to follow:

Install Jdk 6

Download and install JDK 6 with its default setup options.
Now, go to Computer>Properties>Advanced System Settings>Advanced Tab>Environment Variables

Set System Variables (JAVA_HOME and CATALINA_HOME)

Click New, enter name as JAVA_HOME and your jdk installation path as variable value; click OK.

set java_home variable

set java_home variable

Select PATH and click Edit. Add the java installation path after the current value with a semicolon (;). Click OK, when done.

set java path

set java path

Click New, enter name as CATALINA_HOME and your Tomcat installation path as variable value; click OK.

set catalina_home

set catalina_home

Install Tomcat 6.0.18

Install Tomcat with default settings and test running the URL as http://localhost:8080

tomcat running on port 8080

tomcat running on port 8080

Tomcat setup is working on port 8080.

Setting up Registry value

1. Download the isapi_redirect.dll from the Tomcat site for Windows Server 2008 R2 64 bit from the following URL.
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.28/amd64/

2. Rename the isapi_redirect-1.2.28.dll to isapi_redirect.dll
3. Copy the isapi_redirect.dll to C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\
4. Run Regedit as Administrator
Find the key [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\
Make one new key entry as “Jakarta Isapi Redirector” then another new key entry name “1.0” then under that make 6 new string values.

setup registray value for Isapi_Redirect dll

setup registray value for Isapi_Redirect dll

NOTE: If “Apache Software Foundation” folder does not exist in the hierarchy mention here then create the path manually. So, the hierarchy will resemble the following.
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]

Registry Key  and  Value

@=

extension_uri = /jakarta/isapi_redirect.dll

log_file = C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\logs\isapi_redirect.log

log_level = error

worker_file = C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\workers.properties.minimal

worker_mount_file = C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\uriworkermap.properties

Install and Configure IIS Role

1. Add iis role

Add IIS Features

Add IIS Features

Add IIS Features

Add IIS Features

Click Next and Finish the installation.
You can check wheter the iis works or not by addressing your browser to http://localhost.

iis7 running at localhost

iis7 running at localhost

Now the IIS works fine, we will go to the next steps.

2. Setup isapi & cgi restriction at iis server

A. Open IIS Manager and Select Your Server
B. From the features view open ISAPI and CGI Restrictions, Click Add from the Actions bar

Setup isapi & cgi restriction

Setup isapi & cgi restriction

C. For ISAPI or CGI Path click the … Button and choose your isapi_redirect.dll file at your tomcat installation folder (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\).

Setup isapi & cgi restriction

Setup isapi & cgi restriction

D. In the Description Field write “isapi_redirect”
E. Tick the Allow extension path to execute and click OK.

3. Enable isapi filters at iis default website

F. Select Default Website and double click ISAPI Filters to open it. Click Add

Enable isapi filters at iis default website

Enable isapi filters at iis default website

G. Enter “jakarta” in the filter name And click …Button to to select the isapi_redirect.dll.

H. Click open to select the dll and Ok to close the window when done.

4. Creating Virtual directory and handler mappings

I. Right click to the Default website and choose Add Virtual Directory…

J. Enter “jakarta” in the Alias field and choose the path of the “isapi_redirect.dll” file (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\) as Physical path.

set virtual directory path

set virtual directory path

K. Click ok when done.
L. Now, Open Handler mappings by selecting the virtual directory “Jakarta”.

jakarta handler mapping

jakarta handler mapping

M. Select Edit Feature Permission from the Actions bar and Check All (Read, Script, and Execute) and click OK.

Creating properties file

Now create two properties FILE AS follows:
1. Create a file named “workers.properties.minimal” in the “conf” folder which you can find in the tomcat installation folder.
2. Insert the following lines into this file:

worker.list = worker1
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.type=ajp13

3. Create another file named “uriworkermap.properties” in the same directory. Insert this line and save.

/*=worker1

Test and Run

4. Restart the Tomcat Service and the IIS Web-Server

5. Test the configuration by trying to access the iis site(http://localhost), if you get Tomcat site then you are done successfully.

tomcat running at iis

tomcat running at iis

Hope this helps.

Posted in System Administration, Windows Server | Tagged: , , | 56 Comments »

 
%d bloggers like this: