Oct 15, 2009

instalasi zimbra di enterprise linux 4

--tentang ini--

http://wiki.zimbra.com/
http://www.zimbra.com/

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


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

--2--
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

--3--
[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:

https://192.168.1.150:7071/zimbraAdmin/   

sumber :
google
zimbra.com

Oct 14, 2009

Konfigurasi Bind - DNS on Enterprise Linux 4

--prepare --

[root@RAC1 ~]# rpm - qa | grep bind
ypbind-1.17.2-13
bind-utils-9.2.4-24.EL4
bind-libs-9.2.4-24.EL4
bind-devel-9.2.4-24.EL4
bind-9.2.4-24.EL4
bind-chroot-9.2.4-24.EL4
[root@RAC1 ~]# rpm - qa | grep caching
caching-nameserver-7.3-3



--2--

for default installation, file placed under /var/named/chroot . edit file named.conf
[root@]#vim /var/named/chroot/etc/named.conf
or
/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 "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.ip6.local";
        allow-update { none; };
};


--3--

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            192.168.1.150
ns1             IN A            192.168.1.150
www             IN A            192.168.1.150
mail             IN A            192.168.1.150



[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.


--4--

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


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


--5--

 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


;; QUESTION SECTION:
;sim-mob.com.                   IN      A


;; ANSWER SECTION:
sim-mob.com.            86400   IN      A       192.168.1.150


;; AUTHORITY SECTION:
sim-mob.com.            86400   IN      NS      ns1.sim-mob.com.


;; ADDITIONAL SECTION:
ns1.sim-mob.com.        86400   IN      A       192.168.1.150


;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 14 16:31:08 2009
;; MSG SIZE  rcvd: 79


and


[root@mail ~]# nslookup sim-mob.com
Server:         127.0.0.1
Address:        127.0.0.1#53


Name:   sim-mob.com
Address: 192.168.1.150

sumber : google.com

Oct 8, 2009

Setting Virtual Host XAMMP with xp

--detail--


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)


 --1--

Go to :
C:\WINDOWS\system32\drivers\etc
 and open file hosts

#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host


127.0.0.1       192.168.1.83  localhost
127.0.0.1       joomla.192.168.1.83  joomla.localhost  <== just for example

--2--

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
</Directory>
</VirtualHost>


--result--





sumber :