29 Desember 2007

WEB Server

WEB Server

For set configuration WEB Server, which you must to do is only installing PHP4 its all. If you have finish, you also have to install lynx In your computer. Lynx in tern windows is Internet Explorer.
In here, we will explain “how to make web use html not use http”. First, you have to try web which have installed in your computer by using command lynx www.tkj.com. If you want enhancing appearance your web which many variation, you can set-up again index.html on directory /var/www/index.html.
Example :



Nama Kelompok



Dwi Waluyo



Hasan Bisri



M. Bahron






If you have finish, quit and save you configuration. to see your web which you have setting, use command lynx www.tkj.com.

SAMBA

Samba Server

Before you start configuration of SAMBA Server you must install file samba. To install you can use command apt-get install samba. in process installation you must filled workgroup with tkj, you can filled workgroup with other names. If you have finished, you earn to start set-up SAMBA Server. Which you must to do is open file smb.conf found on directory /etc/samba/smb.conf
To easily in configuration of SAMBA , you can delete file smb.conf and then make file like this use command vi /etc/samba/smb.conf. After that, add new configuration like hereunder :

[global]
workgroup = WORKGROUP
netbios name = amd
security = user

[lagu]
comment = laga
path = /home/tkj/a
read only = yes
#public = yes
valid users = tkj
write list = tkj


after you have finish, you must quit and save your configuration. And then, restart samba with command /etc/init.d/samba restart.

FTP Server

FTP Server

In set-up FTP server you wouldn’t add new configuration, you only install vsftpd in your computer. To install, you can use command apt-get install vsftpd, if you finished install that you must restart ftp by using command etc/init.d/vsftpd restart.
if you want configure FTP, you have to perform a few change in vsftpd.conf, which you must clean sign (#) on anonymous, write enable, local enable.
# 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
#
# Uncomment this to allow local users to log in.
#local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
……….
And then, exit and save your configuration. Last step, restart again use the same command.

DHCP Server

DHCP Server


Next, you will set-up DHCP Server, before its you must install dhcp3-server to make DHCP Server by using command apt-get install dhcp3-server. Afterwards, change IP in over there like hereunder:


# A slightly different configuration for an internal subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.10;
option domain-name-servers 192.168.1.1;
# option domain-name "internal.example.org";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}

After that, you must exit and save its configuration. Now, you must restart dhcp by using command /etc/init.d/dhcp3-server restart. If you found problem, you must try again maybe your configuration is failed.

22 Desember 2007

DNS Server

Before you set a configuration server, you must install the operational system Linux Debian 4.0 in your computer. If you have finished installing it, so you can set-up configuration server for your computer. Next, you must scan the CD 1 untill CD 8 (last CD) in your computer, to make you easily in your worked or you wouldn’t hardly to find them on the CD, use command
mount /media/cdrom or mount /dev/cdrom
apt-cdrom add –m
eject
until last CD (CD 8). After that, you must install MC (Midnight Commander) which to get at CD 1 and CD 4. Use command :
apt-get install mc

· DNS Server
Now, you will set-up DNS Server in your computer. Before its, you must install bind9 to make DNS Server by using command apt-get install bind9. After wards, add the configuration to the named.conf found on directory /etc/bind/named.conf, add of them in over there.
zone "tkj.com" {
type master;
file "/var/cache/bind/db.tkj";
};

zone "192.in-addr.arpa" {
type master;
file "/var/cache/bind/db.192";
};
If you’ve finished, you have to exit and save this file. And then, copy , move, and rename file db.127 with db.192 and db.local with db.tkj to directory /var/cache/bind/.
use command :
cp db.127 /var/cache/bind/db.192
cp db.local /var/cache/bind/db.tkj
then, you must reconfigure db.192 as following this file :
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA tkj.com. root.tkj.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS tkj.com.
1.1.168 IN PTR tkj.com.
www IN PTR tkj.com.


After finished, you must exit and save this file. Last step, you also have to reconfigure db.tkj like this :
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA tkj.com. root.tkj.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS tkj.com.
@ IN A 192.168.1.1
www IN A 192.168.1.1

If you have finished, you must exit and save this file. Restart bind9 by using command /etc/init.d/bind9 restart. To check your configuration success or failed, you can use many commands to check it, they are :
§ ping tkj.com
§ ping www.tkj.com
§ nslookup
>set type=PTR
>192.168.1.1
>set type=SOA
>tkj.com
§ dig tkj.com or dig www.tkj.com
if you get reply from your computer, your configuration is success.

Welcome to my blogger

terima kasih anda sudah mau membuka blogger saya.....

untuk lebih lanjut kita tunggu update-an terbaru dari blogger ini,,
terima kasih telah menerima blogger ini sebagai ilmu yang bermanfaat.