Tuesday, September 07, 2010

Memadukan Exchange 2000 And Zimbra 6.0.8

Setelah lama tidak berkesempatan untuk mengoprek dan menulis (maklum di tempat baru super sibuk dibanding tempat lama).

Kali ini berkesempatan menginstall zimbra 6.0.8 di ubuntu 8.04 under VM esxi. Existing mail server kantor mengunakan Exhange 2000 dengan sekitar 300 user. Dan manajemen berkinginan untuk migrasi atau paling tidak mengurangi jumlah user lisense yang harus dibeli. Maka diharapkan zimbra ini sebagai mail server untuk user2 yang hanya perlu beremail dengan rekan sekantor saja. Dan di exchange untuk user2 yang perlu berkomunikasi via email dengan pihak luar.

Domain yang sudah dipublish dan dipakai di exchange adalah .com, sedangkan di zimbra akan mengunakan domain .co.id yang tidak teregister.

checklist yang mesti dilakukan untuk tujuan diatas sebagai berikut;
1. Intall ubuntu 8.04
2. Setting bind dengan domain co.id (bisa dilihat disini.
3. memastikan domain .com bisa diresolve dengan ip private.
4. Install Zimbra
5. Membuat mx record untuk co.id di server AD
6. Configure authentication with AD
7. Create user di zimbra sebagai user AD
8. Configure GAL

untuk detailnya akan dibahas selanjutnya.

Wednesday, August 04, 2010

Mengingatmu

sudah lama engak menulis manual dan semenjak pindah kerja terasa susah sekali untuk menulis. Ada yang hilang. Ya.. kehilangan inspirasi.

Hari ini teringat tentang "someonein somewhere" hehehehe my ispiration. jadinya ya ditandai sja disni.hahahah


Btw emg ini lagi engak ada kerjaan... so ya coret2 saja disini.

Salam untuk orang2 tercinta.
Love you more than You know.

Wednesday, March 03, 2010

Starting OO in headless with Version OpenOffice 3.0 ++

Starting with OO 3.0 you do not need Xvfb anymore you can just use this:

* for Linux: /path/to/openoffice/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
* for Mac OS X: /path/to/openoffice.app/Contents/!MacOS/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
* for Windows: soffice.exe -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"

Linux (Debian,Ubuntu)
Open Office 2.4 Debian, Ubuntu

There are some improvements related to Openoffice 2.4 version. If you have to run old versions of Openoffice for any reason, please find the old section below. With 2.4, no more xvfb framebuffer needed.
Installation steps (based on Etch 4.0 i386)

1. Set backports for packages

* Check your Debian version, find suitable backport source
* vi(or nano or pico or your very favorite editor) /etc/apt/sources.list
* add this line
* deb http://www.backports.org/debian etch-backports main contrib non-free
* run apt-get update

1. Install packages

* Be sure all packages tagged with 2.4.0-4~bpo40+1
* openoffice.org-headless,
* openoffice.org-base, openoffice.org-writer, openoffice.org-calc, openoffice.org-impress, openoffice.org-draw, openoffice.org-math, openoffice.org-filter-mobiledev, openoffice.org-filter-binfilter, msttcorefonts, pstoedit, libpaper-utils, ttf-dejavu

1. Write startup script for test

* vi ooo.sh

unset DISPLAY
/usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard

* chmod +x ooo.sh

1. Run the oOo server as root.

* sh ooo.sh
* Check if server started with netstat -an | grep 8100
* Should seem like tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN
* Check you have soffice process running ps aux | grep soffice

1. Test the conversion from command line

* cd /usr/lib/red5/webapps/openmeetings/jod/
* cp /home/userx/testme.ppt . (figure out the copy ppt file to your server, winscp?)
* java -jar jodconverter-cli-2.2.0.jar -f pdf testme.ppt
* The result normally should be like below

com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection connect
INFO: connected
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection disposing
INFO: disconnected

1. Login to openmeetings and check the conversion from there too.

* Be sure that you select correct file type to convert. For example, pdf files NOT converted by OO but with swftools pdf2swf. Check available file formats from http://www.artofsolving.com/opensource/jodconverter

Check List, Pay ATTENTION to this List!!!

* run ooo.sh as root otherwise converted document cant be written.
* Dont mess with directory permissions of upload, uploadtemp and jod. DO NOT left any file world writable on your behind.
* If your app name is other then "openmeetings" you should find

webapp/src/app/org/openmeetings/app/remote/Application.java line 66 and change to your context (will be fixed in svn)

* check webapps/openmeetings/jod/ dir. You'll see
o BATCHTHUMB_date_time_stamp_thumbnail.sh
o PDFCONVERT_date_time_stamp_jodconverter.sh
o SWFCONVERT_date_time_stamp_swfconverter.sh
o THUMB_date_time_stamp_thumbnail.sh
* Those files created on the fly. Do not attempt to play with jodconverter2.sh
* Check command line error codes;
o com.sun.star.task.ErrorCodeIOException; Be sure all packages installed, check ooo.sh run by root.
o com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one; Be sure all packages installed.
* Always watch openmeetings.log to see what really goes on. tail -f /usr/lib/red5/openmeetings.log from your console.

Todo List

* Create Debian init script for safe oOo operation
* Understand this, why numbered list and bullet item couldnt be used together and always you have repeated number one in wiki :)

