RSS
 

Archive for the ‘Computer Stuff’ Category

Helmi-fajar.net’s Mobile Version

05 Apr

Berawal dari aktifitas blogging saya yang menggunakan handphone jadul saya, imbas kemalasan saya buat sekedar buka laptop ato nyalain PC, jadi kepikiran buat ngasih fitur mobile web ke blog ini. Pilihan jatuh ke Wordpress Mobile Pack buatan jamesgpearce, andreatrasatti, edent(temen maen gundu ane gan :P ) , dengan fitur mobile switcher nya, sangat memberikan keleluasan kita buat memilih mode browsing blog ini. Thanks to all of you :) Read the rest of this entry »

 

Upgrade Blogs Enggine to WP 2.9

05 Apr

Fiuh, akhirnya kelar juga migrasi WP Enggine..Dah hampir 2 taon ini males bet rasanya mo upgrade blogs, sampai akhirnya kesampaian juga nge-upgrade rumah onlen ku ini :D

Ada sedikit masalah pas mau impor posts dan comments terdahulu. Perbedaan mendasar struktur database menjadi masalah kali ini. Setelah ekspor dari database lama, ternyata endak langsung bisa jalan pas impor ke database wp versi anyar,,duh apa ni yang salah, ternyata setelah ditelisik, WP versi terbaru ini tidak memiliki field ‘post category’ maupun ‘comment category’. Read the rest of this entry »

 

ProFTPD instalation in Debian

20 Mar

FTP menjadi pilihan favoritku untuk melakukan download dan upload file ke server. Alasan utamanya adalah karena lebih familiar :)

FTP yang saya gunakan adalah proftp, simplified install it like this :

#apt-get install proftpd Read the rest of this entry »

 

Installing, Setting, Remotting and Troubleshooting MySQL Server in Debian Box

12 Mar

Setelah sekian lama selingkuh ke mikrotik, akhirnya tiba saatnya kembali ke pangkuan tante debi alias debian. Dapet ‘jatah’ ip publik di kantor, walhasil bisa digunakan terutama untuk oprek-oprek. Kebutuhan utama buat ane yaitu web and database server. Pilihan jatoh ke debian, dengan alasan males install laen2 lagi :D

Rada bingung juga pas mo setting-setting, akhirnya dimulai dengan menginstall database server dulu. Pilihan jatoh ke MySQl heheheh– andalan,,
langsung dah, install MySQL Server

#apt-get install mysql-server mysql-client libmysqlclient15-dev

Biasanya, ditengah-tengah instalasi diminta untuk menginputkan root password, just follow the direction, and you will not get lost :D

………… Read the rest of this entry »

 

Install Apache2 & PHP5 in Debian

27 Feb

Yuk kita mulai install apache2 dan php5 di Debian :)

#apt-get install apache2
#apt-get install php5
#apt-get install libapache2-mod-php5
# a2enmod php4
This module is already enabled!
Done :) 
 

Repository in Debian Box

24 Feb

hihihihih, kesalahan fatal, ngehapus default repositori di debian ku hihihih, walhasil, bingung mo ngembaliin ke semula, tapi akhirnya dapet juga default repository address nya. Repository ini yang bakal saiah gunakan untuk install macem-macem.

Setting :

#nano /etc/apt/sources.list
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
#apt-get update
#apt-get upgrade

 

Evolution from Debian to Mikrotik DOM Lvl6

05 Nov

At least my debian box that act as router has changed with Mikrotik DOM lvl 6.. It only bear up for only 2 weeks until I changed it. With the same network topology as router before (debian mode), it easier to config network rules using mikrotik, especially using winbox tools that has GUI that make router config more user friendly without concerning terminal script :D

A lot of stuff  I plugged in this DOM.

  1. NAT masquerrade
  2. Transparet proxy with automatic clearing cache
  3. IP forwarding classified by port number to communicate between local server to public clients
  4. Porn sites blocking using firewall, even if I upset with this thing :P

Everything seems fine and it works with a good performance.

