Automic How to Install & Configure Apache on Windows Apache Configuration on Windows for Application Manger Installation Guide and Notes Copyright © 2007 Automic Software, Inc. All Rights Reserved. Printed in USA Restricted Rights Legend Use, duplication, or disclosure of the Programs is subject to restrictions stated in your contract with Automic Software. Use, duplication, or disclosure of the Programs by Government is subject to restrictions for commercial computer software and the Programs shall be deemed to be licensed with Restricted Rights under Federal Law. The information contained in this document is subject to change without notice. Automic Software does not warrant that this documentation is error-free. If you find errors in this document, please contact Automic Software Documentation. Automic is a registered trademark of Automic Software. All other product names and services identified throughout this book are trademarks or registered trademarks of their respective companies. Automic Software, Inc. 14475 NE 24th Street Bellevue, WA 98007 USA Tel: +1.(425).644.2121 Fax: +1.(425).644.2266 Email: office.us(at)Automic.com Automic Software GmbH c/o SAP PartnerPort Walldorf Altrottstrasse 31 69190 Walldorf/Baden Germany Tel: +49.(0)6227.381.180 Fax: +49.(0)6227.381.200 Email: office.wdf(at)Automic.com Prepared by: Souny Barati Title : Sr Consultant at CA-Automic Software Inc. Date: September 13, 2017 Souny Barati 2 Table of Contents Apache for Application Manager v9.x..........................................................................................4 Assumptions.............................................................................................................................4 Document Notes.......................................................................................................................4 Procedures to Install/Configure Apache2.4.x...........................................................................4 Downloading Apache binary (pre-compiled) files for Windows........................................4 Steps to Install and Configure Apache 2.4 VC15.........................................................................5 Installing Apache as a Service..................................................................................................6 Removing an Apache service...................................................................................................7 Access Application Manger via Apache2.4.x...............................................................................8 Installing Apache on its own Server.............................................................................................9 Setting up SSL/HTTPS server on Windows...............................................................................11 Creating a self-signed SSL Certificate using OpenSSL.........................................................11 Configuring Apache to run SSL/HTTPS server.....................................................................14 Souny Barati 3 Apache for Application Manager v9.x This document will show you how to install and configure Apache on new version of Windows for Application Manger V9.x. Assumptions This document assumes that: You have Windows server 64 bit, and you have installed lasted Java JRE. Automic Application Manager V9.x have been properly installed and configured on Windows server. Assumption is that you are going to install Apache on the same server as Application Manager Master server. The installation will be done by Automic Windows OS user with local administration, and domain user privileges. For more detail information about Apache please refer to official Apache website project. https://httpd.apache.org/docs/current/platform/windows.html#down Document Notes The examples in the document illustrate installation and configuration of Apache 2.4 on Windows 2008 Server using pre-compiled 64-bit binaries from Apache Lounge. These steps should apply to other Apache distributions, Windows versions, and pre-compiled binary sources. Procedures to Install/Configure Apache2.4.x The Apache HTTP Server Project itself does not provide binary releases of software, only source code. Individual independent developers may provide binary packages as a convenience, but it is not a release deliverable. If you cannot compile the Apache HTTP Server yourself, you can obtain a binary package from numerous binary distributions available on the Internet. Popular options for deploying Apache httpd, and, optionally, PHP and MySQL, on Microsoft Windows, include: Downloading Apache binary (pre-compiled) files for Windows ApacheHaus Apache Lounge BitNami WAMP Stack WampServer XAMPP Souny Barati 4 Steps to Install and Configure Apache 2.4 VC15 SECTION 1: Pre-compiled binaries must be downloaded from a trusted Apache distribution site such as Apache lounge web site. (http://www.apachelounge.com/download/): 1. Apache 2.4.27 Win64: httpd-2.4.27-Win64-VC15.zip 2. the latest C++ Redistributable Visual Studio 2017 : vc_redist_x64 (VC_redist.x64.exe) After downloading these two zip files you need to extract them on a temp directory (e.g. C:\temp). In the temp directory you will see the Apache24 folder; move /copy the Apache24 folder to the root of the Windows directory. (e.g. C:\Apache24). This is your new Apache 2.4.x application web server. After copying the folder, you need to make Apache run as a service on your Windows. To do this the Automic OS user must have two user local policy granted: A. Act as part of operating system B. Log on as a service Souny Barati 5 Installing Apache as a Service Apache comes with a utility called the Apache Service Monitor. With it you can see and manage the state of all installed Apache services on any machine on your network. To be able to manage an Apache service with the monitor, you have to first install the service (either automatically via the installation or manually). You can install Apache as a Windows NT service as follows from the command prompt at the Apache bin subdirectory: C:\Apache24\bin> httpd.exe -k install If you need to specify the name of the service you want to install, use the following command. You have to do this if you have several different service installations of Apache on your computer. If you specify a name during the install, you have to also specify it during any other -k operation. C:\Apache24\bin> httpd.exe -k install -n "MyServiceName" Open the Command Prompt as Administrator, and change directory to your new Apache24 bin directory (e.g. C:\Apache24\bin), then issue one of the command line to install Apache services listed above depending on the service you want to install. If you get an error during the installation of the Apache service you need to execute the second file that you have downloaded (VC_redist.x64.exe). This file will fix your issue. Souny Barati 6 Removing an Apache service If you made a mistake and need to remove the Apache service, you need to issue this command on the command line. C:\Apache24\bin> httpd.exe -k uninstall The specific Apache service to be uninstalled can be specified by using: C:\Apache24\bin> httpd.exe -k uninstall -n "MyServiceName" Now you can start your Apache service either from command line or Windows services: C:\Apache24\bin> httpd.exe -k start -n "MyServiceName" This concludes installation of Apache2.4.x on Windows. The next step is to configure the Apache2.4.x to access Application Manger v9.x. Souny Barati 7 Access Application Manger via Apache2.4.x SECTION 2: In order to have access to the Application from newly installed Apache2.4.x, you need to modify httpd.conf file in Apache conf directory (e.g. C:\Apache24\conf\httpd.conf ) If you install Apache2.4.x in this directory in this path (e.g. C:\Apache24\), you need fewer modifications in httpd.conf file and in other Apache files. Assuming you have installed Apache2.4.x on the C:\Apache24\ directory, you need to modify and add a few directives in httpd.conf file. Starting from top of the httpd.conf ServerRoot "c:/Apache24" Listen 5050 (Assuming when you have installed the Application Manager (AMv9) you assigned the Apache port to 5050 default for AMv9. If you choose to have a different port you have to make sure to modify Master C:\Automic\Master\site\awenv.ini and all the jnlp files on C:\Automic\Master\web\ ServerAdmin [email protected] (if you want to receive an email from Apache you can modify this line and add your support group email address.) ServerName WIN2008VM (add the hostname of this server). Add this directive right after the first existing directive in httpd.conf, to allow you to have access to the Application Manager web directory. <Directory "C:/Automic/Master/web"> AllowOverride none Require all granted </Directory> Note: the path in the Directory has to be exactly as outlined above with forward slash (/) instead of the backslash (\) normally used for Windows paths. Add the following lines to the end of the httpd.conf as shown below; most values are case sensitive. You just need to modify your Automation Engine name and path. Souny Barati 8 ### Automic Alias Directive. alias /AUTOPROD/ "C:/Automic/Master/web/" AddType application/x-java-jnlp-file JNLP AddType application/x-java-jnlp-file JNLP jnlp AddType application/x-java-jnlp-file JNLP jnlp AddType text/html .cfm AddDefaultCharset utf-8 After you have modified the file, save it and restart the Apache24 service from Windows services. Now you can start AMv9 from your web browser application “Firefox “ like
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages16 Page
-
File Size-