Restart the Apache Tomcat Service.
Muhammad Fahad Raza
Where you get your desired support!
Thursday, 9 February 2012
Friday, 29 April 2011
Installing IIS 7 on Windows Server 2008 or Windows Server 2008 R2
Top of Form
Introduction
You can use Microsoft® Web Platform Installer (Web PI) to easily install Internet Information Services (IIS) and applications that run on IIS. However, if you choose to install IIS manually, you can use this article for guidance.
IIS 7.0 is the Web server role in Windows Server® 2008 and the Web server in Windows Vista®. IIS 7.5 is the Web server role in Windows Server® 2008 R2 and the Web server in Windows® 7. Windows Server 2008 R2 and Windows Server 2008 operating systems have all the IIS features needed to support the hosting of Web content in production environments. Windows 7 and Windows Vista also include IIS features, but the available features depend on the operating system versions.
The Web server was redesigned in IIS 7.0 to enable you to customize a server by adding or removing modules to meet your specific needs. Modules are individual features that the server uses to process requests. For example, IIS 7.0 and IIS 7.5 use authentication modules to authenticate client credentials and use cache modules to manage cache activity. Both versions of IIS also provide:
· A new management interface. The interface lets you quickly and easily change the settings for each Web site. It is also possible to edit the settings of a Web site in a text-based configuration file.
· The ability to share tasks with Web site owners. A hoster with multiple sites can delegate administrative control to developers or content owners.
New in IIS 7.5
IIS 7.0 and IIS 7.5 are together known as IIS 7; however, IIS 7.5 and Windows Server 2008 R2 include several new features not found in IIS 7.0:
· Microsoft® ASP.NET runs on Windows Server 2008 R2 Server Core installations.
· Some of the extensions available to be added to the IIS 7.0 platform are integrated into the IIS 7.5 platform, including:
· FTP publishing.
· Web-based Distributed Authoring and Versioning (WebDAV) publishing.
· Windows PowerShell™ snap-in for IIS.
· IIS Administration Pack modules.
· IIS 7.5 includes configuration logging and tracing (IIS 7.0 does not include any built-in tracing mechanisms for configuration changes).
· IIS 7.5 includes the Best Practice Analyzer, an automated tool for helping to ensure compliance with security best practices.
Before You Begin
Ensure that you have administrative user rights on the computer on which you plan to install IIS 7. Note that by default, you do not have administrative user rights if you are logged on as a user other than as the built-in administrator, even if you were added to the local Administrators group on the computer (this is a new security feature in Windows Server 2008 called Local User Administrator).
Log on either to the built-in administrator account, or explicitly invoke applications as the built-in administrator by using the runas command-line tool.
Note: You can run runas /user:administrator cmd.exe so that every application you run from that command line will be elevated, eliminating the need to use the runas syntax from that command line.
If you are logged on to an account other than the built-in local administrator account, you may see the following security alert dialog box.
Figure 1: Windows® Security (User Account Control)
Install IIS 7.5 on Windows Server 2008 R2
IIS is one of the Windows Server® server roles. IIS 7 can be installed through the graphical user interface (GUI) by using the new Server Manager interface after the Windows Server operating system is installed.
Server Manager provides a single dashboard to install or uninstall server roles and features. Server Manager also gives an overview of all currently installed roles and features. When IIS 7 is chosen from the Server Manager, the basic components and services needed for IIS are automatically selected.
1. Click Start -> All Programs -> Administrative Tools -> Server Manager.
Figure 2: Server Manager
2. In the Server Manager window, scroll down to Roles Summary, and then click Add Roles. The Add Roles Wizard will start with a Before You Begin page. The wizard asks for verification of the following:
a. The administrator account has a strong password.
b. The network settings, such as IP addresses, are configured.
c. The latest security updates from Windows® Update are installed.
3. Select Web Server (IIS) on the Select Server Roles page. An introductory page will open with links for further information.
Note: When you use the Add Roles Wizard to install IIS, you get the default installation, which has a minimum set of role services. If you need additional IIS role services, such as Application Development or Health and Diagnostics, make sure to select the check boxes associated with those features in the Select Role Services page of the wizard.
Figure 3: Select Server Roles
4. Select the IIS services to be installed on the Select Role Services page. Add only the modules necessary. In this case, ASP.NET is selected, and a description of ASP.NET appears in the right pane. Once desired modules are added, click Next.
Figure 4: Select Role Services
5. Add any required role services.
Figure 5: Wizard warning page
6. IIS is now installed with a default configuration for hosting ASP.NET on Windows Server. Click Close to complete the process.
Figure 6: Installation Results page
7. Confirm that the Web server works by using http://localhost.
Figure 7: Default Web site
Note: Install only the absolutely necessary IIS services to minimize the IIS installation footprint. This also minimizes the attack surface, which is one of the benefits of IIS 7.
Use a Script to Install IIS 7.5 on Windows Server 2008 R2
You can also use a script to install IIS 7.5. Note that if you use this script, you get the full IIS 7 installation, which installs all available feature packages. If there are feature packages you do not need, you should edit the script to install only the packages you require. For more information, see Installing IIS 7.5 on Windows Server 2008 R2.
To install IIS 7.5 with a script, type the following at a command prompt:
CMD /C START /w PKGMGR.EXE /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;WAS-WindowsActivationService;WAS-ProcessModel;IIS-FTPServer;IIS-FTPSvc;IIS-FTPExtensibility;IIS-WebDAV;IIS-ASPNET;IIS-NetFxExtensibility;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-ManagementService;MicrosoftWindowsPowerShell
Unattended Installation of IIS 7.0 on Windows Server 2008
Automating the installation of IIS by using unattended scripts is very useful if you need to deploy multiple Web servers and want to ensure that each of the Web servers is set up with identical components and services.
In the Windows Server 2008 and Windows Vista operating systems, Pkgmgr.exe is used for unattended scripts, letting you install or uninstall optional features from a command prompt or scripts. (Note: Pkgmgr.exe replaces Sysocmgr.exe which was used in Windows Server® 2003.) For instructions and an overview of Pkgmgr.exe, see Installing IIS 7.0 from the Command Line. See also Unattended Setup to Install IIS 7.0. Note that to use Pkgmgr.exe, you must make sure you have administrative user rights on the computer.
Install IIS 7.0 on Windows Server 2008
1. To start Server Manager, click Start Menu -> All Programs -> Administrative Tools -> Server Manager. The Server Manager window opens.
Figure 8: Server Manager
2. In the Server Manager window, select Roles. The Role Summary View is displayed.
Figure 9: Start Add Roles Wizard
3. Click Add Roles. The Add Roles Wizard opens. Click Next to select roles to install.
Figure 10: Add Roles Wizard Introduction
4. Select Web Server (IIS).
Figure 11: Select Web Server (IIS) in Add Roles Wizard
5. The Add Roles Wizard notifies you of any required dependencies; since IIS depends on the Windows Process Activation Service (WAS) feature, the following informational dialog box appears. Click Add Required Role Services to continue.
Figure 12: Add Dependencies
6. The Web Server is now selected for install. The Select Server Roles dialog box opens. Click Next to continue.
Figure 13: Selected Web Server (IIS)
7. The following dialog box and information appears. Click Next to continue.
Figure 14: Introduction to Web Server dialog box
8. The Add Roles Wizard displays a list of all IIS 7.0 features available to install as shown below. Note that features comprising the default install are pre-selected.
Figure 15: Web Server Features Listed
9. To install just the IIS 7.0 default features, click the Install button, and then proceed to Step 14. If you need to install additional features, proceed to step 10.
10. For this example, we install additional IIS features. Select the check box for ASP.NET. The Wizard warns if adding an IIS feature will also cause other features to be installed.
Figure 16: Dependency Information
11. Click Add Required Role Services to continue.
12. Continue selecting additional IIS Role Services features to install.
Figure 17: Add Features For Web Server
13. When you have selected all the features you require, click Next to continue.
14. The Wizard provides a summary of what will be installed.
Figure 18: Summary of Features
15. Click Install to continue. The Installation Progress dialog box opens.
Figure 19: Install Progress
16. When the IIS 7.0 installation is complete, the following dialog box opens. Click Close to return to the Server Manager.
Figure 20: Installation Summary
17. You can now perform a quick check to verify that IIS 7.0 is installed. Start the Windows® Internet Explorer® Web browser, and enter the address http://localhost. You should see the default IIS "Welcome" page.
Bottom of Form
Friday, 15 April 2011
Active Directory Disaster recovery
Site:
Introduction:
Failover
Active Directory (DC)
Operating System: Windows server 2003
Site: ADC (Additional Domain Controller)
Operating System: Windows server 2003
Introduction:
A directory is a collection of information that is organized in a particular way.The organizational method makes sorting through the information fast and easy so you can find the desired data.With a directory, users can perform search queries and find network information quickly and easily.The directory contains information
about objects such as users, groups, computers, domains, organizational units and security policies. This information can be published for use by users and administrators. The directory is stored on servers known as domain controllers and can be accessed by network applications or services.
Active Directory is a collection of supporting files including transaction logs and the system volume, or Sysvol, that contains logon scripts and group policy
information. It is the services that support and use the database, including Lightweight Directory Access Protocol (LDAP), Security protocol, Replication processes, and the File Replication Service (FRS).
There are five different FSMO roles that cover the replication exceptions and process handling exceptions of multimaster replication.The Five FSMO Roles:
Schema Master
Domain Naming Master
Relative ID (RID) Master
PDC Emulator
Infrastructure Master
Global Catalogue: Global catalog is the first Domain Controller in each AD forest.
- Schema Master: The schema master domain controller controls all updates and modifications to the schema. To update the schema of a forest, you must have access to the schema master. There can be only one schema master in the whole forest.
- Domain naming master: The domain naming master domain controller controls the addition or removal of domains in the forest. There can be only one domain naming master in the whole forest.
- Infrastructure Master: The infrastructure is responsible for updating references from objects in its domain to objects in other domains. At any one time, there can be only one domain controller acting as the infrastructure master in each domain.
- Relative ID (RID) Master: The RID master is responsible for processing RID pool requests from all domain controllers in a particular domain. At any one time, there can be only one domain controller acting as the RID master in the domain.
- PDC Emulator: The PDC emulator is a domain controller that advertises itself as the primary domain controller (PDC) to workstations, member servers, and domain controllers that are running earlier versions of Windows. For example, if the domain contains computers that are not running Microsoft Windows XP Professional or Microsoft Windows 2000 client software, or if it contains Microsoft Windows NT backup domain controllers, the PDC emulator master acts as a Windows NT PDC. It is also the Domain Master Browser, and it handles password discrepancies. At any one time, there can be only one domain controller acting as the PDC emulator master in each domain in the forest.
1. Primary Domain controller Crashed
2. ADC is running only which is not operational
Steps To Make Global Catalogue for ADC
1. On the domain controller where you want the new global catalog, start the Active Directory Sites and Services snap-in. To start the snap-in, click Start, point toPrograms, point to Administrative Tools, and then click Active Directory Sites and Services. In the console tree, double-click Sites, and then double-click sitename.
2. Double-click Servers, click your domain controller, right-click NTDS Settings, and then click Properties.
3. On the General tab, click to select the Global catalog check box to assign the role of global catalog to this server.
Restart the domain controller (Not Necessary)
Steps to Transfer FSMO roles
1. Go to run
2. Type cmd
3. Type “ntdsutil”
4. Then go to roles by typing “roles”
5. Then go to maintenance “fsmo maintenance”
6. Then make connection to domain controller “connections”
7. Then connect to own ADC domain controller that is running whom you want to make operational server “connect to server icmphbprgra” (Running Domain controller)
8. If connection succeeded type “quit”
9. Then start transfer ing roles
10. seize domain naming master (If prompt for warning press Yes)
11. seize pdc (If prompt for warning press Yes)
12. seize rid master (If prompt for warning press Yes)
13. seize schema master (If prompt for warning press Yes)
ADC is operational now and set to primary DC.
Chill
HP LaserJet Printer not allows Printing Multiple Copies
This problem is caused by Mopier Mode being enabled by default. The idea of Mopier Mode is to minimise computer and network traffic by sending only 1 copy to a printer equiped with suitable internal memory. That stored copy is then used to produce the multiple copies. Most HP Laserjets do not have suitable internal memory and so only the one copy sent by the computer gets printed. To disable Mopier Mode:
Click Start
Click Start
- Click Devices and Printers
- Right click your Laserjet Printer
- Select Printer Properties
- Click the Device Settings Tab
- Scroll down to the bottom
- If necessary, expand Installable Options
- Click on Mopier Mode
- Select Disable in the selection box that appears
- Click Apply
How to install CRM 4.0
Steps:
- Windows Server 2003 with Service pack2
- Install IIS
- Join Domain
- Create OU for CRM
- Install SQL
- Run CRM setup
- Windows Server 2003 with Service pack2
- Install IIS
- Join Domain
- Create OU for CRM
- Install SQL
- Run CRM setup
Subscribe to:
Posts (Atom)