setting samba server

0 komentar
TwitThis
untuk bisa melakukan cross-paltform file sharing di butuhkan sebuah server yang dapat melakukannya.
untuk mensharing file dari linux ke windows kita akan menggunakan samba server.
berikut ini akan saya berikan konfigurasi samba servernya.
klo yang kali ini langsung saja kita masukkan file yang akan kita sharing
tapi sebelum itu kita harus menambahkan user untuk samba
1. tambahkan user pada sistem
#useradd tes
#passwd tes
New unix password:*******
retype new unix password:*******

2. tambah user untuk samba dengan nama yang sama dengan yang sebelumnya
#smbpasswd tes
new SMB password:*********
retype new SMB password:*********
added user tes

setelah menambah user untuk samba edit smb.conf file
buka file /etc/samba/smb.conf
lalu tambahkan file yang akan kita sharing di bagian bawah
#contoh file yang saya sharing#
[test]
comment = contoh file sharing samba
path = /root/Desktop/share
writeable = yes
browseable = yes
valid users = tes

setelah itu restart service sambanya
#service smb restart

dari client windows kita hanya tinggal masuk ke run -> masukkan ip address dari samba server tersebut
lalu kita bisa mengakses file yang di sharing oleh linux deh...

selamat mencoba

konfigurasi MRTG

0 komentar
TwitThis
nah ini dia yang paling penting konfigurasi dari mrtg itu sendiri nmanya jga konfigurasi mrtg hehehehehehe
ehm pada postingan yg sebelumnya udah di bahas tentang bagaimana cara instalasi mrtg trus bagaimana cara konfigurasi SNMP sekarang kita masuk keintinya
berikut ini adalah cara konfigurasi mrtg:
•buat direktori mrtg di dalam /var/www/html direktori
#mkdir –p /var/www/html/mrtg
•Edit file mrtg.conf dalam direktori /etc/httpd/conf.d/
#cd /etc/httpd/conf.d/mrtg.conf
Alias /mrtg “/var/www/html/mrtg”


Order allow, deny
Allow from all
Allow from localhost
# Allow from .example.com

setelah mengedit file htmlnya restart service httpdnya
#service httpd restart

3.konfigurasi file mrtg.cfg
•masuk ke direktori /usr/local/mrtg-2/bin
#cd /usr/local/mrtg-2/bin
•compile command dibawah ini untuk membuat file mrtg.cfg dengan menggunakan nama komunity yang ada dalam file snmp.conf
#./cfgmaker --output=/etc/mrtg/mrtg.cfg –global “Workdir:/var/www/html/mrtg” –global ‘options[_]: growright,bits’ public@localhost
•ubah format bahasa yang akan digunakan oleh mrtg
#export LANG=en_US
•compile command di bawah ini sebanyak 3 kali untuk memindahkan informasi yang disimpan dalam data file mrtg ke /etc/mrtg/mrtg.cfg
#./mrtg /etc/mrtg/mrtg.cfg
•jalankan perintah indexmaker untuk mebuat halaman index web dengan menggunakan file mrtg.cfg yang baru
#./indexmaker –output=/var/www/html/mrtg/index.html /etc/mrtg/mrtg.cfg
• Make mrtg-cron file in the /etc/mrtg/mrtg-cron
#vi /etc/mrtg/mrtg-cron
*1/ * * * * env LANG=C mrtg /etc/mrtg/mrtg.cfg

setelah melakukan konfigurasi yang diatas sekarang kita dapat memonitoring komputer dengan menggunakan web server dengan cara
1. buka mozila firefox
2. masukkan ipaddress dari komputer server.

konfigurasi SNMP

