Pages

Minggu, 13 Maret 2011

ADMINISTRASI SERVER DEBIAN


ADMINISTRASI SERVER DEBIAN



KONFIGURASI IP
--------------
#nano /etc/network/interfaces

ip address : 192.168.1.1
subnet mask : 255.255.255.0
network : 192.168.1.0
gateway : 192.168.1.1

auto eth0
ctrl + x, lalu tekan y
#/etc/init.d/networking restart


MENGUPDATE REPOSITORY
----------------------
#apt-cdrom add
#apt-get update


MENGINSTALL SSH
---------------
#apt-cdrom add
#apt-get install ssh
#nano /etc/ssh/sshd_config
port 22
PermitRootLogin no
MaxAuthTries 2
AllowUser pian
ctrl + x, lalu tekan y
#nano /etc/ssh/hosts.allow
sshd : 192.168.1.2
ctrl + x, lalu tekan y
#nano /etc/ssh/hosts.deny
sshd : all
ctrl + x, tekan y
#/etc/init.d/ssh stop
#/etc/init.d/ssh start


MENGINSTAL SAMBA
-----------------
#apt-cdrom add
#apt-get install samba
#nano /etc/samba/smb.conf
workgroup = workgroup
netbios = debianpian
security = share
[tkj]
path = /home/pian/tkj
browseable= yes
available = yes
public = yes
writable = yes
ctrl + x, lalu tekan y
#mkdir /home/pian/tkj
#nano /home/pian/tkj/TeknikInformatika.txt
ini adalah percobaan sharing
ctrl + x, tekan y
#chmod -Rf 777 /home/pian/tkj
#chown -Rf 777 /home/pian/tkj


MENGINSTALL SMBCLIENT
----------------------
#apt-cdrom add
#apt-get install sbmclient
#smbclient -L //192.168.1.2 (untuk melihat file yang disharing client lain)
password :

#smbclient //192.168.1.2/debianpaket
password :


MENGINSTALL MC
---------------
#apt-cdrom add
#apt-get install mc
#mc

0 komentar:

Posting Komentar