Upgrading PostgreSQL 9.1 to 9.3 in Ubuntu

this is correct steps:
sudo apt-get install postgresql-9.3 postgresql-contrib-9.3 postgresql-server-dev-9.3 pgadmin3

if needed install extension new postgres9.3

Check 2 clusters
sudo pg_lsclusters

Stop all services
sudo service postgresql stop

drop default main cluster 9.3
sudo pg_dropcluster --stop 9.3 main

Start upgrade!
sudo pg_upgradecluster 9.1 main

Drop old 9.1 server
pg_dropcluster --stop 9.1 main

Start server
sudo service postgresql start 9.3

Thanks to site

device busy linux

two simple command when try umount device and it is busy:

fuser -km /media
umount /media

Brightness lenovo w530 with nvidia card

sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf

Paste the following into the file:

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “Quadro K1000M”
Option “RegistryDwords” “EnableBrightnessControl=1”
EndSection

type d key show desktop type s key show main menu ubuntu gnome metacity

I’ve this problem when i install metacity and gnome into ubuntu server and access with vncserver.

Press d keyand show my desktop, type s and show the main gnome menu… grrrrr….

into shell ssh install

#  apt-get install dconf-editor

after

open Applications\System Tools\dconf Editor

navigate to:

org\gnome\desktop\wm\keybindings

then change the show-desktop keybinding to [].

change panel-main-menu keybinding to [].

SOLVED!!!

i also deleted all <super>key e.g. <super>s or <super>d

thinkpad update bios linux with usb stick

  1. Download the bios iso cdrom from lenovo website
  2. # apt-get install genisoimage
  3. # geteltorito filedownloaded.iso > biosupdate.img
  4. # dd if=biosupdate.img of=/dev/sdc bs=512k
  5. reboot

Check /dev/sdX is the usb stick disk . Note that of=/dev/sdX want disk and not partition (eg. not sdX1 but only sdX).

vnc xstartup metacity

install these packages

# apt-get install gnome-session gnome-panel metacity gnome-terminal –no-install-recommends

xstartup file

xstartup file

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

memoria piena samsung android

dal tastierino digitate: *#9900#
– dal menù proposto scegliere: “Delete dumpstate/logcat”
– riavviate lo smartphone.

Blanks page or white page drupal 7

I’m annoyed when into developing area all work and when i must publish the website the browser show me blank page. Shit!
I found the problem.
I truncate the table cache and cache_bootstrap into db .
Reload page and i view my login area. Enter with admin and press magic button clear cache into menu configuration (developing area).

SOLVED
Bye

add user vsftp into www directory

follow this steps:

# useradd -g www-data -d /var/www/project user
# passwd user
# chown :www-data /var/www/project -R

i’ve setted this option into vsftp.conf


chroot_local_user=YES
chroot_list_enable=YES
allow_writeable_chroot=YES
local_umask=022
write_enable=YES
anonymous_enable=NO

dike ubuntu 64bit – smartcard postecert – firma digitale

Ho trovato utilissimo questo post dove mi ha dato la soluzione per installare correttamente dike sulla mia ubuntu 64 bit.
Dike usa le librerie a 32 ma si occupa l’istallazione del pacchetto scaricato da infocert per fare tutto.
L’unica cosa che bisogna fare dopo l’installazione e’
1) sudo apt-get install pcscd pcsc-tools
2)pcsc_scan
l’output per queste nuove smart-card Postecert dovrebbe essere:

3B FF 18 00 FF 81 31 FE 55 00 6B 02 09 03 03 01 01 01 44 53 44 10 31 80 90

3) Modificare il file di configurazione di DiKe per fargli riconoscere la nostra smart-card.
da terminale:
cd /home/nomeutente/.dike
sudo gedit atr.ini
ed inseriamo in fondo al testo:

[SMART_CARD_003]

'==========================incrypto34v2
ATR=3bff1800ff8131fe55006b0209030301010144534410318090
LIB=libbit4ipki.so
Manufacturer=Postecom

salviamo e chiudiamo.

Ringrazio ancora il blog geometriaopensource per la soluzione!

« Older entries