Apache Server on MS Windows

Using Apache HTTP Server 2.2 on Microsoft Windows Server 2003/2008.

1. Download Win32 Binary and Install
httpd-2.2.21-win32-x86-openssl-0.9.8r.msi

Enter DNS and Server Name
Select for All Users on Port 80, as a Service.
Depault path is:
C:\Program Files (x86)\Apache Software Foundation\Apache2.2

During the installation, Apache will configure the httpd.conf
A test html file is created and it’s located in the default “DocumentRoot”
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\index.html

2. To Change the DocumentRoot, edit httpd.conf in the conf folder.
Change the path, for example C:\wwwApache
DocumentRoot “C:/wwwApache
Note: the backslash is replaced by forward slash
Also edit the Directory <Directory “C:/wwwApache”>

3. Copy the index.html to c:\wwwRoot

4. Restart the Apache Server

5. Test the installation using a web browser:
http://localhost/

It should display “It Works

Be the first to comment  Posted by Ferdy - September 27, 2011

Categories: Apache Server   Tags:

Windows Installer

Windows Installer V5.0.7600.16385
msiexec /Option Product.msi (Optional Parameter)

Example:
msiexec.exe /i Product.msi /q

You can control the install directory by passing it as a parameter to the install.
For example, to install to e:\SomeDirectory
msiexec.exe /i Product.msi /q INSTALLDIR=e:\SomeDirectory

Display Options:
/quiet – Quiet mode, no user interaction
/passive – Unattended mode – progress bar only
/q[n|b|r|f] – Sets user interface level
n – No UI
b – Basic UI
r – Reduced UI
f – Full UI (default)
/help – Help information

Be the first to comment  Posted by Ferdy -

Categories: MS Windows   Tags:

vSphere 5 Command-Line Interfaces

VMware vSphere 5.0 Command-Line Interfaces vCLI ESXi Shell Commands

Enable ESXi Shell under “Troubleshooting Mode Options”
Ctrl-Alt-F1 to go the ESXi Shell
Ctrl-Alt-F2 back to the main screen

List NICs and their settings:
# esxcfg-nics -l

vSwitch Configuration, example vmnic2:
# esxcfg-vswitch –a vswitch102
# esxcfg-vswitch –L vmnic2 vswitch102
Note: vswitch102 can be something besides 102.

FCoE cli commands
Help, shows all options:
# esxcfg-fcoe -h

List FCoE-capable NICs with detail information
# esxcfg-fcoe -N

To Initiate FCoE adapter discovery:
# esxcfg-fcoe -d vmnicX (where X is the vmnic number).

Enable an FCoE-capable NIC if it’s disabled:
# esxcfg-fcoe -e vmnicX

Disbable an FCoE-capable NIC (reboot required):
# esxcfg-fcoe -D vmnicX

iSCIS options
To enable software iSCSI:
# esxcfg-swiscsi -e
other options: -d (Disable), q (Quaery), -s (scan)

To list all storage devices:
# esxcfg-scsidevs -l

esxcli
esxcli (option) (namspace+ cmd) (cmd option)

For example Network list:
esxcli network nic list

Available Namespaces:
fcoe
hardware
iscsi
network
storage
system
vm

Displays the latest versions of installed drivers:
# cat /proc/drivers

Lists loaded module:
# esxcfg-module -l

Be the first to comment  Posted by Ferdy - September 12, 2011

Categories: VMware   Tags:

« Previous PageNext Page »