Friday, August 5, 2011

Create a shortcut to file in a specified folder in Desktop


To create a folder in Linux desktop.

Select Install Panes and Actions.
 
Action Groups -> Install Actions -> Right Click -> Select Shortcut Actions -> Install Unix Program Folder.
In Advanced Properties, Folder Directory, provide the path and name of the folder to be created. Here TestFolder. Select the Folder Location as Directory.


This will create a folder TestFolder in RHEL desktop.


To create a shortcut to a file in specified folder

Select Install Panes and Actions.
Action Groups -> Install Actions -> Right Click -> Select Shortcut Actions -> Install Unix Shortcut
In Advanced Properties, select the Shortcut Location as Directory and provide the directory name in Shortcut Directory.Here the directory is the folder TestFolder in Desktop.


Make sure that the Action Group are in the order, Create Unix program folder, then Unix shortcut.


This will create the README file in the folder TestFolder in RHEL desktop


Create a Desktop folder in RHEL5 using InstallJammer


Select Install Panes and Actions.
Action Groups -> Install Actions -> Right Click -> Select Shortcut Actions -> Install Unix Program Folder.
In Advanced Properties, Folder Directory, provide the path and name of the folder to be created. Here TestFolder. Select the Folder Location as Directory.


This will create a folder TestFolder in RHEL desktop.


Thursday, August 4, 2011

Create desktop shortcut for a text file in RHEL5 using InstallJammer



To create a shortcut of the README.txt file residing in the Installed Directory. The following is the procedure for creating the shortcut of file in Linux.

From tree view select Install User Interface.
Install User Interface --> Install Panes and Actions --> Action Groups --> Install Actions.
Right click Install Actions and select Insert Action --> Shortcut Actions --> Install UNIX shortcut



 You can use the Advanced Properties to specify the shortcutname, shortcut location etc.


The installer will create a desktop shortcut like one below when deployed in RHEL5.


Friday, July 29, 2011

Change postgresql password on Ubuntu


How to change postgresql password on Ubuntu

 
I’m using Postgresql-8.3  on Ubuntu 9.04.

Initially , take pg_hba.conf from /etc/postgresql/8.3/main/
In that you will find an entry like this,
host    all         all         172.16..0/24        md5

Change it to
host    all         all         172.16..0/24        trust

Then restart the postgresql database..
if it is ubuntu use the command /etc/init.d/postgresql restart 

Now issue the command
sudo psql -h -d -U postgres
(it should not ask for postgresql password..). 

It will ask for your unix password
Then give the command
alter user postgres with password 'new password'
to change the password..
Thats it..