Pages

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


Tuesday, October 7, 2014

install file .rpm on ubuntu


install alient application from revository :

sudo apt-get install alien dpkg-dev debhelper build-essential

convert package from  .rpm into .deb format :

sudo alien packagename.rpm


Install Application

sudo dpkg -i packagename.deb



good luck

Friday, September 26, 2014

Can't export more than 5000 rows to Excel?

Question :
I have a problem about export data to xls,
I can't export more then 5000 rows to excel?

Answer :
Well after doing my last testing i found the answer and was very easy.

I was using LINUX UBUNTU 64 bit and it uses OPEN OFFICE (LIBRE CALC) and this program is only showing 5000 rows.

The solution is:
Open the file using Microsoft Excel on Windows.

Thank you. 

Tuesday, September 23, 2014

How to Change Date Format on JQGrid


How to Change Date Format  on JQGrid

Before :

 {name:'LASTUPDATE',index:'LASTUPDATE', width:90},




After :

 {name:'LASTUPDATE',index:'LASTUPDATE', width:90, formatter : 'date', formatoptions: {newformat: 'd/m/Y'}},