Install Open Office Service on Debian/(K)Ubuntu (versions > 2.3)

1. Install OpenOffice-Headless as root (through su, sudo, etc.):

sudo apt-get install openoffice.org-headless

2. Create and edit a file named openoffice.sh (for example) with you favorite editor over /etc/init.d:

vi /etc/init.d/openoffice.sh

#!/bin/bash
# openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
#
OOo_HOME=/usr/bin
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid

set -e

case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0

3. Change the permssions to this file:

chmod 0755 /etc/init.d/openoffice.sh

4. Install openoffice.sh init script links:

update-rc.d openoffice.sh defaults

5. Start the service:

/etc/init.d/./openoffice.sh start

6. You can see if openofice is running with this command:

netstat -nap | grep office

You should get something like this:

tcp 0 0 127.0.0.1:8100 0.0.0.0:*
LISTEN 2467/soffice.bin


****copas from http://code.google.com/p/openmeetings/wiki/OpenOfficeConverter*****

Wednesday, January 13, 2010

GNS3 : belajar Cisco di ubuntu 9.10

GNS3 adalah simulator cisco berbasis grafik yang bisa jalan di windows dan linux. mngkin kita pernah pakai dynagen dan dynamips untuk membuat cisco lab. nah dengan GNS3 membuat cisco lab akan semakin mudah.

pakcage nya bisa di unduh di http://gns3.net.
untuk penguna ubuntu 9.10 macam saya, bisa di instal lewat synaptic package manager dan pilih gns3,

yang kita perlukan adalah mengunduh ios cisco untuk dapat menjalankan simulator. untuk ios cisco bisa di unduh disini .

selanjutnya mensetup ios ke GNS yang akan muncul saat pertama kali kita menjalan kan dns3.

nampak di gambar seperti ini



nah setelah selesai setup ios, anda akan bisa memulai untuk membuat simulator cisco dengan cara drag and drop.

contoh yg telah saya buat untuk simulator frame relay adalah sebagai berikut :



silahkan baca manual di http://gns3.net/documentation untuk mengexplore lebih dalam tentang GNS3.

selamat mencoba.

Tuesday, December 08, 2009

Create openVPN client at Ubuntu 9.10

there is 2 ways to make openvpn connection, using pkcs file and from network manager (using cert, ca and key file)

in my case, i am using openvpn server running at IPCOP. You can see the manual from here.

the first, using PKCs file;
1. install openvpn from synaptec package manager
2. download file pkcs file and configuration from your ipcop machine to /etc/openvpn on zip fle. and you will get 2 file, example con1.p12 and con2ipcop.opvn.
3. copy both of file to /etc/openvpn
4. rename file con2ipcop.opvn to con2ipcop.conf
5. open terminal run the below command
$sudo /etc/openvpn/opevpn con2ipcop.conf
6. you have connected to vpn server and press Crtl+c to close connection

the second, using network manager

1. extrak pkcs file to cert and key file with following command;

openssl pkcs12 -nocerts -in con1.p12 -out userkey.pem
openssl pkcs12 -nokeys -clcerts -in con1.p12 -out usercert.pem
openssl pkcs12 -nokeys -cacerts -in con1.p12 -out userca.pem

2. put the file from step 1 to network manager as following picture



3. ready to go.

Thursday, December 03, 2009

Change Default OS at Ubuntu 9.10

If you have dual OS and want to change to WINDOWS as default OS, follow the below step;

