0

How to remove postgres user from Windows

open CMD by administrator mode, then type in:

net user postgres /delete

If you just want to change user postgres' password to 'postgres', then type in:

net user postgres postgres

0

Upgrade OpenOffice.org 2.4 to 3.0 on Debian


Downloading from OpenOffice.org


The other way is to download and install packages from the OpenOffice.org site.
Go to:
http://download.openoffice.org/other.html

download the "Linux DEB" (should say GNU/Linux ¬¬) package in your language (let's use English on this one), after downloading around 140 MB then a file named: 
OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz

should be on your desktop (if using the default configuration from GNU IceCat). Now we prepare a better directory:
$ sudo mkdir /opt/OOo3

then untar it with:
 $ tar xvzf /path/to/tar/file/OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz 
i.e. $ tar xvzf /home/your_user_name/Desktop/OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz

extracted folder (in the home directory) should be:
OOO300_m15_native_packed-1_en-US.9379

move the extracted folder to the prepared directory:
$ sudo mv /home/your_user_name/OOO300_m15_native_packed-1_en-US.9379 /opt/OOo3/

then we install all the deb files inside the DEBS folder.
 $ cd /opt/OOo3/OOO300_m15_native_packed-1_en-US.9379/DEBS
 $ sudo dpkg -i *.deb

This will install OpenOffice.org 3 on the system. Now for desktop integration, it is necessary to remove the "old" OpenOffice (2.4):
$ sudo apt-get remove openoffice.org-core

then install the desktop integration file:
$ cd desktop-integration
$ sudo dpkg -i openoffice.org3.0-debian-menus_3.0-9376_all.deb
The Office menus will thus be updated.

You may get a conflicting error message when installing the menu package, this is because while it is technically installed, the launchers (a link to the actual program) are not written to the applications menu. Now try to issue the command below:


  $ sudo apt-get --purge remove openoffice.org-common

If that fails you can also go to synaptic package manager search "openoffice.org-common" deselect the box there and click apply. This will remove your previous version's common directory and you should be good to go.