0 komentar
TwitThis
untuk dapat menjalankan mrtg sebelumnya kita harus mengonfigurasi snmp, pada postingan sebelumnya telah dibahas tentang cara instalasi mrtg jadi pada postingan ini akan dibahas tentang cara configurasi snmp.
untuk mengkonfigurasi snmp ikutin langkah2 berikut:
#snmpconf
1: snmpd.conf
2: snmp.conf
3: snmptrapd.conf
Othe options: quit
Select file: 1
1: Extending the agent
2: Trap Destinations
3: System Information Setup
4: Agent operating mode
5: Access Control Setup
6: Monitor Various Aspect of the Running Host
Other options: finished
Select section: 5
1: a SNMPv3 read-write user
2: a SNMPv3 read-only user
3: a SNMPv1/SNMPv2c read-only access community name
4: a SNMPv1/SNMPv2 read-write access community name
Other options: finished. List
Select section: 3
The community name to read-only access for: public
Select section: finished
1: Extending the agent
2: Trap Destinations
3: System Information Setup
4: Agent operating mode
5: Access Control Setup
6: Monitor Various Aspect of the Running Host
Other options: finished
Select section: 6
1: check for proccess that shouldbe running.
2: check for disk space usage of partition.
3: check for unreasonable load average values.
4: check on the size of file
Other options: finished, list
Select section: 1
Name of the proccess you want to check on: httpd
Maximum number of proccess named ‘httpd’ that should be running [default = 0] : 1000
Minimum number of the proccess named ‘httpd’ that should be running [default = 0] : 100
1: check for proccess that shouldbe running.
2: check for disk space usage of partition.
3: check for unreasonable load average values.
4: check on the size of file
Other options: finished, list
Select section: finished
1: Extending the agent
2: Trap Destinations
3: System Information Setup
4: Agent operating mode
5: Access Control Setup
6: Monitor Various Aspect of the Running Host
Other options: finished
Select section: 3
Select from
1: the [typically physical] location of the system.
2: the contact informaation for the administrator.
3: the proper value for the sysServices object.
Othe options: finished, list
Select section: 1
The location of the system: bandung
1: the [typically physical] location of the system.
2: the contact informaation for the administrator.
3: the proper value for the sysServices object.
Othe options: finished, list
Select section: 2
The contact information: joko@yahoo.com
1: the [typically physical] location of the system.
2: the contact informaation for the administrator.
3: the proper value for the sysServices object.
Othe options: finished, list
Select section: 3
Does this host offer physical service (eg, like a repeater) : 0
Does this host offer datalink/subnetwork services (eg, like a bridge) : 0
Does this host offer internet service (eg, supports IP) : 0
Does this host offer end-to-end service (eg, supports TCP) : 1
Does this host offer applications services (eg, supports SMTP) : 1
1: the [typically physical] location of the system.
2: the contact informaation for the administrator.
3: the proper value for the sysServices object.
Othe options: finished, list
Select section: finished
1: Extending the agent
2: Trap Destinations
3: System Information Setup
4: Agent operating mode
5: Access Control Setup
6: Monitor Various Aspect of the Running Host
Other options: finished
Select section: finished
 1: snmpd.conf
2: snmp.conf
3: snmptrapd.conf
Othe options: quit
Select file: quit


nah itu dia contoh konfigurasi snmp untuk linux....
selamat mencoba yahhhh
^-^

instalasi mrtg di linux

0 komentar
TwitThis

ini adalah langkah-langkah instalasi mrtg yang berupa source code pada OS red hat enterprise 4

· kopi file mrtg2.11.1.tar.gz pada direktori /usr/local/src

#cp Desktop/mrtg-2.11.1.tar.gz /usr/local/src

· kamudian extract file tersebut

#cd /usr/local/src

#tar –xvzf mrtg-2.11.1.tar.gz

· masuk ke folder mrtg-2.11.1 dan lakukan perintah berikut:

#cd mrtg-2.11.1

#./configure --prefix=/usr/local/mrtg-2

#make

#make install

setting Open LDAP

