Cara membuat user baru:
[root@localhost~]# adduser namauser
[root@localhost~]# passwd namauser
New unix : 12345
Retype : 12345
Successfully
Mengaktifkan / menonaktifkan / merestart jaringan:
[root@localhost~]# service network start -> untuk mengaktifkan / memulai setting jaringan
[root@localhost~]# service network restart -> untuk merestart setting jaringan ke default / semula
[root@localhost~]# service network stop -> untuk menonaktifkan setting jaringan
Setting IP:
(melalui kernel (perintah ifconfig))
[root@localhost~]# ifconfig eth0 no.ip.address
(melalui kernel (perintah setup))
setup -> pilih Network configuration ->pilih Edit Devices -> pilih eth0 (eth0) – VIA Technologies, inc -> kemudian isi IP pada Static IP, Netmask, dan Default gateway IP untuk gateway -> pilih OK -> pilih Save -> pilih Save&Quit -> pilih Quit
(melalui GUI (Graphical User Interface))
1. Buka Network Configuration -> System -> Administrator -> Netwok
2. Setelah terbuka Network Configuration double klik Device eth0 untuk membuka Ethernet Device untuk menyetting IP dan Gateway.
3. Kemudian isi Nickname dengan eth0.
4. Isi IP address dan Gateway, kemudian klik OK.
5. Setelah itu restart dengan cara klik Deactivate pada Network Configuration, setelah itu klik Activate.
6. Jika sudah aktif close tampilan Network Configuration dan proses IP selesai.
Melihat properties IP:
[root@localhost~]# ifconfig |more
Untuk test koneksi ke pc lain:
[root@localhost~]# ping no.ip.address
Melihat aturan iptables:
[root@localhost~]# iptables -L
Memblock paket data yang masuk dari salah satu host pc:
[root@localhost~]# iptables -A INPUT -s no.ip.address -j DROP
[root@localhost~]# iptables -A INPUT -s no.ip.address -j REJECT
Memblock semua paket data, kecuali dari satu host pc:
[root@localhost~]# iptables -A INPUT -s ! no.ip.address DROP
[root@localhost~]# iptables -A INPUT -s ! no.ip.address REJECT
Menghapus semua iptables yang ada:
[root@localhost~]# iptables -F
Untuk setting gateway:
[root@localhost~]# route add default gw no.ip.address
Untuk melihat properties gateway:
[root@localhost~]# route
Melihat hasil koneksi:
[root@localhost~]# arp
Setting hostname / username:
[root@localhost~]# hostname yanwar
Untuk melihat hasilnya (logout / ctrl+d) s.d tampil.
yanwar Login :
Password :
yang semula “localhost Login” menjadi “yanwar Login”.
Meremote pc lain dengan menggunakan perintah ssh:
[root@localhost~]# ssh no.ip.address
Mengambil data dari pc lain:
[root@localhost~]# scp no.ip.address:/home/direktori_pc_lain/namafile.tar /home/direktori_pc_anda
Meremote pc lain dengan telnet:
Ketikkan [user@userNO]#telnet
telnet>open
(to)ipaddress
Login:
Meremote pc lain dengan VNC Viewer:
Masuk ke System -> Preverence -> Remote desktop
Check list, sharing: [] View [] Control
[] Ask [] Password
Kemudian masuk ke Application -> Accessories -> VNC Viewer
Masukkan IP :
Masukkan Password :
Dari Semua Materi yg telah Saya Dapat, Saya dapat Mengambil suatu Kesimpulan,
Bahwa Dalam Mempelajari Linux,khususnya Linux Centos 5.0 tidaklah mudah,tetapi apabila bisa memahami dan mau belajar maka akan sangatlah mudah...
[root@localhost~]# adduser namauser
[root@localhost~]# passwd namauser
New unix : 12345
Retype : 12345
Successfully
Mengaktifkan / menonaktifkan / merestart jaringan:
[root@localhost~]# service network start -> untuk mengaktifkan / memulai setting jaringan
[root@localhost~]# service network restart -> untuk merestart setting jaringan ke default / semula
[root@localhost~]# service network stop -> untuk menonaktifkan setting jaringan
Setting IP:
(melalui kernel (perintah ifconfig))
[root@localhost~]# ifconfig eth0 no.ip.address
(melalui kernel (perintah setup))
setup -> pilih Network configuration ->pilih Edit Devices -> pilih eth0 (eth0) – VIA Technologies, inc -> kemudian isi IP pada Static IP, Netmask, dan Default gateway IP untuk gateway -> pilih OK -> pilih Save -> pilih Save&Quit -> pilih Quit
(melalui GUI (Graphical User Interface))
1. Buka Network Configuration -> System -> Administrator -> Netwok
2. Setelah terbuka Network Configuration double klik Device eth0 untuk membuka Ethernet Device untuk menyetting IP dan Gateway.
3. Kemudian isi Nickname dengan eth0.
4. Isi IP address dan Gateway, kemudian klik OK.
5. Setelah itu restart dengan cara klik Deactivate pada Network Configuration, setelah itu klik Activate.
6. Jika sudah aktif close tampilan Network Configuration dan proses IP selesai.
Melihat properties IP:
[root@localhost~]# ifconfig |more
Untuk test koneksi ke pc lain:
[root@localhost~]# ping no.ip.address
Melihat aturan iptables:
[root@localhost~]# iptables -L
Memblock paket data yang masuk dari salah satu host pc:
[root@localhost~]# iptables -A INPUT -s no.ip.address -j DROP
[root@localhost~]# iptables -A INPUT -s no.ip.address -j REJECT
Memblock semua paket data, kecuali dari satu host pc:
[root@localhost~]# iptables -A INPUT -s ! no.ip.address DROP
[root@localhost~]# iptables -A INPUT -s ! no.ip.address REJECT
Menghapus semua iptables yang ada:
[root@localhost~]# iptables -F
Untuk setting gateway:
[root@localhost~]# route add default gw no.ip.address
Untuk melihat properties gateway:
[root@localhost~]# route
Melihat hasil koneksi:
[root@localhost~]# arp
Setting hostname / username:
[root@localhost~]# hostname yanwar
Untuk melihat hasilnya (logout / ctrl+d) s.d tampil.
yanwar Login :
Password :
yang semula “localhost Login” menjadi “yanwar Login”.
Meremote pc lain dengan menggunakan perintah ssh:
[root@localhost~]# ssh no.ip.address
Mengambil data dari pc lain:
[root@localhost~]# scp no.ip.address:/home/direktori_pc_lain/namafile.tar /home/direktori_pc_anda
Meremote pc lain dengan telnet:
Ketikkan [user@userNO]#telnet
telnet>open
(to)ipaddress
Login:
Meremote pc lain dengan VNC Viewer:
Masuk ke System -> Preverence -> Remote desktop
Check list, sharing: [] View [] Control
[] Ask [] Password
Kemudian masuk ke Application -> Accessories -> VNC Viewer
Masukkan IP :
Masukkan Password :
Dari Semua Materi yg telah Saya Dapat, Saya dapat Mengambil suatu Kesimpulan,
Bahwa Dalam Mempelajari Linux,khususnya Linux Centos 5.0 tidaklah mudah,tetapi apabila bisa memahami dan mau belajar maka akan sangatlah mudah...