Posts

Showing posts from August, 2009

Digital Signature For Outlook

Recently, I am playing with Digital Signature set up for Outlook 2003. To set that up, you need to create a Digital Certificate. I found a free Personal Email Certificate provide Thawte (www.thawte.com). Thawte Server CA is a Trusted Root Certification Authorities in IE.
To Set up Outlook Digital Signature, follow these steps
Setting Up A Thawte Account: 1. Go to the website: http://www.thawte.com/email/ 2. Click on the red “join” button 3. Read the Terms and Conditions and then click “next” 4. Fill out the requested information on this page Leave the character set as default 5. Click “Next” 6. Fill in your USA National Identification Number Select the Type of number you entered Enter your email address. This should be first-last@uiowa.edu NOT the abcdef@iowa.uiowa.edu 7. Click “Next” 8. Use the defaults for Language and Charset 9. Click “Next” 10. Enter a password twice 11. Click “Next” 12. Enter a Contact Number 13. Choose 5 Questions and answer them 14. Click “Next” 15. Confirm your Information 16. Clic…

Ubuntu Postgres 8.3.6 Missing Library

Recently, I encounter missing library when I install Postgres 8.3.6 on Ubuntu 2.6.28-13-generic build.
I do the following as a quick fix
1. missing libssl.so.4 -> ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.4 2. missing libcrypto.so.4 -> ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.4 3. missing libreadline.so.4 -> ln -s /lib/libreadline.so.5 /lib/libreadline.so.4 4. missing libtermcap.so.2 -> ln -s /lib/libncurses.so.5 /lib/libtermcap.so.2
after creating the above soft link, my postgres starts and work perfectly.

Ubuntu apt-get and apt-file

apt-get and apt-file is 2 little useful tool when finding and installing/update Ubuntu package.
The apt-get program uses this database to find out how to install packages requested by the user and to find out which additional packages are needed in order for a selected package to work properly.
See: http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html
While apt-file is a program to find missing package.
A sample to install and use apt-file
1. Install apt-file with apt-get -- sudo apt-get install apt-file 2. Update the apt-file database -- sudo apt-file update 3. Search missing package with apt-file -- apt-file search

Ubuntu Start/Stop Apache2 server

If you find that port 80 is used, it is highly possible that Ubuntu has startup a Apache server. Use the following command to start/stop/restart it
/etc/init.d/apache2 start | stop | restart

Ubuntu VNC Setup

Setting Up VNC for Ubuntu is rather simple.
Do the following
1. Install X11VNC server with sudo aptitude install x11vnc vnc-java. You need root access to use aptitude to install x11vnc package
2. After installing, type x11vnc -storepasswd to set up password for client access.
3. Make sure you disable or configure your firewall to allow 5800 and 5900 for remote access
4. Then, at command prompt, type x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 to run the server.
5. Now, use your vnc viewer or use your browser http://ip:5800 to access your remote machine.

Ubuntu Firewall

Ubuntu comes with a default firewall and its command is ufw
To enable/disable it -> type ufw enable/disable at command prompt
Here is a helper page for Ubuntu firewall https://help.ubuntu.com/8.04/serverguide/C/firewall.html