Pages

Monday, December 8, 2014

Linux Command

Informasi sistem

Perintah Deskripsi
# arch
lihat arsitektur dari mesin(1)   [man]
# cal 2007
lihat tabel kalendar tahun 2007   [man]
# cat /proc/cpuinfo
menampilkan informasi CPU   [man]
# cat /proc/interrupts
menampilkan penggunaan interupsi   [man]
# cat /proc/meminfo
lihat penggunaan memori komputer   [man]
# cat /proc/swaps
menampilkan partisi swap yang dipakai linux sebagai memori virtual   [man]
# cat /proc/version
menampilkan versi dari kernel.   [man]
# cat /proc/net/dev
menampilkan informasi kartu nic dan statistik penggunaan nic   [man]
# cat /proc/mounts
menampilkan filesystem yang termuat   [man]
# clock -w
simpan perubahan tanggal di BIOS.   [man]
# date
tampilkan tanggal sistem   [man]
# date 041217002007.00
tetapkan tanggal dan waktu - BulanHariJamMenitTahun.Detik   [man]
# dmidecode -q
tampilkan komponen perangkat keras dari sistem
# hdparm -i /dev/hda
tampilkan karakteristik dari sebuah hard-disk   [man]
# hdparm -tT /dev/sda
uji coba tes baca pada sebuah hard-disk   [man]
# lspci -tv
tampilkan perangkat-perangkat PCI yang ada   [man]
# lsusb -tv
tampilkan perangkat-perangkat USB   [man]
# uname -m
tampilkan arsitektur mesin(2)   [man]
# uname -r
tampilkan versi dari kernel yang digunakan   [man]


Saturday, December 6, 2014

How get UUID from Hardisk on linux


#blkid /dev/sda1

/dev/sda1: LABEL="/" UUID="ee7cf0a0-1922-401b-a1ae-6ec9261484c0" SEC_TYPE="ext2" TYPE="ext3"

Friday, December 5, 2014

How To Enable NTFS Support in CentOS 6



1) Preparation

Enable EPEL repository using following command.

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm


2) Install NTFS Drivers.

yum -y install ntfs-3g

Wednesday, November 26, 2014

Setup LDAP server (389 Directory Server) on Centos 6.5



389 Directory Server
The 389 directory server is a LDAP (Lightweight directory access protocol) server developed by Red Hat. The name 389 is derived from the LDAP port number. Though 389 server is being built on top of fedora, it supports many operating system such as CentOS, Scientific Linux, Debian and solaris etc.





Features:

- Multi-Master Replication, to provide fault tolerance and high write performance
- Scalability: thousands of operations per second, tens of thousands of concurrent users, tens of millions of entries, hundreds of gigabytes of data
- The codebase has been developed and deployed continuously by the same team for more than a decade
- Extensive documentation, including helpful Installation and Deployment guides
- Active Directory user and group synchronization
- Secure authentication and transport (SSLv3, TLSv1, and SASL)
- Support for LDAPv3
- On-line, zero downtime, LDAP-based update of schema, configuration, management and in-tree Access Control Information (ACIs)
- Graphical console for all facets of user, group, and server management 


Thursday, November 20, 2014

Cara membuka IP Camera Trendnet TV-IP672P dari VLC Player



Untuk membuka streaming video ip camera trendnet
pertama instal aplikasi vlc player
anda bisa download apliaksinya dari situs  resminya :
http://www.videolan.org/

kemudian buka notepad
isikan sebagai berikut :

rtsp://192.126.19.229:554/play1.sdp

simpan dengan extention  .sdf contoh :   streaming.sdf
kemudian klikanan filenya streaming.sdf -> open with vlc player.

atau anda bisa langsung untuk membuka streaming langsung dari vlc.
caranya Open aplikasi Vlc -> Media -> open network streaming
kemudian masukan urlnya :

rtsp://192.168.19.229:554/play1.sdp


selamant mencoba






Connecting to your TrendNet IP Camera

Berikut ini link connection IP Camera TrendNet :


Tuesday, November 18, 2014

