wEb’nya Wonk edan

Januari 7, 2009

Konfigurasi FTP Server

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 3:09 pm

1). Install FTP Server :

# beckz@debian:~$ apt-get install vsftpd

2). Edit file konfigurasi FTP Server :

# beckz@debian:~$ pico /etc/vsftpd.conf

# Example config file /etc/vsftpd.conf

#

# The default compiled in settings are fairly paranoid. This sample file

# loosens things up a bit, to make the ftp daemon more usable.

# Please see vsftpd.conf.5 for all compiled in defaults.

#

# READ THIS: This example file is NOT an exhaustive list of vsftpd options.

# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd’s

# capabilities.

#

#

# Run standalone? vsftpd can run either from an inetd or as a standalone

# daemon started from an initscript.

listen=YES

#

# Run standalone with IPv6?

# Like the listen parameter, except vsftpd will listen on an IPv6 socket

# instead of an IPv4 one. This parameter and the listen parameter are mutually

# exclusive.

#listen_ipv6=YES

#

# Allow anonymous FTP? (Beware – allowed by default if you comment this out).

anonymous_enable=YES (lagi…)

Konfigurasi Proxy Server (squid) Linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 2:49 pm

1). Install Proxy Server :

# beckz@debian:~$ apt-get install squid

2). Edit file konfigurasi Proxy Server :

# beckz@debian:~$ pico /etc/squid/squid.conf

# WELCOME TO SQUID 2.6.STABLE5

# —————————-

#

# This is the default Squid configuration file. You may wish

# to look at the Squid home page (http://www.squid-cache.org/)

# for the FAQ and other documentation.

#

# The default Squid config file shows what the defaults for

# various options happen to be. If you don’t need to change the

# default, you shouldn’t uncomment the line. Doing so may cause

# run-time problems. In some cases “none” refers to no default

# setting at all, while in other cases it refers to a valid

# option – the comments for that keyword indicate if this is the

# case.

#

# NETWORK OPTIONS (lagi…)

Konfigurasi Samba Server Linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 2:33 pm

1). Install SAMBA Server :

# beckz@debian:/$ apt-get install samba

2). Edit file konfigurasi SAMBA Server :

# beckz@debian:/$ pico /etc/samba/smb.conf

#

# Sample configuration file for the Samba suite for Debian GNU/Linux.

#

#

# This is the main Samba configuration file. You should read the

# smb.conf(5) manual page in order to understand the options listed

# here. Samba has a huge number of configurable options most of which

# are not shown in this example

#

# Any line which starts with a ; (semi-colon) or a # (hash)

# is a comment and is ignored. In this example we will use a #

# for commentary and a ; for parts of the config file that you

# may wish to enable

#

# NOTE: Whenever you modify this file you should run the command

# “testparm” to check that you have not made any basic syntactic

# errors.

#

#=================== Global Settings====================

[global]

workgroup = dimaz

netbios name = dimas

security = user “(Untuk settingan menggunakan password)”

[Beckz punya]

comment = Beckz punya

path = /etc/

public = yes

valid users = @users

force group = users

write list = yes

read only = no

writeable = yes

3). Jalankan SAMBA Server :

# beckz@debian:~$ /etc/init.d/samba restart

4). Menambah dan mengelola “User SAMBA” :

# beckz@debian:~$ useradd dimas -m -G dimas “(menambah user baru)”

# beckz@debian:~$ smbpasswd dimas -a “(memberikan password pada user)”

Konfigurasi Mail Server Linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 1:31 pm

1). Install packages yang diperlukan untuk membangun “Mail Server” :

# beckz@debian:~$ apt-get install postfix

# beckz@debian:~$ apt-get install squirrelmail

# beckz@debian:~$ apt-get install courier-imap

# beckz@debian:~$ apt-get install courier-pop

# beckz@debian:~$ apt-get install php4-imap

2). Edit file konfigurasi Mail Server :

# beckz@debian:~$ pico /etc/postfix/main.cf (lagi…)

Konfigurasi DNS Server Linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 12:59 pm

1). Install DNS Server :

# beckz@debian:~$ apt-get install bind9

2). Edit file konfigurasi DNS Server :

# beckz@debian:~$ pico /etc/bind/named.conf

// This is the primary configuration file for the BIND DNS server named.

//

// Please read /usr/share/doc/bind9/README.Debian.gz for information on the

// structure of BIND configuration files in Debian, *BEFORE* you customize

// this configuration file.

//

// If you are just adding zones, please do that in /etc/bind/named.conf.local

include “/etc/bind/named.conf.options”;

// prime the server with knowledge of the root servers

zone “.” {

type hint;

file “/etc/bind/db.root”;

};

// be authoritative for the localhost forward and reverse zones, and for

// broadcast zones as per RFC 1912

zone “beckz.net.” {

type master;

file “/etc/bind/db.debian”;

};

zone “192.in-addr.arpa” {

type master;

file “/etc/bind/db.192″;

};

zone “beckz.com.” { “(Untuk settingan dua DNS Server)”

type master;

file “/etc/bind/db.debian2″;

}; (lagi…)

Konfigurasi DHCP Server Linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 12:03 pm

1). Install DHCP Server :

# beckz@debian:~$ apt-get install dhcp3-server

2). Edit file konfigurasi DHCP Server :

# beckz@debian:~$ pico /etc/dhcp3/dhcpd.conf

#

# Sample configuration file for ISC dhcpd for Debian

#

# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $

#

# The ddns-updates-style parameter controls whether or not the server will

# attempt to do a DNS update when a lease is confirmed. We default to the

# behavior of the version 2 packages (‘none’, since DHCP v2 didn’t

# have support for DDNS.)

ddns-update-style none;

# option definitions common to all supported networks…

#option domain-name 192.168.2.1;

option domain-name-servers 192.168.13.13, 208.67.222.222, 208.67.220.220;”(untuk memberikan secondary IP DNS)” (lagi…)

Mengatur alamat IP pada linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 11:36 am

1). Setting eth0 dan eth1 pada komputer :

# beckz@debian:/$ pico /etc/network/interfaces

Atur IP dengan asumsi “eth0” terhubung ke komputer server dan” eth1” sebagai router untuk client .

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo

iface lo inet loopback

auto eth0

iface eth0 inet static

address 192.168.10.13

netmask 255.255.255.0

network 192.168.10.0

broadcast 192.168.10.255

auto eth1

iface eth1 inet static

address 192.168.13.13

netmask 255.255.255.0

network 192.168.13.0

broadcast 192.168.13.255

Save dengan mengetik ctrl+x lalu tekan enter

2). Restart network :

# beckz@debian:/$ /etc/init.d/networking restart

Reconfiguring network interfaces…done.

Desember 1, 2008

Seminar Tekaje

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 3:19 pm

Hari Sabtu tanggal 29 november sekolah-ku punya gawe,”Seminar tentang sever dan Jaringan komputer dan VoIP”.

Butuh waktu 1 minggu buat menyiapkan acara yang akhirnya membuat banyak peserta kecewa. Yang penting semua panitia sudah berusaha mati – matian. Di belain pulang malem sampe jam setengah dua belas, dimarahi ortu gara- gara sering pulang terlambat, jadi agak enggak enak badan karena setiap hari ngurusi acara sampe malem- malem, tugas sekolah banyak yang terbengkalai, wes pokoknya masih banyak yang lain.

Acaranya sendiri terbilang cukup sukses dan seru, meski banyak kritikan juga. Pengisi materi adalah staf dari Provider “RAD-net” yang memberikan materi tentang sever dengan system operasi Linux. Banyak ilmu yang bisa di dapat dari penyampaian materi tersebut. Materi tentang VoIP juga diberikan oleh salah seorang pembimbing di sekolah saya, Pak Miftakhor Rahman. Materi yang disampaikan cukup menarik, sayang hanya sebatas materi tidak ada demonstrasinya, karena waktu yang membatasi itu semua. Banyak ilmu baru yang di dapat dari materi VoIP tersebut, karena masih begitu asing bagi kami anak “tekaje” karena enggak ada materi tentang VoIP di sekolah.

Semoga saja tahun depan adik kelas bisa nerusin tradisi anak – anak tekaje yang setiap tahun mengadakan acara seminar seperti ini, dan semoga tahun depan bisa lebih baik dari tahun ini. Lebih heboh, seru dan lebih mengena dengan tema yang disampaikan. (lagi…)

Agustus 11, 2008

Setting router dg Linux Debian

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 10:20 am

NB: Yang perlu dipersiapkan sebelum mensetting komputer kita.

1. Komputer dengan spesifikasi minimal untuk komputer yang akan kita jadikan router dan yang udah keinstall Linux Debian,kalo mau kerja yang maksimal pake spesifikasi yang lebih juga dianjurkan.

2. Satu ato lebih komputer buat Client.

3. Obat sakit kepala buat siap-siap kalo settingan kita gagal.

Langkah- langkah yang harus dilakukan :

1. Set IP address untuk eth0 dan eth1 untuk router

# pico /etc/network/interfaces
auto eth0

auto eth0 inet static

address 192.168.10.13

netmask 255.255.255.0

gateway 192.168.10.1

broadcast 192.168.10.255

network 192.68.10.0

auto eth1

auto eth1 inet static

address 192.168.13.1

netmask 255.255.255.0

broadcast 192.168.13.255

network 192.168.13.0

auto lo

interface lo inet loopback (lagi…)

Juni 4, 2008

Membuat router dengan linux SuSE 9.3

Diarsipkan di bawah: Komputer, Tugas ZkuL' — thebecks @ 1:35 pm

Membuat router dengan linux SuSE 9.3

# Persyaratan yang harus di penuhi untuk membuat pc router adalah sebagai berukut:
1. Komputer yang akan di jadikan router harus mempunyai minimal 2 LAN Card.
2. Komputer yang akan di jadikan router dan server harus terinstall dengan system
operasi linux SuSE 9.3 (dengan Minimum system).
3. PC yang akan di jadikan router harus sudah terkoneksi ke internet.

Melakukan setting

* Bila berada dalam 1 Network maka paket di sampaikan direct
* Bila berada dalam satu Network yang berbeda maka paket disampaikan ke gateway
* routing by denstation
* rotuing by entri ( permesin)

Command
#route gw[option]

Contoh:
1. #route add default gw 203.145.67.9
Artinya: Tujuan default lewat gateway
2. #route add -net 10.23.14.0/gw 10.22.88.9
Artinya:Tujuan ke network 10.23.14.0/24 lewat 10.22.88.9
3. #rote add -host 192.167.2.13 gw 10.22.77.5
Artinya: Tujuan ke host 192.168.0.1 lewat 10.22.77.5 (lagi…)

Halaman Berikutnya »

Blog pada WordPress.com.