1. See the first screen at your PC or LAPTOP. how many line in the boot screen
in my case, i have 7 line, the 1 line is ubuntu and the 7 line is windows XP.

2. open terminal and run the below command;
$sudo gpedit /etc/default/grub

change GRUB_DEFAULT=0 to GRUB_DEFAULT=6

in my case i change to number 6 if you have 4 line in boot screen so you must change to 3 as follow GRUB_DEFAULT=3

save and close your editor

3. run this command
$ sudo update-grub

then your default os will cahnge to windows.

nice to see you all.

Wednesday, November 11, 2009

Rocovery Ubuntu 9.10 after reinstall windows

Cerita nya berawal dari setelah instal ubuntu.10 (untuk bisa dual boot dengan xp), XP nya mengalami crash dan dengan terpaksa harus di install ulang. Setelah install XP selesai maka hilang lah grub loader yang sudah teristall.

Dan berikut ini cara2 mengembalikan grub2 loader di karmic koala. Di karmic koala mengunakan grub2 sehingga kita tidak menemukan lagi menu.lst dan memang ini menjadikan koala bisa berjalan lebih kenceng dari versi2 sebelum nya.

langkah2nya sebagai berikut;

1. booting dengan mengunakan live CD ubuntu 9.10
2. buka terminal
Ketikan perintah > sudo fdisk -l /dev/sda ( sda disesuaikan dengan jenis hardisknya)


disitu terlihat ubuntu terisntal di sda5 dan boot nya di root direktory bukan di partisi tersendiri.
3. lakukan mount ke mnt direktory
#mount /dev/sda5 /mnt

kita akan melihat directory boot, etc , var, usr dll di directory mnt

4. reinstall grub2
sudo grub-install --root-directory=/mnt  /dev/sda

5 reboot (setelah ini mesti nya sudah bisa running ubuntu jika belum lakukan hal berikut)
5a. sudo os-probe dan reboot (sampai diini ubuntu sudah jalan tetapi windows blm jalan)

6. setelah jalan ubuntu dari hardisk ketikkan perintah
> sudo update-grub
dan windows anda sudah masuk ke grub loader

semoga membantu.


Monday, November 09, 2009

Install Modem Huawei E169 at Ubuntu 9.10

recently i am using Telkomfalsh to access internet at my home with modem Huawei E169. The below i will show you how to configure the conection

1. go to conection manager and click mobile broadband as below picture


2. click add and see the below picture


3. click Forward and see the below picture

Choose the contry "indonesia"

4. click Forward and see the below picture

Choose "telkomsel"

5. click Forward and see the below picture


6. click Forward and see the below picture


7. click Apply and see the below picture

Click "connect automaticly" and delet username adn Password

8. Click Apply and close the network manager
9. Safe remove drive on virtual drive by right click Telkomflash drive.
10 open terminal and run the below script
>sudo rmmod usb-storage
>sudo modprobe -r option
>sudo modprobe -r usbserial
>sudo modprobe usbserial vendor=0x12d1 product=0x1001
and your Tflash is conected

my suggestion save the above script to file and make excuteable so next time you just run this file without running script one by one

hopefully can help you all.

Tuesday, November 03, 2009

7 step Install Ubuntu 9.10 at Lenovo G450

ubuntu masih konsisten dengan 7 langkah untuk melakukan instalasi. Kali ini saya buat review Ubuntu 9.10 yang sudah sangat support hardware terbaru. Setelah berhasil install di Lenovo G450 dan semua hardwarenya dikenali tanpa kendala apapun ( plug and play),

berikut resume nya;

1. VGA sangat bagus dan 3D langsung jalan so compiz nya dijamin jalan
2. Soundcard langsung bisa mengema waktu kita coba live CD nya
3. Camera terdeteksi dengan bagus dan ini bisa kita coba dengan program Cheese (di install dari synaptic Package manager)
4. Network card juga lansung on.
5. WIFI nah yang satu ini perlu usaha yang simple ( klo di realese sebelum nya aku perlu googling dulu, kali ini tidak perlu), untuk wifi cukup clik > System > Administration > Hardware driver dan pilih Broadcom STA wireless Driver > trus clik Install

selesai install direstart dan wifi is ready.

sekedar review untuk menunjukan bahwa ubuntu 9.10 semakin user friendly baik hardware apalagi software nya.

selamat mencoba dan Maju terus OpenSource

Wednesday, October 07, 2009

SAHANA (Sahana is a Free and Open Source Disaster Management system)