insall phpLDAPadmin on centos 6



 Install and Configure phpLDAPadmin

Add EPEL repository

rpm -ivh http://mirrors.ukfast.co.uk/sites/dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


 

Install phpLDAPadmin

yum install -y phpldapadmin

 

Allow access from your network

vim  /etc/httpd/conf.d/phpldapadmin.conf


Order Deny,Allow
Deny from all
Allow from 127.0.0.1 10.0.0.0/24
Allow from ::1

Allow from192.9.18.25




Disable automatic login mechanism
nano /etc/phpldapadmin/config.php



Comment out the following (line 398)

//$servers->setValue('login','attr','uid');

Setup HTTPD service

chkconfig httpd on 

service httpd start


 



Log in to phpLDAPadmin

http://localhost/ldapadmin


Tuesday, October 28, 2014

Setup DNS Server CentOS 6.3/6.4/6.5



Menentukan Nama Domain , IP 

Primary(Master) DNS Server Details:
Operating System     : CentOS 6.5 64 bit (Minimal Server)
Hostname                : masterdns.jst-indonesia.com
IP Address               : 192.9.18.25/24


install bind service


yum install bind* -y
1.Configure DNS Server

vim /etc/named.conf

// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
        listen-on port 53 { 127.0.0.1; 192.9.18.25; };
        listen-on-v6 port 53 { ::1; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { localhost; 192.9.18.0/24; };
        allow-transfer  { localhost; 192.9.18.26; };        #for slavedns

        recursion yes;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
        type hint;
        file "named.ca";
};

zone "jst-indonesia.com" IN {
type master;
file "fwd.jst-indonesia.com";
allow-update { none; };
};

zone "1.168.192.in-addr.arpa" IN {
type master;
file "rev.jst-indonesia.com";
allow-update { none; };
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";



Monday, October 13, 2014

How To Set Up Database Replication In MySQL On Ubuntu 12.04


CONFIGURE THE MASTER DATABASE MYSQL :

The First you must login and create new user slave on Master Database Mysql
mysql -u root -p

Create user 'slave' with password='slave' on Master Server  
Mysql> create database test;

mysql> GRANT REPLICATION SLAVE ON *.* TO  'slave'@'192.9.18.25' IDENTIFIED BY slave';

Friday, October 10, 2014

Cara Install Owncloud pada Ubuntu 12.04


This document describes how to install and configure ownCloud  on Ubuntu 14.04. I will also connect to the ownCloud Server's data with another Ubuntu 14.04 Desktop and a Windows  machine. ownCloud provides access to your data through a web interface or WebDAV while providing a platform to easily view, sync and share across devices—all under your control. ownCloud’s open architecture is extensible via a simple but powerful API for applications and plugins and works with any storage.

Artikel ini menjelaskan bagaimana menginstall dan mengkonfigurasi own cloud  on ubuntu 12.04 .
Saya juga akan menyambungkan data server owncloud antara ubuntu 12.04 dengan desktop yang di inststall windows 7.
owncloud menyediakan akses ke data dengan menggunakan interface web atau webdev sehingga memudahkan platform lebih mudah untuk melihat data. 
sync dan share semua alat dibawah kontrol anda.
owncloud membuka arsitekture sebuah tambahan yang sederhana tetapi bisa di andalkan API untuk aplikasi dan plugin dan bekerja dengan banyak media penyimpanan.


1 Catatan utama
tutorial ini menggunakan Ubuntu 12.04 , jadi anda dapat menginstall terlebih dahulu sebelum melanjutkan tutorial ini .
system harus memiliki static IP address. dan saya menggunakan IP 192.18.9.27 atau anda juga bisa menggunakan server name server.example.com untuk memanggil namanya. kemudian untuk windowsnya anda bisa memberikan IP 192.9.18.37.

2 Proses install ownCloud 
OwnCloud adalah web application yang dapat menyimpan content dari lokasi utama,seperti Dropbox. 

Pertama kita download aplikasi terbaru software Owncloud :

cd /tmp
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key