Oct 15, 2009

instalasi zimbra di enterprise linux 4

--tentang ini--


Untuk instalasi dan sekedar dokumentasi, ( base on tutorial yang didapat) . so.... lets begin

Dns seperti yang telah di ketahui untuk dns bisa langsung di lihat Konfigurasi Dns on Enterprise Linux
dan pastikan bind terinstall dengan baik.

for software zimbra bisa di download from the original website. and i use zimbra versi open source nya.
from http://download.zimbra.web.id/binary/6.0.1/zcs-6.0.1_GA_1816.RHEL4.20090911162108.tgz
dan extrak file hasil download.

[root@mail share]# tar -xvzf zcs-6.0.1_GA_1816.RHEL4.20090911162108.tgz

[root@mail share]# cd zcs-6.0.1_GA_1816.RHEL4.20090911162108

Secara normal untuk instalasi bisa langsung dengan menjalankan script

[root@mail share]#./install

Tapi karena tidak menggunakan RHEL4 so jalankan dengan perintah

[root@mail share]# ./install.sh --platform-override


ikuti petunjuk sampai selesai dan zimbra siap di jalan kan.

--testing n checking--
zimbra bisa di akses melalui dns ato ip servernya

untuk administrasi console bisa di akses melalui:   

sumber :

Oct 14, 2009

Konfigurasi Bind - DNS on Enterprise Linux 4

--prepare --

[root@RAC1 ~]# rpm - qa | grep bind
[root@RAC1 ~]# rpm - qa | grep caching


for default installation, file placed under /var/named/chroot . edit file named.conf
[root@]#vim /var/named/chroot/etc/named.conf

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };

zone "sim-mob.com" IN {

        type master;

        file "/var/named/sim-mob.com";


zone "1.168.192.in-addr.arpa" IN {

        type master;

        file "/var/named/1.168.192.in-addr.zone";


zone "" IN {
        type master;
        file "named.ip6.local";
        allow-update { none; };


create file under /var/named
[root@RAC1 ~]# vi /var/named/sim-mob.com

$TTL    86400
@               IN SOA  sim-mob.com.  root.sim-mob.com. (
                                        45              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

@               IN NS           ns1.sim-mob.com.
@               IN MX           0 mail.sim-mob.com.
@               IN A  
ns1             IN A  
www             IN A  
mail             IN A  

[root@RAC1 ~]# vi /var/named/1.168.192.in-addr.zone
$TTL    86400
@               IN SOA  sim-mob.com.  root.sim-mob.com. (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

@               IN NS           ns1.sim-mob.com.
1               IN PTR          mail.sim-mob.com.


another option in
[root@mail ~]# vi /etc/resolv.conf

[root@mail ~]# vi /etc/host.conf
#order hosts,bind
order bind,hosts


 restart service
[root@mail ~]# /etc/init.d/named restart
( no error found )

--cecking n testing--

[root@mail ~]# dig sim-mob.com

; <<>> DiG 9.2.4 <<>> sim-mob.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3370
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;sim-mob.com.                   IN      A

sim-mob.com.            86400   IN      A

sim-mob.com.            86400   IN      NS      ns1.sim-mob.com.

ns1.sim-mob.com.        86400   IN      A

;; Query time: 1 msec
;; WHEN: Wed Oct 14 16:31:08 2009
;; MSG SIZE  rcvd: 79


[root@mail ~]# nslookup sim-mob.com

Name:   sim-mob.com

sumber : google.com

Oct 8, 2009

Setting Virtual Host XAMMP with xp


Virtual hosting is a method that servers such as web servers use to host more than one domain name on the same computer, sometimes on the same IP address.
Virtual web hosting is one of the most popular hosting options available at the moment—probably because it is one of the most cost effective options on the market. Also known as shared web hosting, virtual hosting allows a website owner to have a site hosted on a web server that is shared with other websites. In simple terms, the virtual hosting company's server will allocate out hosting services and bandwidth to more than one website. Virtual web hosting is a cheaper hosting option because you won't have to pay for a dedicated server to host just your website.
Virtual web hosting is a good solution for small- to medium-sized )(and even some larger) websites that aren't constantly being visited or that have reasonable bandwidth needs.(http://en.wikipedia.org/wiki/Virtual_host)


Go to :
 and open file hosts

# For example:
#     rhino.acme.com          # source server
#     x.acme.com              # x client host  localhost       joomla.  joomla.localhost  <== just for example


then edit httpd-vhosts.conf, in my instalation place in C:\xampp\apache\conf\extra
became like this

# Virtual Hosts
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
# You may use the command line option '-S' to verify your virtual host
# configuration.

# Use name-based virtual hosting.
##NameVirtualHost *:80
NameVirtualHost joomla.localhost:80

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
<VirtualHost *:80>
    ServerAdmin webmaster@joomla.localhost
    DocumentRoot E:\www\joomla
    ServerName joomla.localhost
    ServerAlias joomla.localhost
    ErrorLog E:\www\joomla\joomla.localhost-error_log
    CustomLog E:\www\joomla\joomla.localhost-access_log common
    <Directory "E:\www\joomla">
    Options Indexes Multiviews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all


sumber :