Sahana is a Free and Open Source Disaster Management system. It is a web based collaboration tool that addresses the common coordination problems during a disaster from finding missing people, managing aid, managing volunteers, tracking camps effectively between Government groups, the civil society (NGOs) and the victims themselves.

Sahana is an integrated set of pluggable, web based disaster management applications that provide solutions to large-scale humanitarian problems in the aftermath of a disaster. Our aspirations are as follows:

  1. Primary: Help alleviate human suffering and help save lives through the efficient use of IT during a disaster
  2. Bring together a diverse set of actors from Government, Emergency Management, NGOs, INGOs, spontaneous volunteers and victims themselves in responding effectively to a disaster
  3. Empower the victims, responders, volunteer to better enable them to help themselves and others
  4. Protect victim data and reduce the opportunity for data abuse
  5. Provide a Free and Open Source solution end-to-end available to everyone

With the above aspirations, the main applications built into Sahana and problems they address so far are as follows:

  1. Missing Person Registry - Helping to reduce trauma by effectively finding missing persons
  2. Organization Registry - Coordinating and balancing the distribution of relief organizations in the affected areas and connecting relief groups allowing them to operate as one
  3. Request Management System - Registering and Tracking all incoming requests for support and relief upto fulfillment and helping donors connect to relief requirements
  4. Camp Registry - Tracking the location and numbers of victims in the various camps and temporary shelters setup all around the affected area
  5. Volunteer Management - Coordinate the contact info, skills, assignments and availability of volunteers and responders
  6. Inventory Management - Tracking the location, quantities, expiry of supplies stored for utilization in a disaster
  7. Situation Awareness - Providing a GIS overview of the situation at hand for the benefit of the decision makers

**Mencoba ikut mempopulerkan SAHANA. kapan kapan bila ada waktu akan mencoba instalasi sahana di SME Server**

Social Bookmarking

You might have heard all the buzz about the term Social Bookmarking.

What is Social Bookmarking & Why is it so powerful and different from other web promotion tactics?

Social Bookmarking websites are basically sites that categorize and store 'bookmark links' (links which take one to a specific website). Millions of visitors flood these Social Bookmarking sites to search for information.
So the idea of bookmarking is to post links back to your web page from these Social Bookmarking websites. You need to specify some keywords (we call them TAGS) which categorize your bookmark.
This allows others to search and even vote for your bookmark. Social Bookmarking is in a league of its own because of its ability to generate traffic by sharing links.

Benefits Of Social Bookmarking



More Targeted Traffic


Since your bookmarks are categorized into different TAGS, you will get very targeted traffic from people searching within a particular TAG. They will click on your bookmark link and visit your site. Your tags will rank well in the search engines due to the authority these sites have.

Faster Search Engine Indexing

Most of these Social Bookmarking sites are authoritative sites. The search engine spiders visit these sites so often that your links will be crawled almost immediately!

Higher Search Engine Ranking

Getting one-way incoming links is the main factor to higher search engine ranking. With Social Bookmarking, you can get unlimited 'keyword' links to your site. Having more keyword links that are relevant to your site will result in higher ranking.


Better PageRank

Having high PR Social Bookmarking sites linked to your site will improve your site's PR. With a higher PR, you can link to your new/existing sites and improve their ranking too! You can even monetize on it by selling links from your site!

Thursday, September 24, 2009

OpenVPN at SME server 7.4

OpenVPN adalah fitur penuh open source solusi SSL VPN yang menampung berbagai konfigurasi, termasuk akses remote, site-to-site VPN, keamanan Wi-Fi, dan skala perusahaan solusi akses remote dengan load balancing, fail-over, dan kontrol akses. Dimulai dengan premis dasar bahwa kompleksitas adalah musuh keamanan, OpenVPN menawarkan biaya efektif, ringan alternatif teknologi VPN lainnya yang ditargetkan dengan baik untuk pasar UKM dan enterprise.

Contrib ini akan membantu Anda mengkonfigurasi modus OpenVPN di SME Server. Dengan modus ini, klien tersambung ke VPN dari luar akan mendapatkan sebuah IP pada subnet lokal, VPN dan Internal Interface yang dijembatani. Tidak ada masalah routing, tidak ada tambahan aturan firewall.

untuk lebih jelas nya silahkan ikuti link berikut ini

Saya sekarang mengunakan open VPN untuk meremote server di kantor dari rumah.
Lumayan bisa memudahkan untuk ijin engak kerja or Cuti. hehehehe

