It's me...Hidayah

Web Developer.... 12/03/08 - 08/04/08

Web development ada 2 jenis:
1) Statik
- pure html
- kandungannye statik (content)
- Kalau nak ubah buka file html shj.

2) Dinamik
- content can be anything dynamically loaded into web page
- MySQL & PHP, Access & ASP, Oracle & JSP
- perlukan webserver + MySQL + PHP

System Development Life Cycle (SDLC)

  • analysis requirement
  • prototype (story board) -> check/ensure req is fullfil
  • coding + test (alpha)
  • testing (Beta) -> org luar yang test
  • handover
Tugasan: developed 'Sistem Permohonan Cuti Staf'

A) PROTOTYPE
- Sebelum nak bangunkan sesebuah laman web, kita perlulah membina prototype untuk web tersebut. Untuk tugasan ini, saya bina prototype dengan menggunakan perisian Macromedia Dreamweaver. Ini adalah prototype yang dibina:-

Rajah1: prototype yg dibina


Rajah 2: Prototype yg dah dimasukkan template.

Rajah1: menunjukkan prototype yg dibina. Tujuan kita bina prototype adalah untuk
Rajah 2: Prototype yg dah dimasukkan template.

B) DATABASE

Untuk membangunkan database, kita perlu master dalam 3 command di bawah:
- insert
- update
- delete

arahan untuk:
1) insert
- INSERT INTO std_name VALUE ('ali','1234')
- INSERT INTO staf (staf_nama, staf_id) VALUES ('ali','1234') -> yg biasa digunakan.

2) update
- UPDATE staf SET staf_nama = 'abu' WHERE staf_id = '1234' limit 1

3) delete
- DELETE FROM staf WHERE staf_id = '1234' limit 1

Linux Firewall.... 10/03/08 - 11/03/08

->Linux firewall juga dipanggil netfilter/Iptables. Ia ada 2 rules -> Allow and Deny.
->Iptables:

  • Satu perisian untuk mengawal tahap keselamatan dalam sistem jaringan/network.
  • Terdapat modul @ polisi untuk mengawal keselamatan sistem jaringan.
  • Dipanggil netfilter -> tapis network daripada diceroboh attacker.
  • Block,kawal, elak diceroboh attacker.
  • Tingkatkan lagi tahap keselamatan dalam network.

Mari Mengundi.... 07/03/08 - 09/03/08

Samba ..... 06/03/08

Tujuan:
- Untuk membenarkan 2 Operating System yang berbeza berkomunikasi. Cth: Linux & Windows XP
- Untuk security - authentication

Cara-cara nak configure samba:

Linux Router.... 29/02/08 - 05/03/08

What you need to have?
1) at least 2 nework card
2) 2 cross cable
3) install fedora 8 (for configuration)

What you need to do?
1) set_IP_Forwarding
2) set IP
3) Routing (buat routing + gateway)

Linux sebagai Router:
1) IP-Forwarding - untuk komunikasi antara 2 PC
echo 1 >/proc/sys/net/ipv4/ip_forward
* setiap kali restart, status echo akan jadi 0.
- check status up @ x:
cat/proc/sys/net/ipv4/ip_forward
2) Set IP
3) Set Gateway

Kalau xboleh ping PC -> PC, mungkin disebabkan :

  1. Firewall - x off
  2. Antivirus - x off
  3. IP Forwarding - x up ( setiap kali restart)
  4. Firewall Linux - uncheck ip tables
Command Linux Router:
> /etc/init.d/network restart
> echo 1 >/proc/sys/net/ipv4/ip_forward
>
cat/proc/sys/net/ipv4/ip_forward
> /sbin/ifconfig eth0 (gateway) netmask 255.255.255.0 broadcast (IP PC.255)
> /sbin/route add -net (IP PC.0) netmask 255.255.255.0 gw (gateway) dev eth0
( ulang command ni untuk eth1)

1) up network card
> service network restart [ok] (Cent OS)
> /etc/init.d/network restart
(Fedora)
eth0 [ok]

eth1 [ok]

2) tengok routing table
> /sbin/ip route show

3) tengok ada routing @ x
> /sbin/route -v

4) delete routing dalam routing table
> /sbin/route del -net ___________/ gw

5) up network card one by one
> /sbin/ifup eth0
> /sbin/ifup eth1

Kelebihan Linux
  • Kebanyakan perisian linux adalah percuma.
  • x banyak virus developed for linux ( imune from virus)
  • security - open source code (cepat boleh repair)
  • Boleh bertindak sebagai server @ client.
  • Linux juga boleh jadi web server, procy server, router, ftp, ssh, firewall dll..
SSH
- lebih kepada remote komputer (boleh control dari jauh)
-










Proxy Server.... 28/02/08