Pages

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