Friday, August 28, 2009

Install Joomla di SME Server 7.4

Langkah langkah untuk instal joomla di SME Server\

> Membuat Ibays untuk menyimpan joomla seperti gambar di bawah;



> Membuat database "joomla".
gunakan PHPMyadmin untuk mempermudah membuat database


> Download paket joomla dan simpan di ibays "joomla"
> Buka dari web address ibays joomla seperti berikut;
http://192.168.0.1/joomla (192.168.0.1 adalah IP Address dari SME server)

dan akan terlihat ada browser seperti berikut
Choose Langguage

memilih bahasa yg akan kita gunakan untuk joomla.
Next > Pre-Installation Check


Disini semua nya akan ready so tekan next untuk langkah selanjutnya

License

next > Database Configuration

database: mysql
hostname: localhost (or IP SME Server)
user name : root
password : xxxxx ( password root)
database name : joomla

next > FTP Configuration

FTP User : admin
FTP Pasword : xxxxx (admin password)
FTP root Path : /ibays/joomla/html
FTP Host : 192.168.0.1 (IP dari SME Server)
lainnya biarkan defoult

Next > Configuration

pada bagian ini kita harus setting user admin yang akan kita gunakan untuk mengatur joomla.
your email : kafemis@gmail.com
Admin Password : xxxxxxx
Confirm : xxxxxxx

dan kita bisa install sample data untuk memudahkan kita berlatih nanti nya.

next > Finish


sampai disini proses installation sudah selesai dan sebelum masuk ke admin panel, silahkan di hapus folder Installation terlebih dahulu dan kita sudah mempunyai CMS joomla.

Selamat mencoba dan selamat Berpuasa.

Friday, July 24, 2009

PDF2Word Converter

Menggunakan PDF-to-Word teknologi konversi, Anda dapat dengan cepat dan mudah membuat dan mengedit DOC / RTF file, sehingga anda dapat kembali menggunakan PDF file dalam aplikasi seperti Microsoft Word, Excel, OpenOffice, dan WordPerfect.
Best of all, it's sepenuhnya gratis!

cara nya cukup mudah,
1. buka saja address http://www.pdftoword.com/.
2. Browse file PDf yang akan ke convert ke word
3. Masukkan email yang akan digunakan untuk mengirim hasil convert.
4. tekan convert.

dalam beberapa menit anda akan menerima file beserta attachment hasil convert diatas.

semoga bermanfaat.

Wednesday, July 22, 2009

Tux4Kids

Tux4Kids mengembangkan perangkat lunak berkualitas tinggi untuk anak-anak, dengan tujuan menggabungkan permainan dan belajar menjadi paket yang sangat menarik. Tux4Kids adalah perangkat lunak bebas (GNU): anda dapat men-download-nya untuk digunakan di rumah atau ke ratusan komputer di sekolah. Tux4Kids mendukung semua platform utama, termasuk Windows, Macintosh, dan Linux / Unix. Program ini digunakan oleh orang-orang di seluruh dunia, dan mereka telah diterjemahkan ke dalam puluhan bahasa. Sebagai perangkat lunak sumber terbuka (OPEN SOURCE), program-program ini bisa diperpanjang atau disesuaikan dengan bebas, dan mereka didukung oleh komunitas sukarelawan aktif pengembang.
Apakah anda orang tua, guru, atau anak-anak, Silahkan mencoba?

Download disini

Tuesday, June 23, 2009

Roadwarrior di IPCOP 1.4.21

Setelah berhasil dengan net2net, kali ini akan giliran mencoba dengan host to net di IPCOP. Sekenario nya adalah VPN server nya pakai IPCOP (yg mana paket ipsec vpn/openswan) dengan client dari windows XP.
Jaringan yang ada sebagai berikut
gren1 -- site1 ---- internet
green1 adalah 192.168.1.0/24
site1 dengan IP Public 201.130.2.3 dengan hostname site1.localdomain
Langkah langkanya di sisi IPCOP
1. Global Setting
isi "Public IP or FQDN for RED interface or <%defaultroute>:" dengan 201.130.2.3, check "enabled" dan tekan Save

2. Generate Root/Host Certificates
Tekan tombol "Generate Root/Host Certificates" dan isikan berikut dibawah
- Organization name : site1
- IPCops Hostname : site1.localdomain
- country : indonesia
- Tekan tombol "Generate Root/Host Certificates" dan tunggu beberapa saat

