Minggu, 15 Maret 2015

install and Fix Postgresql

apt-get update
apt-get install postgresql postgresql-contrib
or
apt-get install postgresql
































Done.

Kamis, 05 Maret 2015

Virtual Memory

Terminal
# dd if=/dev/zero of=/swapfile bs=1024 count=8192
# mkswap /swapfile 8192
# sync
# swapon /swapfile


Tambahkan pada baris terakhir di /etc/rc.d/rc.local atau tambahkan
baris ini di /etc/fstab :
"/swapfile swap swap defaults" tanpa tanda petik.
Done.

swap memory on linux

Terminal
type
dd if=/dev/zero of=/swapfile bs=1M count=1000

set up
mkswap /swapfile 

Aktivate swap file
swapon /swapfile

change permission of file
gedit /etc/fstab
sudo chmod 777 /etc/fstab

parameter on file :"/etc/fstab"
/swapfile swap swap defaults 0 0

verification of swap memory, type on terminal:

free -m 
then restart.
Done..

Selasa, 03 Maret 2015

My zorin repair when damaged

Type on terminal

gconftool --recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Done.