Total Pageviews

Thursday, December 22, 2011

binding Apache2 to different port than 80

To configure apache2 to listen on different port than 80 (default port)

http://ubuntuforums.org/showthread.php?t=1329607

open
sudo vi /etc/apache2/ports.conf

NameVirtualHost *:81
Listen 81
<IfModule mod_ssl.c>
    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
    Listen 443
</IfModule>

execute command sudo service apache2 restart

1. apt-get install tomcat7
2. apt-get install mysql-server
3.

Converting PEM key to PPK in Ubuntu

Converting PEM key to  PPK

For putty to connect the amazon ec2 instance, it requires the security key file to be in ppk format.

Amazon provides the key file in PEM format.

To convert PEM key to PPK format in ubuntu, the command to execute on Ubuntu console(terminal):