0 komentar
TwitThis
1. Setting slapd.conf.
• Edit bagian suffix “dc=delonge,dc=com”.
• Edit bagian rootdn “cn=presdir,dc=delonge,dc=com”.
• Hilangkan tanda comment (#) pada baris rootpw
2. Input info domain
• Buat file yang akan digunakan untuk menginput informasi domain.
• Delonge.ldif
• Edit file delonge.ldif
Dn: dc=delonge,dc=com
Objectclass: dcobject
Objectclass: organization
O: macbeth footwear
Dc: delonge
• Setelah mengedit file tersebut. Inputkan file yang telah di edit tersebut.
• #ldapadd –x –D “cn=presdir,dc=delonge,dc=com” –f /etc/openldap/delonge.ldif –W
• Setelah menginputkan file. Cek file yang telah di input.
• #ldapsearch –x –b ‘dc=delonge,dc=com’
3. Setting ldap.conf
• Edit bagian base
Base dc=macbeth,dc=com
4. Input info ou
• Ou yang akan dibuat adalah:
1. Administrasi
2. Hrd
3. Keuangan
4. Mahasiswa
5. Marketing
6. Operasional
7. Puskom
• Buat file2 berdasarkan ou diatas
• Edit file2 tersebut sesuai dgn ounya masing2
Dn: ou=marketing, dc=delonge,dc=com
Ou: marketing
Objectclass: top
objectclass OrganizationalUnit
Description: anggotanya adalah orang2 divisi marketing
• Setelah membuat file, lalu inputkan file2 tersebut.
• #ldapadd –x –D ‘cn=presdir,dc=delonge,dc=com’ –f /etc/openldap/domain/administrasi.ldif –W
• Setelah di input cek file yg telah di input
• #ldapsearch –x –b ‘dc=delonge,dc=com’
5. Create file ----- tambah user.ldif
dn : cn=presdir, ou = marketing, dc = nama, dc = com
objectclass : top
objectclass : inetOrgPerson
cn : delonge
sn : delonge182
homePhone : 081220081216
title : kepada bagian
mail : delonge182@yahoo.com

setting Open LDAP

0 komentar
TwitThis
1. Setting slapd.conf.
• Edit bagian suffix “dc=delonge,dc=com”.
• Edit bagian rootdn “cn=presdir,dc=delonge,dc=com”.
• Hilangkan tanda comment (#) pada baris rootpw
2. Input info domain
• Buat file yang akan digunakan untuk menginput informasi domain.
• Delonge.ldif
• Edit file delonge.ldif
 Dn: dc=delonge,dc=com
 Objectclass: dcobject
 Objectclass: organization
 O: macbeth footwear
 Dc: delonge
• Setelah mengedit file tersebut. Inputkan file yang telah di edit tersebut.
• #ldapadd –x –D “cn=presdir,dc=delonge,dc=com” –f /etc/openldap/delonge.ldif –W
• Setelah menginputkan file. Cek file yang telah di input.
• #ldapsearch –x –b ‘dc=delonge,dc=com’
3. Setting ldap.conf
• Edit bagian base
 Base dc=macbeth,dc=com
4. Input info ou
• Ou yang akan dibuat adalah:
1. Administrasi
2. Hrd
3. Keuangan
4. Mahasiswa
5. Marketing
6. Operasional
7. Puskom
• Buat file2 berdasarkan ou diatas
• Edit file2 tersebut sesuai dgn ounya masing2
 Dn: ou=marketing, dc=delonge,dc=com
 Ou: marketing
 Objectclass: top
 bjectclass OrganizationalUnit
 Description: anggotanya adalah orang2 divisi marketing
• Setelah membuat file, lalu inputkan file2 tersebut.
• #ldapadd –x –D ‘cn=presdir,dc=delonge,dc=com’ –f /etc/openldap/domain/administrasi.ldif –W
• Setelah di input cek file yg telah di input
• #ldapsearch –x –b ‘dc=delonge,dc=com’
5. Create file ----- tambah user.ldif
 dn : cn=presdir, ou = marketing, dc = nama, dc = com
 objectclass : top
 objectclass : inetOrgPerson
 cn : delonge
 sn : delonge182
 homePhone : 081220081216
 title : kepada bagian
 mail : delonge182@yahoo.com
0 komentar
TwitThis
neh postingan pertama gw..hehehehe
maklum bru bikin blog (HARI GINI BRU BKIN BLOG KMNA AJ LO) neh bikin blog jga krn ad tugas dri dosen klo g gak bikin2 gw ....
ehm oia gw mau ksih tau klo blink 182 udah ngumpul lgi setelah 4 thun g pernah klihatan (jelas aj g klihatan org lo di indonesia)
kyanya sekian dlu deh postingan pertama gue
hehehehehehehe
 

© Copyright by himynameisfatah.com | Template by BloggerTemplates | Distributed by BloggerThemes