Aji’s Journal

March 4, 2009

Tips for Postfix

Filed under: Network and Server — admin @ 10:29 am

Viewing current queue:
postqueue -p

Delete all deferred messages:
postsuper -d ALL deferred

Delete all message from admin@yahoo.com:
postqueue -p | grep admin@yahoo.com | cut -c 0-12 | tr -d [:blank:] |postsuper -d -

February 26, 2009

Iptables (Scratch)

Filed under: Network and Server — admin @ 10:04 am

I just want to access my web server from my local address:

iptables -I INPUT -p tcp --dport 80 -s ! 127.0.0.1 -j DROP -m comment --comment "Only for local address"

February 20, 2009

Squid’s General Information

Filed under: Information Technology — admin @ 1:18 pm

Setting up a proxy configuration:
# export http_proxy=”http://username:password@host:port”

Reloading Squid’s configuration:
# squid -k reconfigure

February 19, 2009

Ubuntu Installation Problem on Dell Poweredge 1650

Filed under: Network and Server — admin @ 4:49 pm

Specifications:

  1. Ubuntu Server 8.10 Intrepid Ibex
  2. Dell Poweredge 1650
    SCSI with RAID Controller
    Three SCSI hard disks, 32GB each
    RAID 0, each hard disk has its own array controller
  3. dev/sda1 = /grub, /dev/sda2 = / , /dev/sda5 = swap

Problem:

  1. After Ubuntu Server installation has finished, server couldn’t boot normally. It stucked forever at BIOS screen, not even reached Grub.
  2. I reinstalled it with different RAID type, but the result was null.

Solution:

  1. Install Ubuntu Server
  2. Boot with Ubuntu Desktop (Live CD)
  3. Open Partition editor, select each partition’s flag to be marked the flag as “raid”, and “boot” + “raid” for boot partition.
  4. Open terminal, escalate to root, then reinstall Grub.
    #grub
    grub> root (hd0,0)
    grub> setup hd0
    grub> quit
  5. Edit menu.lst file, then add “root=/dev/sda5” to your kernel’s argument. I still can’t figure out, how could Grub data in /dev/sda1 to be read at /dev/sda5 partition after I boot it. But that’s the fact.
  6. Reboot the system, eject CD. If you are thrown into BusyBox, from that command prompt, try locate the Grub path. Then fix the kernel’s argument in menu.lst file.

Bad english huh? but … whatever….

January 22, 2009

Bantu Palestina!

Filed under: Islamic Defendses, Palestine — admin @ 5:27 pm

Situs – situs yang menyediakan rekening untuk donasi ke Palestina:

mer-c.org

aksicepattanggap.com

July 27, 2008

Encrypt Hard Disk Partition with LuKS

Filed under: Information Technology — admin @ 5:14 pm

This method is good enough to prevent low entropy attack.

Main requirements:
1. Linux Ubuntu Hardy Heron
2. Cryptsetup
3. cryptmount

(more…)

April 11, 2008

EXTENDING PHP WITH PHP-GTK

Filed under: Information Technology, Linux System — admin @ 10:52 pm

We can use PHP to make a desktop application, by adding GTK extension. These are what we have to do:
1. Prepare the file
Requirement:
- checkinstall
- php5-cli (PHP5 Command Line Interface)
- php5-dev
- libglib2.0-dev
- libgtk2-dev
Download PHP-GTK-20.beta.tar.gz
(more…)

Extending GDAL with ECW Support

Filed under: Geographic Information System, Information Technology — admin @ 10:27 pm

MAIN REQUIREMENTS:

- Ubuntu 7.10 Gutsy Gibbon fresh installation + 5 repositories DVD
- checkinstall : a program to build .deb package from binary, to make package management easier.

We will try to compile and install PHPMapscript with .ECW (ErMapper Compression Wavelets) capabilities. GDAL (Geospatial Data Abstraction Layer) as its main library, doesn’t have default capability to read .ecw image. It needs external library from ErMapper, which has limited license.

These are what we have to do:
1. Compile and install libecwj2
2. Compile and install gdal 1.5.0
3. Install libgdal from your repositories
4. Test Gdal capability with gdalinfo
5. Compile and install MapServer
6. Check with phpinfo
7. Final Test
Thus, you should remove any installed packages mentioned above.

(more…)

April 7, 2008

Hukum Mengkafirkan dan Membid’ahkan

Filed under: Books, Islamic Defendses — admin @ 4:03 pm

Penulis : Sa’id bin Shabir Abduh
Penerjemah : Nurkholis, Lc.
Judul Asli : Muzil al-Ilbas fii Al-Ahkam ‘ala An-Nas
Penerbit di Indonesia : Griya Ilmu, Jakarta
Halaman : 358
ISBN : 979-99920-0-1
(more…)

Ensiklopedia Bid’ah

Filed under: Books, Islamic Defendses — admin @ 3:52 pm

Penyusun : Hammud bin Abdullah al-Mathar (Kumpulan Fatwa)
Judul Asli : Al-Bida’ wal Muhdatsat wama La Ashla Lahu
Penerbit Asli : Dar Ibnu Khuzaimah (1419H/1999 M) Cetakan II
Halaman : 541
Harga : -
ISBN : 979-3407-56-5
(more…)

« Newer PostsOlder Posts »

Powered by WordPress