Problem came up when I try to set one more network interface that provide an ip public. I planned to use this IP so that web server can accessed over internet. But when i started to config it, the network became mess. User in local area network can be browsing with URL method. Send ICMP Packet to public gateway made a normal reply from it. I really suspicious with the DNS configuration and routing stuff.. Hmm it needs more routing rules I think,,ehmm I rather lazzy to think and configure about it again when I found that I still have one more mikrotik router in Routerbox 450G.

Routerboard 450G, hmm I can use it as a brigde to connecting ip public to web server directly without through NAT server.. Hehehehe. Obviously the setup process is more complicated then DOM. We have to connect to routerboard using its Mac Address and winbox. 2 days I was thinking to manage this RB 450 G and at least I succeded to config this RB 450G.

Tommorow will be an execution day to make IP public setting using RB 450G. Friday — pararell with Software Development Document that will be consult with the client,,,hope will be no more problem in it.

 

Debian Box as Router Gateway – NAT mode ON

24 Jul

Network layout seems like this

Set net interface :

debian:~# nano /etc/network/interfaces
auto eth1
iface eth1 inet static
address 10.2.1.254
netmask 255.255.255.0
network 10.2.1.0
broadcast 10.2.1.255
gateway 10.2.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 222.124.199.71
iface eth0 inet static
address 172.15.0.254
netmask 255.255.0.0
broadcast 172.15.255.255

change file /etc/sysctl.conf parameters.
net.ipv4.conf.default.forwarding=1
net.ipv6.conf.default.forwarding=1

Allowing ip forwarding from local network 172.15.0.0/16 to public network  10.2.1.0/24
debian:~# iptables -t nat -A POSTROUTING -o eth1 -s 172.15.0.0/16 -d 0/0 -j MASQUERADE

Allowing public network client  to access local server 172.15.101.79 through 82 port

Port 82
debian:~# iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 82 -j DNAT –to 172.15.101.79:82

//change –dport  and –to parameters to expand your network policy about which server that will be accessible from public client

regards

 
 

Sharing Koneksi Internet 3G via WIFI Peer to Peer

24 Feb

Ku mo sharing sedikit crita mengenai koneksi internet shared dengan menggunakan wifi connection secara peer to peer. Kebetulan koneksi inet yang saya pake sebagai sample yaitu inet koneksi 3g Indosat Broom menggunakan USB modem ZTE, dengan 2 onggok laptop yang nantinya akan dijadikan bahan percobaan.

Oks,siapin kopi n rokok untuk sedikit setting disini :P

Setting Shared Inet Kamu di Modem
Pastiin setting koneksi dari modem ke laptop sudah sesuai dengan setting provider inet yang anda pake. Kemudian, meluncur segera ke Network Connection. Disitu akan keliatan modem ente yang dah aktif. Simply,right click, kemudian pilih properties di modem bersangkutan. Akan muncul jendela baru untuk konfigurasi. Klik tab advanced.                                         Read the rest of this entry »

 

New Lens for Di Fourthy : AF70-300MM F/4-5.6 Di LD MACRO 1:2 (MODEL A17NII) WITH BUILT-IN MOTOR FOR NIKON

06 Jan

Huehue, at least i’ve the time to release ma nu gadget. Actually, it came to me in the end of this year at December..but because stuck around in office and had a lot of journey :D  this post shut-in in ma database.

I’ve got this lens from ma broder in Gresik. A Tamron lens with macro features and optimal until 15 metres to zoom out. Its focal length came from 70 until 300 mm..huhhuu,long enough to make a snapshot in swimming pool :P

Besides, i’m very interesting with its built motor to make focussing object became more easy use autofocus indded. When still use Nikon 80-300mm G AF (G series  without autofocus motor), i always worried for made a mistakes in focusing object see here in ma last post

But with built in motor in Tamron, those problem slow but sure, had been overcome :D .. Although, i keept learn to use manual focus..cos in the real event, auto needs much longer time to focussing an object than manual.. But will see :D :D

Tamron

 
 

Switch to our mobile site