3. Membuat Koneksi
di site1 : Tekan tombol "ADD" dan pilih "host-to-net" Virtual Private Network(Roadwarrior)" untuk conection type dan isikan dibawah ini
-Name : site1
- Host IP address : Red (201.130.2.3)
- local subnet : 192.168.1.0/255.255.255.0
- di "Authentication" pilih "generate a certificate" dan isikan sbb
> User's full name or ystem hostname : site1.localdomain
> Contry : indonesia
> PKCS12 File Password : passwordku
> PKCS12 File Password:(confirmation) : passwordku
- tekan tombol Save

5. download certifate dari koneksi yang telah kita buat.
6. jalankan perintah berikut dan catat hasil nya
# openssl x509 -in /var/ipcop/certs/cacert.pem -noout -subject

Langkah langkah di sisi client (windows XP)
1. Download ipsec.exe utility dari http://vpn.ebootis.de dan unzip di c:/ipsec
2. buat IPSEC + Certificates MMC
- Start/Run/MMC
- File (or Console)
- Add/Remove Snap-in
- Click on 'Add'
- Click on 'Certificates', then 'Add'
- Select 'Computer Account', and 'Next'.
-Select 'Local computer', and 'Finish'.
-Click on 'IP Security Policy Management', and 'Add'
-Select 'Local Computer', and 'Finish'
- Click 'Close' then 'OK'

3. menambah certificate
- Click tanda + di 'Certificates (Local Computer)'
- Right-click 'Personal', and click 'All Tasks' then 'Import'
- Click Next
- pilih file site1.p12 atau browse file tersebut, and click 'Next'
- masukkan password, and click Next
- Select 'Automatically select the certificate store based on the type of certificate', and click Next
- Click Finish, and say yes to any prompts that pop up
- Exit the MMC, and save

4. Set up Ipsec utility
edit file ipsec.conf di c:/ipsec ganti "RightCA" dengan hasil dari perintah 'openssl x509 -in /var/ipcop/certs/cacert.pem -noout -subject'; dan sesuaikan dengan contoh dibawah;
conn site1
left=%any
right=201.130.2.3
rightca="C=ID,O=site1,CN=site1 CA"
network=auto
auto=start
pfs=yes


5. Jalan ipsec
c:\ipsec\ipsec dan kita bisa melakukan test koneksi dengan Ping ke green IP di IPCOP

Selamat Mencoba

Monday, June 22, 2009

Net2Net VPN di IPCOP

Kali ini berkesempatan untuk menghubungkan 2 site yang sama2 mengunakan IPCOP versi 1.4.21 ( dengan IPsec VPN nya dan yang dipakai adalah paket openswan). Untuk Road warrior nya bisa dilihat disini

Jaringan yang ada sebagai berikut

gren1 -- site1 ---- internet ----- site2 --- green2

green1 adalah 192.168.1.0/24

site1 dengan IP Public 201.130.2.3 dengan hostname site1.localdomain

green2 adalah 192.168.2.0/24

site2 dengan IP Public 201.130.132.5 dengan hostname site2.localdomain

langkah2nya

1. Global Setting

Di site1
isi "Public IP or FQDN for RED interface or <%defaultroute>:" dengan 201.130.2.3, check "enabled" dan tekan Save

Di site2
isi "Public IP or FQDN for RED interface or <%defaultroute>:" dengan 201.130.132.5, check "enabled" dan
tekan Save

2. Generate Root/Host Certificates

di site1 : Tekan tombol "Generate Root/Host Certificates" dan isikan berikut dibawah
- Organization name : site1
- IPCops Hostname : site1.localdomain
- country : indonesia
- Tekan tombol "Generate Root/Host Certificates" dan tunggu beberapa saat
- dowload root certificate dan ganti namanya ke cacert.site1.pem
- download host certificate dan ganti namanya ke hostcert.site1.pem

di site2 : Tekan tombol "Generate Root/Host Certificates" dan isikan berikut dibawah
- Organization name : site2
- IPCops Hostname : site2.localdomain
- country : indonesia
- Tekan tombol "Generate Root/Host Certificates" dan tunggu beberapa saat
- dowload root certificate dan ganti namanya ke cacert.site2.pem
- download host certificate dan ganti namanya ke hostcert.site2.pem

