Install and Configure Apache 2 to Support SSL Certificate

14 12 2009

1. Backup Currently Running IP Configuration File
cp /etc/network/interfaces /home/sugizo/bkup/interfaces.ori

2. Edit IP Address Configuration File
sudo vim /etc/network/interfaces

auto eth0
iface eth0 inet static
address         192.168.44.3
netmask         255.255.255.0
gateway         192.168.44.2
network         192.168.44.0
broadcast       192.168.44.255

auto eth1
iface eth1 inet static
address         18.18.18.3
netmask         255.255.255.0
gateway         192.162.44.2
network         18.18.18.0
broadcast       18.18.18.255

auto eth2
iface eth2 inet static
address         88.88.88.3
netmask         255.255.255.0
gateway         192.168.44.2
network         88.88.88.0
broadcast       88.88.88.255

3. Backup Currently Hostname File Configuration
cp /etc/hostname /home/sugizo/bkup/hostname.ori

4. Edit Hostname File Configuration
sudo vim /etc/hostname

karmic.ubuntu64.vmw

5. Backup Currently Host Addresses Configuration
cp /etc/hosts /home/sugizo/bkup/hosts.ori

6. Change Host Addresses Configuration
sudo vim /etc/hosts

127.0.0.1       localhost
127.0.1.1       karmic.ubuntu64.vmw     karmic
192.168.44.3    karmic.ubuntu64.vmw     karmic
18.18.18.3    karmic.ubuntu64.vmw     karmic
88.88.88.3    karmic.ubuntu64.vmw     karmic

7. Reboot the Machine
sudo reboot

8. Update List Packages
sudo apt-get update

9. Install Apache 2 Web Server, SSL Certification
sudo apt-get install apache2 ssl-cert

10. Test Apache
Open Your Browser Type : http://karmic
or
http://192.168.44.3

11. Create a Certificate SSL for Apache
sudo mkdir /etc/apache2/ssl
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

12. Enable SSL Module on Apache 2
sudo a2enmod ssl
sudo /etc/init.d/apache2 restart

13. Create Virtual Host for SSL Website
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl

14. Edit Virtual Host for SSL Website Configuration
sudo vim /etc/apache2/sites-available/ssl

NameVirtualHost *:443
<virtualhost *:443>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
ServerSignature On
ServerAdmin
sugizo@japan.com

15. Enable SSL Virtual Host
sudo a2ensite ssl
sudo /etc/init.d/apache2 reload
sudo /etc/init.d/apache2 restart

16. Test Apache with SSL
Open Your Browser Type : https://karmic
or
https://192.168.44.3

Here my first 8 point is same as my this post .





How to install Google Chrome browser on Fedora 11

1 09 2009

Installation of Chromium browser can be done in both ways – either manually or using the YUM updater. These packages have been specially built for Fedora 11 and are available for both 32 bit and 64 bit systems.

Install Using Packages (RPMs)

RPMs of the 32 bit and 64 bit versions of both Fedora 10 and Fedora 11 operating systems are available at

http://spot.fedorapeople.org/chromium/. Or   http://www.google.com/chrome

Download and install them by either double clicking the RPMs or by using the

rpm -ivh <package-name> command. If you are looking for source RPMs, these can also be found at the link above.

Install Using YUM

One advantage of installing Chromium via YUM is that you will get updates to Chromium automatically. Also there won’t be any dependency problem while installing. All you need to do is just type the content given below into  filenamed chromium.repo .

[chromium]
name=Chromium Test Packages
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/
enabled=1
gpgcheck=0

and save it to your /etc/yum.repos.d directory. Once done, then you can install Chromium by using the command: yum -y install chromium

Special note for 64bit version users

There have been many issues with the 64 bit version of the Chrome Browser.

So in order to fix the issue all you need to do is just install this missing package. To do so, you need to type the following command in a terminal:

sudo yum -y install nss-mdns

After installation, you must restart your Google Chrome browser for the changes to be applied.

fedora-chromium

Screenshot-1

Chromium can be launched from Applications > Internet > Chromium Web Browser. You can also alunch it from the terminal using the command chromium-browser. Since this install is a development build, some advanced functionality such as Support for Plugins(including Flash Plugin), Printing and support for Google Gears will not be available until it’s next release.





How-To use Facebook Chat without a browser using pidgin.

1 09 2009

Facebook`s Chat feature really makes Facebook an all-in-one social networking website. People have started using the Facebook Chat much as they use the Google Chat. The only only downside to Facebook`s chat is that you donont have a client for the chat feature. But, now you can have your favourite Facebook Chat right on a client and chat with your Facebook friends without even logging into the Facebook website. What you will need is a chat client called Pidgin and the facebook-pidgin-chat plugin. Follow these simple steps to setup Facebook chat on the Pidgin chat client. I have given separate steps for various distros to set the Facebook-Chat-on-Pidgin working:

Install Pidgin Messengerpidgin-fb

su -c ‘yum -y install pidgin’

Install Facebook Chat plugin for Pidgin in fedora

wget http://pidgin-facebookchat.googlecode.com/files/libfacebook-1.47.so && mkdir ~/.purple/plugins && cp libfacebook-1.47.so ~/.purple/plugins/libfacebook.so

Install Facebook Chat plugin for Pidgin in ubuntu

sudo dpkg -i http://pidgin-facebookchat.googlecode.com/files/pidgin-facebookchat-1.47.deb

You should check the plugin download repository and install instructions for setting up Facebook chat on Pidgin for other platforms.





How to install Google Chrome browser in Ubuntu?

15 08 2009

I believe most of you have heard of Chrome before. Chrome is Google’s promising browser, based on Chromium project, which is considered to be really fast. Until recently Chrome was available only for Windows and Mac users. But now Google has released a version of Chrome for developers in order to test it. Of course I was curious to see it running natively on Linux (without using wine or crossover office) and therefore I installed it on Ubuntu 9.04 Jaunty Jackalope. According to the developers site:

Chrome requires Intel Pentium 4 / Athlon 64 or later CPU, and 32 or 64 bit Ubuntu 8.04 or later, or 32 bit Debian 5. Support for other Linux distributions is planned; unpacking the .deb files by hand may work.

Installing Google Chrome will add the Google repository
so your system will automatically keep Chrome up to date. (If you don’t want Google’s repository, do

sudo touch /etc/defaults/google-chrome

before installing the package.)

Note: The Linux build still lacks certain privacy features, and is not appropriate for general consumer use.

To test it on your own download and install the appropriate package depending on your computer’s Linux installation. Clicking on it should do the job

**Note: you can do this also manually by downloading the appropriate package, open a terminal, cd to where you keep it and type:

sudo dpkg -i google-chrome-unstable*

You can find it under Applications > Internet -> Chromium Web Browser .

//

Now you can enjoy Google Crhome browser in Linux!







Follow

Get every new post delivered to your Inbox.