Apache | Apache2 | Httpd

How To Install Certificate in Linux/Unix Servers Apache Webserver

In this tutorial i assume you have generate a CSR and Key before. If you still don't have a CSR and Key you can see copy and paste this url below and generate your csr and key first before you can install your brand new purchase ssl from verisign/geocert, etc.

http://wowtutorial.org/en/tutorial/34.html <-- This is a link How To Generate SSL In Linux/Unix Server.

How To Export Cer To PFX Certificate From Apache To IIS

In order to export the Certificate, Private Key and any intermediate certificate as a pfx file use the command below:

Login as root into your Linux server.

[code]$openssl pkcs12 -export -in my.cert -inkey my.key -certfile my.csr -out my.pfx[/code]

Enter Export Password : password123 (ex : password123)

From the above command it will build a my.pfx file from my.cert and my.key

Remember to change the names to match your file names

Example my.cert, my.key and my.csr :

Import IIS pfx file cert to Apache or other non-Windows-based servers

Most servers use plaintext certificate files. The certificate files that you download from your digicert/verisign and other account are already in this format. However, the private key that was generated on your IIS server is not yet in this format. This same private key is required for your certificate to function properly on your non-Windows-based server. To export the private key from the Windows IIS server to your non-windows-based machine, you must extract the private key from a Windows .pfx backup certificate. To do this you will use the OpenSSL utility to extract the private key from the .pfx backup file:

Login into your server via SSH with root access: 
[code]$openssl pkcs12 -in mypfxfile.pfx -out outputfile.txt -nodes [/code]

The above command would have created a text file named outputfile.txt. Open this file with a text editor and you will see the private key and cert listed in one file like below :

Configure Apache2 VirtualHost To Running CGI / Perl Script

In This Tutorial We will configure Apache2 webserver to Running a CGI/Perl Script

First We assume apache2 webserver is up and running with virtual host configured on it.

Let's start configure apache2 webserver to support cgi
Login into the server via ssh


Create a directory and name it cgi-bin

[code]sentono@athena:~$mkdir -p /home/www/inferno.web.id/public_html/cgi-bin[/code]

Create a file index.pl

Configure Apache2 VirtualHost in Ubuntu

What is Apache2 VirtualHost?

Apache2 VirtualHost is use for multidomain purpose. We need to configure 2 VirtualHost name to each domain, so we can see a different website from each domain.

First I assume we have installed apache2 webserver and it's running smootly in Ubuntu Server.

To configure apache webserver VirtualHost in Ubuntu server is different from other linux OS like fedora/redhat/centos. In Ubuntu apache2 have separated the virtual host into sites-available and sited-enabled directory.

Install Apache2, PHP5, MySQL5 and Phpmyadmin Ubuntu/Debian

Apache, PHP, Mysql is a software to running a dynamic website and as a webserver.
Those software is an opensource package, Apache is webserver, Mysql is database server and php is a programming language.

In this tutorial i will install Apache2, PHP5, MySQL5 and Phpmyadmin into a freshly build ubuntu servers.

So first thing that we need to prepare is:
1. A server with ubuntu installed on it.
2. Install an Apache2 webserver

Login into ubuntu server via ssh
[code]sentono@athena:~$sudo apt-get install apache2[/code]

3. Install a PHP packages

Facebook Fans