3. Upload CA certificates
di site1
- CA Name : site2
- Browse dan pilih file "cacert.site2.pem
- Tekan tombol "Upload CA Certificate" dan ini akan menambahkan CA certificate dari site2 ke site1 dan akan nampak di baris ke 3 di certificate authorities.

di site2
- CA Name : site1
- Browse dan pilih file "cacert.site1.pem"
- Tekan tombol "Upload CA Certificate" dan ini akan menambahkan CA
certificate dari site1 ke site2 dan akan nampak di baris ke 3 di certificate authorities.

4. Membuat Koneksi
di site1 : Tekan tombol "ADD" dan pilih "net-to-net" Virtual Private Network" untuk conection type dan isikan dibawah ini
- Name : site2
- Host IP address : Red (201.130.2.3)
- local subnet : 192.168.1.0/255.255.255.0
- Remote Host/IP : 201.130.132.5
- Remote subnet : 192.168.2.0/ 255.255.255.0
- di "Authentication" section pilih "Upload a Certificate dan browse
file "hostcert.site2.pem"
- terakhir tekan tombol "Save"

di site2 : Tekan tombol "ADD" dan pilih "net-to-net" Virtual Private Network" untuk conection type dan isikan dibawah ini
- Name : site1
- Host IP address : Red (201.130.132.5)
- local subnet : 192.168.21.0/255.255.255.0
- Remote Host/IP : 201.130.2.3
- Remote subnet : 192.168.12.0/ 255.255.255.0
- di "Authentication" section pilih "Upload a Certificate dan browse file "hostcert.site1.pem"
- terakhir tekan tombol "Save"

5. selesai dan biarkan beberapa saat maka koneksi nya akan
berubah "Open'


semoga Bermanfaat.

Friday, May 22, 2009

Install ubuntu server 8.04 at Virtual Box

Melanjutkan coretan sebelumnya, sekarang akan saya tuliskan hasil trial "install Ubuntu server 8.04 di Virtualbox. Kenapa saya memerlukan Virtual box karena saya menginginkan zimbra jalan di sme dalam satu PC dan itu hanya bisa dilakukan dengan virtualisasi. dan nanti nya zimbra ini akan memakai authentikasi dari LDAPnya SME server.

sebelum nya, aktifkan SSH conection untuk meremote Virtualbox Server Host, selanjutnya :

1. ketik perintah dibawah untuk pindah ke derektori tempat VBoxHeadless
#cd /usr/bin

2. Membuat Virtual mesin ubuntu
#VBoxManage createvm "ubuntu" -register

3. Menstting parameter VM untuk OS Ubuntu
#VBoxManage modifyvm "ubuntu" -memory "512MB" -acpi on -pae on -boot1 dvd -nic1 bridged -bridgeadapter eth0

4. membuat Virtual hardisk untuk VM kita
#VBoxManage createvdi -filename "ubuntu.vdi" -size 30000 -register

5. mengalokasikan VDI yg baru dibikin sebagai fvirtual hardisk yang pertama dari VM
#VBoxManage modifyvm "ubuntu" -hda "ubuntu.vdi"

6. mendaftarkan ISO yang berisi OS yang akan kita install dalam hal ini "ubuntu server 8.04"
#VBoxManage registerimage dvd /root/ubuntu-8.04.2-server-i386.iso

7. Meletakkan ISO ke VM sehingga bisa di booting
#VBoxManage modifyvm "ubuntu" -dvd /root/ubuntu-8.04.2-server-i386.iso

8. jalankan VM dengan perintah VBoxHeadless
#VBoxHeadless -startvm "ubuntu"

9. Buka PC client dan jalankan remote Desktop Connection dan coba konek ke server
dan akan terlihat proses instalasi Ubuntu server..

dan lakukan step berikutnya utuk instalasi Ubuntu server.

10. setelah selesai instalasi ubuntu ketik perintah berikut
#VBoxManage modifyvm "ubuntu" -dvd none

Selamat Mencoba

Virtual Box at SME 7.4

Berikut ini langkah untuk meninstall VBox di SME 7.4

1. download package berikut ini
wget ftp://ftp.pbone.net/mirror/www.whiteboxlinux.org/whitebox/4/en/updates/i386/alsa-lib-1.0.6-5.RHEL4.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/4.7/os/x86_64/CentOS/RPMS/SDL-1.2.7-8.i386.rpm
wget http://download.virtualbox.org/virtualbox/2.2.2/VirtualBox-2.2.2_46594_rhel4-1.i386.rpm
wget http://kevinps2003.tripod.com/vboxdrv-2.2.2.tar.gz

