Administration Guide › Provisioning Resources › Service Provisioning › How to Deploy a Wiki Web Page › Define Applications for Wiki › Define Apache HTTP Server
Define Apache HTTP Server
Apache HTTP Server is the host on which the wiki will be running. You install the web server as a service.
Follow these steps:
- Click Resources, and in the Explore tree, right-click OnDemand Services, and select New Application.
The Define an Application wizard opens in the Application Details panel.
- Specify the Name, Version, and Vendor for the application.
- Specify the location of the application files.
- Click Next.
The System Requirements panel opens.
- Set the following recommended values:
- Number of CPUs – 1
- Memory – 512 MB
- Disk Space – 5 GB
- Operating System – All Microsoft Windows Server versions
- Click Next.
The Configure Installation Actions panel opens. You will define four installation actions: Disable Windows Firewall, Disable Windows Firewall on Windows 2003, Install Apache Server, and Reboot.
- Click + to define the Disable Windows Firewall action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
netsh advfirewall set currentprofile state off
- Click Next.
- On the Define Installation Action Options panel, only check the preview and click Finish.
The action is saved.
- Click + to define the Disable Windows Firewall on Windows 2003 action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
netsh advfirewall set opmode disable & if "%errorlevel%"=="1" exit /b 0
- Click Next.
- On the Define Installation Action Options panel, only check the preview and click Finish.
The action is saved.
- Click + to define the Install Apache Server action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
cmd.exe /c start /w msiexec.exe
- Click Next.
- On the Define Installation Action Options panel, add the following four options:
/i %CD%\httpd-2.2.22-win32-x86-openssl-0.9.8t.msi
INSTALLDIR=C:\Apache
SERVERADMIN=admin@localhost.com
SERVERNAME=%LOCALHOST%
AgreeToLicense=1
ALLUSERS=1
RebootYESNo=No
- Check the action preview and click Finish.
The action is saved.
- Click + to define the Reboot action.
- On the Select Installation Action panel, in the Action field, input the command to execute:
cmd.exe /c shutdown -r -t 20 & exit /b 1641
- Click Next.
- On the Define Installation Action Options panel, only check the preview and click Finish.
The action is saved.
- Click Next, and then Finish.
The Apache HTTP Server application is saved.
Copyright © 2013 CA.
All rights reserved.
|
|