Archive

Archive for the ‘Lain-Lain’ Category

how to use socks proxy from wget

29 May 2011 4 comments

Warning : This post is my own note, you may believe on it or not. 😛

Before continue read this post, I recommend you to read this post as preface.

Linux / BSD user usually familiar with shell, and wget is very usefull tool for download from shell. Read more…

boot FreeBSD directly from grub2

6 April 2011 2 comments

Spesifikasi system yang digunakan:

  • debian GNU/Linux, kernel 2.6.32-55, grub2 1.98+20100804-14
  • FreeBSD 8.2, kernel GENERIC

Sesuai dg rekomendasi dari freebsd forum, cara untuk mem-boot BSD dari linux ada 2 metode, yaitu :

  • Chainload ke partisi FreeBSD yg dituju, lalu booting dg bootloader FreeBSD yg ada pada partisi tsb.
  • Masukkan semua parameter booting dari GRUB dan booting secara langsung dari grub.

Read more…

using ssh tunnel as socks proxy

18 November 2010 5 comments

TULISAN IKI MURNI COPAS DARI  http://blog.agdunn.net/?p=107

If you have a laptop then you surely have been in a situation where you need to have a secure connection while on the move. This is most important when you are at a random hotspot and need to log into a non-secure site (authentication over http) or do not trust the vendor providing the connection. If you have access to a server running SSH then you can use a great feature in openssh to set up a SOCKS proxy and route all your traffic through. This is very similar to VPN’ing but you can do it on the fly and dont have to have an special client software on your machine.

This is written specifically for Unix based systems with some stuff even more specific for Gnome. If you are using Mac OSX, Linux or Unix variants you can set up the proxy with the commands but telling your system to use the tunnel may vary. Under windows there is a way to perform all these same things with putty, my apologies for not covering that here. If you are a windows user and cant find any good documentation please let me know I would be happy to write it up. Read more…

Mempercantik listing direktory pada apache dengan mod_autoindex

16 May 2010 Leave a comment

Tulisan ini murni saya copy-paste dari website aslinya, oleh karena itu lebih baik anda langsung menuju website aslinya saja.
Read more…

Backup konfigurasi “/etc” setiap hari [script-1]

25 April 2010 8 comments

Saat melakukan konfigurasi sebuah server, biasanya kita melakukannya dengan yang terbaik dan ter-secure. Oleh karena itu untuk mencegah hilangnya konfigurasi yang telah kita buat, ada baiknya directory /etc di-backup setiap hari.
Saya sendiri selalu melakukan backup /etc pada setiap server yang saya tangani.
Langkah yang harus dilakukan tidaklah sulit, cukup membuat script dan memasukannya pada scheduler cron utk di-eksekusi setiap hari.

  1. Script backup.sh
  2. Read more…

vim dengan c code completion

14 January 2010 3 comments

1. Install vim dan ctags

root@constantine:~# apt-get install vim ctags
Reading package lists… Done
Building dependency tree
Reading state information… Done
vim is already the newest version.
Note, selecting exuberant-ctags instead of ctags
The following NEW packages will be installed:
exuberant-ctags
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 131kB of archives.
After this operation, 287kB of additional disk space will be used.
Get:1 http://mirror.its.ac.id sid/main exuberant-ctags 1:5.8-1 [131kB]
Fetched 131kB in 0s (2,362kB/s)
Selecting previously deselected package exuberant-ctags.
(Reading database … 142613 files and directories currently installed.)
Unpacking exuberant-ctags (from …/exuberant-ctags_1%3a5.8-1_i386.deb) …
Setting up exuberant-ctags (1:5.8-1) …

Read more…

Menambahkan PATH pada linux

1 January 2010 Leave a comment

Seperti biasa, ini tulisan pengingat saya.

Melihat PATH yang sudah aktif sekarang :

lqman@spark:~$ env | grep PATH
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Read more…