2. Install package yang dibutuhkan oleh virtualbox
rpm -Uvh alsa-lib-1.0.6-5.RHEL4.i386.rpm
rpm -Uvh SDL-1.2.7-8.i386.rpm

3. buat group "vboxusers" di sme server manager
4. buat Ibays untuk virtualbox files dengan nama "virtualbox" dan Set Group to ‘vboxusers’ and User Access ke ‘read=group, write=group’.
5. Install Virtual Box dengan perintah berikut;
rpm -Uvh VirtualBox-2.2.2_46594_rhel4-1.i386.rpm
abaikan jika ada pesan error

6. Extract files vboxdrv-2.2.2.tar.gz
tar -zxvf vboxdrv-2.2.2.tar.gz

7. Copy virtualbox drivers
cp vboxdrv.ko /lib/modules/2.6.9-78.0.8.EL/
cp vboxnetflt.ko /lib/modules/2.6.9-78.0.8.EL/

8. rubah module permissions and owner
chown root:root /lib/modules/2.6.9-78.0.8.EL/vboxdrv.ko
chown root:root /lib/modules/2.6.9-78.0.8.EL/vboxnetflt.ko
chmod 644 /lib/modules/2.6.9-78.0.8.EL/vboxdrv.ko
chmod 644 /lib/modules/2.6.9-78.0.8.EL/vboxnetflt.ko

9. lakukan test module kernel jika tidak ada pesan kesalahan bisa dilanjutkan untuk prosesberikutnya
insmod /lib/modules/2.6.9-78.0.13.EL/vboxdrv.ko
insmod /lib/modules/2.6.9-78.0.13.EL/vboxnetflt.ko

10. verifikasi kernel modules telah dipangil
lsmod | grep vbox

dan hasilnya seperti ini
vboxnetflt 78504 0
vboxdrv 100008 1 vboxnetflt

11. Unload kernel
rmmod vboxnetflt
rmmod vboxdrv

12. Jalankan DEPMOD untuk menngecek keterkaitan modules
depmod -a /lib/modules/2.6.9-78.0.8.EL/vboxnetflt.ko

13. Lakukan test bahwa module kernel telah terpangil dengan benar
modprobe vboxnetflt

14. Periksa kembali bahwa module telah terpangil
lsmod | grep vbox

dan hasilnya seperti ini
vboxnetflt 78504 0
vboxdrv 100008 1 vboxnetflt

15. buang file yang tidak diperlukan
rm /etc/vbox/module_not_compiled

16. Set Environment Variable
export VBOX_USER_HOME=/home/e-smith/files/ibays/virtualbox/files/.VirtualBox

17. permanenkan setting Environment Variable
nano /etc/profile.d/vboxpath.sh

dan tambahkan 2 baris berikut ini
# /etc/profile.d/vboxpath.sh - Set Virtual Box Settings Location
export VBOX_USER_HOME=/home/e-smith/files/ibays/vbox_files/files/.VirtualBox

rubah hak accesnya menjadi executable
chmod 755 /etc/profile.d/vboxpath.sh

18. periksa kembali setting environment variable telah benar
echo $VBOX_USER_HOME

hasilnya harus seperti ini
/home/e-smith/files/ibays/vbox_files/files/.VirtualBox

19. Sekarang anda bisa membuat Virtual machine anda sendiri

berikatnya saya akan tulis cara instal Ubuntu 8.04 Server di virtual box

Tuesday, May 19, 2009

Zimbra + External LDAP (SME LDAP)

Zimbra .... emg menarik untuk di sejajarkan dengan Ms E. dengan fungsi yg sama dengan Ms E maka sangat layak untuk di implementasikan di company yg mw berhemat. Kali ini saya akan menuliskan hasil trial untuk bikin SSO di SME dan Zimbra.

pertama kita harus menginstall samba ldap di SME server kita, untuk itu bisa merefer ke link berikut ini http://wiki.contribs.org/LDAP

-Selanjutnya di log in ke zimbra dan masuk pada configure authentication
-pilih external LDAP di authentication mode > next
isikan sesuai domain anda


-terus tekan Next 2 kali
- isikan user dan password dari SME server anda
- click test (akan terliaht massage sucsesfull authenticatn)
_ finish

setelah selesai buat user di zimbra yang sama dengan user di sme, maka sekarang user di SME akan bisa login di zimbra.

met mencoba.