Archive for March, 2009

Postgresql , phpPgAdmin and pgadmin on Ubuntu 8.04 Hardy Heron

Postgresql , phpPGAdmin and pgadmin 3 can be installed from synaptic.
sudo apt-get install postgresqlsudo apt-get install phppgadminsudo apt-get install pgadmin3
After installation the postgres password of postgresql can be changed like this :

openSuse like start menu on Ubuntu

openSuse presents a different kind of menu in gnome desktop that what appears in Ubuntu.
The menu can be added as an applet to the panel in Ubuntu gnome desktop also by installing the package :

Run PHP scripts automatically at intervals – use Cron Jobs

Automation may be needed in to order to run certain scripts at regular intervals for tasks like scraping , extracting or crawling data from web or do some regular tasks like sending emails or whatever.

File – Image Previews in Konqueror KDE

If Konqueror is not showing the image thumbnails in the icons or previews then check :
1. Control Center > KDE Components > File Manager > Previews & Meta-Data for the Maximum File Size in the slider. If it is too low then increase it to say 5 MB.

Install Apache Tomcat 5.5 on Ubuntu 8.04 Hardy Heron

To install and run Tomcat on Ubuntu (8.04 over here) the following packages should be installed from synaptic :
1. tomcat5.52. tomcat5.5-webapps3. sun-java6-jdk
They can be installed from command line using the command sudo apt-get

Access Windows File Sharing from Ubuntu

Some GUI tools that can be used to access windows shares (SMB) are :
1. xSMBrowser2. Smb4K3. TkSmb
Get them all from Synaptic. They are basically gui frontend for the smbclient command.Nautilus and Konqueror have the View Network options too and if they dont work the above 3 utilities may.

Php script set_time_limit timeout and socket operations

The PHP function set_time_limit is used to set a time limit on the maximum execution time of a script. But if the script has socket operations using fsockopen , fread and fwrite or even CURL then the set_time_limit may not appear to have any effect on the scripts timelimit or timeout.Again if safe mode is [...]