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.

Saturday, April 04, 2009

Install asterisk di SME 7.4

Kali ini saya akan membuat coretan tentang asterisk sehingga bisa digunakan untuk IPPBX. Saya sudah berhasil mencoba nya di PC Pentium 4 2Ghz, dengan Ram 512. dan tentu saja SME yang terinstall adalah release 7.4, bisa di unduh di http://wiki.contribs.org/SME_Server_7.4.

Dan package2 yang kita butuhkan adalah
1. smeserver-asterisk
2. smeserver-asterisk-zappri-MPP
3. sail-2

package tersebut bisa diambil di http://distro.ibiblio.org/pub/linux/distributions/smeserver//contribs/selintra/RPMS/AsteriskForSail-2.1.15/ dan http://sarkpbx.com/sail/

Package yang ke tiga memerlukan beberap pakacge tambahan yang akan di sebutkan saat sintallasi, so untuk memudahkan sebaik nya dipastikan smeserver kita terkoneksi ke internet. untuk mengambil depedensi pakacge nya.

Samapai disini kita sudah punya IPPBX yang siap kita operasi kan.

Monday, March 23, 2009

Elliott Yamin - Wait For You

I never felt nothing in the world like this before

Now I'm missing you and I'm wishing you would come back through my door

Why did you have to go?

You could have let me know; so now I'm all alone





Girl you could have stayed but you wouldn't give me a chance

With you not around it's a little bit more than I can stand

And all my tears they keep runnin' down my face

Why did you turn away?





So why does your pride make you run and hide

Are you that afraid of me?

But I know it's a lie what you keep inside

This is not how you want it to be





So baby I will wait for you

Cause I don't know what else I can do

Don't tell me I ran out of time

If it takes the rest of my life





Baby I will wait for you

If you think I find it just ain't true

I really need you in my life

No matter what I have to do

I'll wait for you





Been a long time since you called me

(How could you forget about me)

You gotta be feeling crazy

How can you walk away

(When) Everything stays the same

I just can't do it baby





What will it take to make you come back

Girl I told you what it is and it just ain't like that

Why can't you look at me?

You're still in love with me

Don't leave me crying





Baby why can't we just start all over again

Get it back to the way it was

If you give me a chance I can love you right

But you're telling me it won't be enough





So baby I will wait for you

Cause I don't know what else I can do

Don't tell me I ran out of time

If it takes the rest of my life





Baby I will wait for you

If you think I find it just ain't true

I really need you in my life

No matter what I have to do

I'll wait for you





So why does your pride make you run and hide

Are you that afraid of me?

But I know it's a lie what you're keeping inside

That is not how you want it to be





Baby I will wait for you

Baby I will wait for you

If it's the last thing I do





Baby I will wait for you

Cause I don't know what else I can do

Don't tell me I ran out of time

If it takes the rest of my life





Baby I will wait for you

If you think I find it just ain't true

I really need you in my life

No matter what I have to do

I'll wait for you

I'll be waiting …











mellow mode "on" :)

Thursday, March 19, 2009

Ubuntu Server 8.04

1. Merubah IP
Secara Default Ubuntu server mengunakan DHCP dalam proses instalasi. so tidak mungkin lah server memakai DHCP. IP server mesti wajib static. (dengan IP static yang kita berikan ini nanti nya kita bisa me remotenya tanpa harus berdingin ria di ruang server :) )

untuk menganti IP nya akan membuka file /etc/network/interfaces denganperintah punyutingan text nano (lebih suka nano dari pada Vi)

$sudo nano /etc/network/interfaces

maka akan nampak sebagai berikut

auto eth0
iface eth0 inet dhcp

ganti "dhcp" dengan "static"

tambahkan line berikut di bawah nya

address 192.168.0.254
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

sesuaikan ip address dan gateway dengan punya anda sendiri.

simpan dan lakukan restart service nertwok

$sudo /etc/init.d/networking restart

dan IP yang baru sudah aktif.

2. Update packages
#apt-get update

3. Install SSH server
#apt-get install ssh openssh-server


Tuesday, February 24, 2009

Install Zimbra at Ubuntu server 8.04

Sebelum memulai menginstall zimbra pastikan bahwa DNS server sudah tersetup dengan benar. dan domain yang akan di buat juga sudah tersetup dengan benar. Dan dns kita haus bisa me resolve domain kita. Dalam hal ini saya memakai doamain domainku.com dengan IP 192.168.0.1

1 edit file /etc/hosts
#nano /etc/hosts

pastikan 2 baris perintah dibawah sudah ada

127.0.0.1 localhost
192.168.0.1 domainku.com

2.jalankan perintah berikut di terminal
#echo domaiku.com > /etc/hostname

dan reboot

3. edit file /etc/resolv.conf
#nano /etc/resolv.conf

ganti dengan baris berikut

domain domainku.com
nameserver 192.168.0.1

4. restart bind denga perintah # /etc/init.d/bind9 restart
dan lakukan test untuk me-resolve ke google.com dengan perintah #dig google.com
jika kita mendapatkan ip dari google.com maka setingan kita sudah berhasil

dan selanjutnya adalah memastikan dns server kita bisa meresolve domain kita.

5. edit file /etc/bind/named.conf.local
# nano /etc/bind/named.conf.local
dibagian paling bawah ketikan baris perinta berikut

zone "domainku.com" {
type master;
file "/etc/bind/db.domainku.com";
};

6. buat file db.domainku.com
#nano /etc/bind/db.domainku.com

isikan baris perintah berikut

;DOMAINKU.COM
$TTL 604800
@ IN SOA mail.domainku.com. root.domainku.com. (
2006020201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
60480); Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.0.1
mail IN A 192.168.0.1

restart bind #/etc/init.d/bind9 restart
lakukan test untuk meresolve domaiku.com dengan perintah #dig domainku.com
jika kita telah melihat seperti berikut dibawah

;domainku.com. IN A

;; ANSWER SECTION:
jatimjobs.net. 604800 IN A 192.168.0.1

;; AUTHORITY SECTION:
domainku.com.net. 604800 IN NS mail.domainku.com.

;; ADDITIONAL SECTION:
mail.domainku.com.net. 604800 IN A 192.168.0.1

Ini artinya DNS telah sukses meresolve doaminku.com.

langkah selanjutnya adalah menginstall zimbra

1. Download file zcs-5.0.13_GA_2791.UBUNTU8.20090206174622.tgz
(saya pakai versi 5.0) di zimbra.com
2. extrak file source
#tar xvfz zcs-5.0.13_GA_2791.UBUNTU8.20090206174622.tgz
3. install dulu package yg di butuhkan
#apt-get install libidn11-dev libpcre3-dev libgmp3-dev libexpat1-dev libxml2-dev openssl libltdl3-dev perl
jika ini ada error , peru di update dulu package nya dengan perintah "apt-get update"
4. massuk ke direktori dan jalankan instalasi
#cd zcs-5.0.13_GA_2791.UBUNTU8.20090206174622
#./install.sh
5. Jawab semua pertannyaan dengan "Y"
6. Jangan lupa untuk setting password "admin"
7. Ketika muncul Configuration complete ... tekan Enter
8. dan installasi sudah selesai.

Selanjutnya untuk memanage zimbra bisa diakses via web dengan url https://domainku.com:7071

Selamat mencoba..

Wednesday, February 04, 2009

Backup dan Restore di SME Server 7.3

Wah gimana rasa nya jika tiba2 server untuk file sharing kita down. walaupun sudah kita backup sebelum nya rasanya tetep bikin ngeri. Klo bisa server itu g pernah rusak sampai masa dia harus diganti krn sudah uzhur :)

Nah berikut ini coretan yang saya bikin saat server saya mengalami kerusakan ("30 januari 2009") pada harddisk nya akibat listrik up and down (asumsi pribadi krn emg beberpa minggu sebelum nya listriknya di malem hari mati dan sampai ups sudah tidak cover lagi).

Langkah pertama adalah mencoba merecovery data yang ada di hardisk dengan mengunakan Rstudio (yg ini bajakan ngambil dari 4shared.com) yang dijalankan pada windows xp. Kelebihan Rstudio, software ini bisa mengenali pastisi linux dan untuk partisi sme yang bermacam2 juga bisa dikenali.

langkah kedua. menginstall sme 7.3 pada harddisk yang baru. perhatikan pada saat booting pertama kali setelah install sme 7.3, akan diminta untuk merestore configurasi dan data (jgn lewatkan ini krn hanya muncul sekali, pada saat booting pertama kali.) back up yang dikenali pada proses ini adalah back up dari desktop.

jika proses ini berhasil maka seluruh settingan dan data pertanggal kita backup via desktop akan balik.

Dan untuk mengembalikan data yang direcoery dengan rstudio bisa melalu winscp.

Pehartian bagi penguna sme. jangan lupa untuk mengunakan backup via desktop sekali dan selanjutnya bisa mengunakan tape drive atu backup to usbdisk/lan.

hanya sekedar catatan

Thank.... Izki

Saturday, January 10, 2009

Nambah Harddisk di HP Netserver LC 2000 U3

Ini hanya sekedar catan kecil dari prosses penambahan harddisk di serverku.. (biar besok maneg kagak lupa bila2 server nya udah full maneng.

aku pakai raid card dan aku pakai harddisk ultra scsi32 dan aku mw tambah hardisk 70 GB.

jd ini proses rada2 trial error krn g ada manualnya yang dipegang. so langkah pertama adalah membackup data2 nya. bisa selamat dunia dulu :) :).

berikut step by step nya.

1. jangan lupa memback-up data2 krn akan mengisntall ulang server nya
2. Masukkan harddik ke drive bays yang ada
3. masukan CD HP netserver Navigator untuk melaulakn setting raid nya
(untuk cttn harddiks yang beda ukuran dengan sebelum nya tidak bisa di jadikan satu array so mesti ada 2 array dan itu artinya paling tidak akan punya 2 partition)
4. selebih nya ikutin aja tuh guide yang ada di layar dijamin bisa walau munyeng2 sikit.
**aku sempet install berulang ulang krn seabis install card nya kupindahin ke pc dengan maksud untuk merestore datanya lewat pc aja tetapi cilaka.... begitu card nya di balikin ke server, windows nya rusak berat. dan mulai dari awal algi.

selebih nya lancar2 aja. walau menelan waktu yang hampir 10 jam lebih.

akhir nya servermail ku idup lagi.. :D oo ya aku pakai domino server untuk mail server. krn kantor bisa beli coi :) klo g bisa mungkin bisa ku oprekkan zimbra.

thank to Dudun (my prend)

Wednesday, December 24, 2008

Samba+LDAP on SME 7.3

Kali ini berkesempatan untuk mengoprek LDAP + Samba di SME 7.3.

package yang di perlukan adalah;

1. nscd-2.3.4-2.41.i386.rpm bisa di ambil disini
2. nss_ldap-253-5.el4.i386.rpm bisa diambil disini
selanjutnya paket e-smith-base+ldap dan e-smith-samba+ldap bisa di download dari repository SME dengan perintah berikut dibawah;

yum install e-smith-base+ldap e-smith-samba+ldap --enablerepo=smetest --enablerepo=smeupdates-testing

setelah itu jalankan perintah 'signal-event post-upgrade dan signal-event reboot"

dan LDAP server sudah terinstal di sme,

untuk proses adminitrasi bisa di install phpldapadmin.
caranya jalankan dari terminal 2 perintah dibawah ini
1. wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=323"
2. yum localinstall smeserver-phpldapadmin-0.9.8.3-1.noarch.rpm

dan akses phpldapadmin dari web browser dengan address https://IP/phpldapadmin.

Akan terlihat semua user dan computer yang telah di create di SME.

Untuk check LDAP server dan semurna jalannya apa belum bisa lewat email outlook dengan mengakatifkan main directory.

untuk fungsi LDAP selebih nya ...aku juga lagi explorer

moga bermanfaat.

Monday, December 01, 2008

Ubuntu 8.10

Ya akhir nya berkesempatan juga menginstall ubuntu 8.10
apa ya yang berubah ?????

yang paling nampak untukku adalah WLAN, karena ini lah fungsi yang dulu di release sebelum nya setengah mati untuk mensetting nya,
aku pakai laptop compaq presario M2000, dimana acess pointku mengunakan linksys dengan authenticasi nya preshare. di ubuntu 8.04 masih perlu goprek lagi untuk dapat koneksi ke access point tetapi di release terbaru ini sudah dangat mudah sekali, user tinggal di minta memasukkan prshare key nya untuk dapat koneksi ke accces point dan akan tersimpan selama.

dan perubahan yang lain, firefox nya release 3.03, openoffice 2.4, yang jelas makin perfect aja.

sepertnya itu saja yang bisa diceritakan, nanti akan aku publis jika sudah berkesempatan ngoprek lain2 nya.

Makasih tuk IZki and Chubby for your support.

Sunday, November 30, 2008

Putty 4 UIQ3 (Putty on mobile)

Hi Jumpa lagi, Setelah lama berjibaku untuk update office 97 ke office 2007 (Project company, so Mesti dikerjai juga toh, Walau kita sangat support pengunaan open source).

Kali ini aku berkesempatan mecoba meremote server kantor (serverku pakai SME Server 7.3) melalui HP SE P990i mengunakan Putty for UIQ. Tools ini sama dengan putty yang di pc dan free pula, (ya kalau ada uang lebih boleh lah mendonasikan sedikit rezekinya untuk project ini, biar project nya berkesinambungan). Softwarenya bisa diunduh di http://coredump.fi/putty.
- support ssh vesrsion 1 n 2
- wlan, 3G dan GPRS


so klo ada masalah dengan server, bisa meremote via HP,

thank to Uncle "G" and IZKI

Wednesday, October 22, 2008

You are

Sometimes I try to count the ways and reasons that I love you
But I can't ever seem to count that far
I love you in a million ways and for a million reasons
More than this I love you as you are
More than this I love you as you are

You are my inspiration, you are the song I sing
You are what makes me happy, you are my everything
You are my daily sunshine, you are my ev'ning star
Ev'rything I'll ever need or want, that's what you are
Ev'rything I'll ever need or want is what you are

You are my thoughts when I'm awake, my dreams when I'm asleep
You are the reason for my smile, you are the words I speak
Every role I play in life you play the leading part
Ev'rything I'd ever hope to find is what you are
Ev'rything I'd ever hope to find is what you are

You are my inspiration, you are the song I sing
You are what makes me happy, you are my everything
You are my daily sunshine, you are my ev'ning star
Ev'rything I'll ever need or want, that's what you are
Ev'rything I'll ever need or want is what you are

You are...
You are

Sunday, August 24, 2008

VPN, SME and IPCOP : Connecting to SME behind IPCOP using PPTP VPN.


1. open your SME Server's server-manager, go to Remote Access and to enable of PPTP connections you must fill the number . The default number is zero that mean PPTP is disable. This is the number of concurrent connections that you want allow.
2. At SME server-manager go to useraccount and modify user that you want rigt access VPN.

Before you go to next step, check your SME and Make sure the IP gateways is IP internal of IPCOP

3. On your IPCop firewall web gui.
3a. Services -> Port Forwarding. Setup the following forward entries:
Protocol: TCP
Alias IP: Select your IP
Source Port: 1723
Target IP: Your internal IP of SME Server
Target Port: 1723
Remark: If still can’t connect try to open the GRE port 47

Protocol: GRE
Alias IP: Select your IP
Source Port: 47
Target IP: Your internal IP of SME Server
Target Port: 47
Remark: ( I don’t open this port )


4. Create client connection on your Windows 2000/XP workstation:
3a. Open your Network Control Panel.
3b. Create a new network connection
3c. "Connect to the network at my workplace"
3d. Virtual Private Network
3e. Enter a Name (doesn't matter what it is)
3f. Enter the IP address (fill IP public that you use at your IPCOP).

Try to conect and you will can ping to your SME network.

Notes: if you want to connect your client to WAN. add static route at SME server as the below
“route add x.x.x.x gw y.y.y.y”
X: IP WAN you want to connect
Y: IP router WAN

Share your Knowledgement

Wednesday, August 13, 2008

Membangun FaxServer di SME Server

Hari gini pakai pakai Fax machine???
Hari Gini masih boros kertas ??????
CD

gitu lah kali ledekan untuk yang masih mengunakan fax machine dan kertas fax.

Coretan kali ini tentang membangun faxserver di SME dengan software Hylafax-4.X.X
yang bisa diunduh di http://distro.ibiblio.org/pub/linux/distributions/smeserver//releases/7.3/smecontribs/i386/RPMS/hylafax-4.4.4-1.el4.sme.i386.rpm.

selanjutnya jalankan perintah ini
"yum install smeserver-hylafax --enablerepo=smecontribs"

Pastikan modemnya terpasang di serial port (COM1) dan dalam keadaan menyala.
Jalankan perintah berikut
"/usr/sbin/faxsetup"
Dan jawab semua pertanyaan yang dipersyaratkan, biarkan default (tekan enter saja) jika anda tidak memahami.

Yang terpenting modem port nya mengunakan /dev/ttyS0.
anda dapat melakukan perubahan settingan ini nanti dengan perintah "pico /etc/hylafax/etc/config.ttyS0"


Setelah itu lakukan perintah
"signal-event post-upgrade" dan " signal-event reboot"

dan untuk mengunakan mailtofax (mengirim fax lewat email)
edit file berikut "/var/spool/hylafax/etc/mailfax" dan rubah baris berikut
/usr/bin/faxmail -f Helvetica-Bold | /usr/bin/sendfax\ "
dengan

/usr/bin/faxmail -f Helvetica-Bold \


Buat juga satu user fax untuk client dengan perintah
faxadduser -p password username


dan anda sudah mempunyai faxserver. dimana hal ini akan menghemat kertas dan efisien dikarenakan mengirim dan mengambil fax bisa lewat PC.
Semua fax akan masuk ke user faxmaster
dan semua user bisa mengirim email lewat thunderbird or outlook express dengan format address "nama@nomortelpontujuan.fax". dan dengan menyertakan dokumen dalam format PDF, TIFF dan POSTSCRIPT.

Selamat Mencoba.
reference:
1. http://www.hylafax.org
2. http://wiki.contribs.org/HylaFax

Wednesday, August 06, 2008

Why SME server

1. OpenSource - GPL - Free
2. Easy installation ( +/- 15 minutes)
3. Complete dan Powerfull
4. Web base administration

Complete and Poerfull
- Web Server (Aphace)
- Mail server (Qmail), Webmail client
- Proxy server (Squid)
- Printer and File Sharing (samba)
- Antivirus (ClamAV)
- VPN server (PPTP)
- Support Quota, file screenning dll

http://www.smeserver.org/

Monday, July 21, 2008

Bila Waktu Tlah Berakhir

Bagaimana kau merasa bangga
Akan dunia yang sementara
Bagaimanakah bila semua hilang dan pergi
Meninggalkan dirimu

Bagaimanakah bila saatnya
Waktu terhenti tak kau sadari
Masihkah ada jalan bagimu untuk kembali
Mengulangkan masa lalu

Dunia dipenuhi dengan hiasan
Semua dan segala yang ada akan
Kembali padaNya

Bila waktu tlah memanggil
Teman sejati hanyalah amal
Bila waktu telah terhenti
Teman sejati tingallah sepi

***********************************
Setelah penat seharian kerja dan berpikir terus tentang 'oprak-oprek' linux. Mendengarkan lagu2 kang opick sangatlah menyejukan. Dan mengembalikan kita untuk berpikir bahwa ada kehidupan akhirat setelah kehidupan dunia.

just for myself.

Thursday, July 10, 2008

mengambil email dari gmail ke sme server

Untuk yang mengunakan SME server untuk mail server dan masih juga mengunakan gmail untuk externalnya. Maka kita bisa mengabungkan 2 mail adress tersebut dalam satu client mail tanpa susah susah membuka 2 2 nya, paling yang susah admin nya. Susah setting nya maksudnya :)
Cara cara ini bisa dilakukan dengan terlebih dahulu menginstal fetchmail di sme server ( lihat tulisan sebelum nya)

untuk melakukan hal tersebut ikuti langkah berikut ini
1. Chek apakah sme server kita bisa koneksi ke gmail.com dengan port 995
$ openssl s_client -connect pop.gmail.com:995 -showcert
Chek di bagian akhir display akan muncul sbb;
# Verify return code: 21 (unable to verify the first certificate)
# ---
# +OK Gpop ready. i17pf3432638wxd
maka koneksi ke gmail telah berhasil
2. download sertifikat dari google dan equifax. simpan di folder
/usr/share/ssl/certs.
Lakukan rehash untuk kedua file tersebut
$c_rehash
Doing /usr/share/ssl/certs
equifax.pem => 594f1775.0
slapd.pem => 72d31154.0
googlepop.pem => 7f549ca4.0

( bila perintah ini tidak jalan kemungkinan krn openssl-perl belum
terinstal. lakukan menginstallan dengan perintah "yum install openssl-perl")

Selanjutnya verifikasi ke goole sertikat tersebut diatas
$ openssl s_client -connect pop.gmail.com:995 -CApath /usr/share/ssl/certs
Kembali perhatikan baris terakhir "Verify return code: 0 (ok)" yang berarti sertifikat dapat diverifikasi.

3. Dari server manager >pergi ke collaboration > mail retrieval
dari screen tersebut anda bisa mengeset mail lokal untuk menerima mail dari gmail. seperti screen berikut;

4. selanjutnya edit file /etc/fetchmail dan ganti baris untuk menerima gmail dengan berikut ini "user 'DJ\@gmail.com' smtpaddress jatimjobs.net with password 'dasarjelek' is asnan here no fetchall options ssl sslcertck sslcertpath '/usr/share/ssl/certs' "

selamat mencoba

cara mengambil file di videojug

Dipersembahakan untuk kamu yang suka mengoleksi resep masakan dalam forat video....

Judul nya pakai bahasa indonesia dengan harapan lebih mudah orang untuk mendapatkan link ini, dengan key word yang sangat indonesia banget. hehehehehe

langkah-langkah nya sebagai berikut:
1. download dan install maxthon browser dari maxthon.com
2. buka link videojug yang kamu suka
3. click Tools > file sniffer
4. copy link yang muncul di file sniffer
5. buka zamzar.com dan paste link di point 4 di zamzar.com

mengenai bagaimana cara bekerja dengan zamzar.com klik link berikut "cara mudah download file youtube"

moga bermanfaat untuk yang suka musik masak, pi awas itu bagian dari pembajakan juga..
so klo ada resiko tanggung sendiri :)
makasih tuk paman "google" dan KAMU :D

How to configure external mailbox at SME Server 7.2

when you create domain at sme server, You will be able to send and receive mail and host a website on that domain.

But if we have domain and host a website at provider, we need to do something at our SME server as following the below step.

Download and install the fetchmail package.
Then "wget http://www.schirrms.net/files/smeserver-fetchmail-utf8-1.3.5-02.noarch.rpm"
followed by "yum localinstall smeserver-fetchmail-utf8-1.3.5-02.noarch.rpm"
  • then do the below command
    "signal-event post-upgrade"
    "signal-event reboot"
  • Then in server manager, go to Mail retrieval under Collaboration in the left-hand menu.

    and follow the below reference http://www.schirrms.net/sme/SMEFetchMail.php

    Thank to paman "google" and chubby
  • Friday, July 04, 2008

    IPCOP VPN in Ubuntu 8.04

    On IPCOP machine side (server)

  • Under the VPNs tab, enable the VPN on BLUE checkbox. Click Save.
  • Create your host/root certificates by clicking on the Generate Root/Host certificates button. After creation, there are two lines. First line is Root certificate. The subject line should be something like: C=US, O=My Network, CN=My Network CA. You'll need this info later.
  • Add a new connection (on the same page). Select host-to-net (road warrior) connection. Give it a name like BlueNetwork. Interface (obviously) should be blue. Local subnet should be 0.0.0.0/0.0.0.0 (this will give you access to the green and red networks). For authentication, I am using a pre-shared key, so I make sure that that line has the selected radio buttona and Fill in password. Click Save.

    On Ubuntu machine side (client)

  • Install OpenSwan
    $ sudo apt-get install openswan (to get Openswan installed)
  • Edit file /etc/ipsec.conf and paste the below script after "# Add connections here"
    ++++++++++++++

    conn bluenetwork
    left=%defaultroute
    right=x.y.z.w
    rightsubnet=192.168.1.0/255.255.255.0
    authby=secret
    auth=esp
    pfs=yes
    compress=no
    auto=add

    Note (1): replace x.y.z.w with the public IP of the IPCop VPN you
    want to access
    Note (2): change rightsubnet as per the internal network (GREEN)
    behind the IPCop firewall
    Note (3): you can change "bluenetwork" to another name if you want to

  • In your /etc/ipsec.secrets you just need:
    =========================================
    : PSK "pre-shared key defined in the IPCop VPN"

  • To start IPsec:
    # /etc/init.d/ipsec start

  • To stop IPsec:
    # /etc/init.d/ipsec stop

  • To bring up the VPN tunnel:
    # ipsec auto --up myvpn

  • To bring down the VPN tunnel:
    # ipsec auto --down myvpn


    Hopely success full :)
    Thank to "whitelover"
  • Monday, June 30, 2008

    setting internet dengan HP Nokia 3155 di Ubuntu 8.04

    Kali ini saya mencoba untuk mensetup internet dengan HP CDMA nokia 3155.
    Ubuntu 8.04 running di Laptop Compaq Presario M2000.
    Ikuti langkah berikut
    1. Koneksikan kabel CA-53 ke port USB dan ke HP Nokia.
    2. Buka teminal window
    3. Ketikkan wvdialconf cdma.txt dan kemudian tekan Enter. ( amati di text "ATQ0 V1 E1 S0=0 &C1 &D2" ini sebagai initialization string 2 yang benar.
    4. ketikkan mousepad cdma.txt, kemudian akan muncul window baru yang isinya adalah konfigurasi dari Modem HP + kabel CA-53.
    5. Buka terminal windows baru.
    6. Ketikkan sudo mousepad /etc/wvdial.conf pada window tersebut.
    7. Masukkan password login anda (bila diminta password), dan kemudian akan muncul sebuah jendela baru (isi dari file /etc/wvial.conf) yang berisi konfigurasi umum modem pada PC anda.
    8. Copy isi file cdma.txt tersebut ke baris terakhir dari file /etc/wvdial.conf.
    9. Hilangkan huruf awal ";" pada baris phone number, username dan password
    10. Hilangkan "+FCLASS=0" jika di point 3 tidak ada "+fclass=0"
    11. Isikan phone number dengan #777
    12. Isikan username dengan telkomnet@flexi (isi "starone" jika pakai kartu S1)
    13. Isikan password dengan telkom (isi "indosat" jika pakai S1)
    14. Simpan file tersebut, dan tutup kedua file tersebut.
    15. kembali ke terminal window anda dan ketikkan wvdial flexi, kemudian tekan Enter. Tunggu beberapa saat. Setelah itu anda akan mendapatkan sebuah IP Adress dan DNS dari Telkom.

    untuk menutup koneksi gunakan "ctrl+C"

    Petunjuk ini bisa digunakan untuk mencetup melalui KPPP (modem dialer and PPP for KDE).

    Untuk mensetting dial up modem tinggal tambahlan paket "sl-modem-deamon"

    Selamat Mencoba

    Thursday, June 26, 2008

    LTSP at Ubuntu 8.04

    Akhir nya punya kesempatan lagi untuk ngoprek Ubuntu 8.04. Dan pertama yang dicoba adalah LTSP nya. Cukup simple dan mudah bahkan menurut saya untuk seorang pemulapun tidak akan mengalami kesulitan yang berarti untuk mengoprek nya. Linux pada umumnya sudah bisa dikatakan "user friendly" meminjam istilah MS. So temen temen yang baru mencoba Linux jangan takut lagi lebih takutlah pada kejaran BSA dan polisi.

    Kembali ke LTSP, paket yang diperlukan adalah menginstall ltsp-server-standalone dan semua depedence packagenya akan secara otomatis ditambahkan. (sekedar memudahkan dan menghidari kegagalan download, ada baiknya kita menginstall lewat DVD repo. bisa pinjem temen or beli. selanjutnya nya jalankan "ltsp-build-client --mirror file:///cdrom (Jangan lupa masukkan cd Ubuntu 8.04 nya karena akan dibutuhkan untuk mendownload package ltsp client). terakhir check dhcpd.conf di /etc/dhcpd.conf sesuaikan IP nya dengan IP jaringan jaringan yang kita mau.


    Sukses dan Bravo linux.. Bravo kawan-kawan Gelora
    Thank to Kepala Peang (My Inspiration)

    Friday, June 06, 2008

    HOW to Mounting Samba Share

    The below step by step how to create auto mounting smb share at ubuntu 8.04. Smb share is running at SME server 7.2.

    1. Download and Install smbfs.
    $ sudo apt-get install smbfs
    2. Create new directory to mounting
    $ sudo mkdir /media/temp
    3 create file to save user and password
    $ gksudo gedit /root/.smbcredentials
    Add the following lines:

    username=myusername
    password=mypassword

    4. Change the access files
    $ sudo chmod 700 /root/.smbcredentials

    5. Edit files fstab
    $gksudo gedit /etc/fstab

    To mount windows server, add the following lines:

    //IP-sever/TEMP /media/temp/ cifs credentials=/root/.smbcredentials,file_mode=0777,dir_mode=0777,uid=1001 0 0

    To mount samba linux server, add the following lines:

    //IP-server/TEMP /media/temp/ smbfs credentials=/root/.smbcredentials,uid=1001 0 0

    Wednesday, June 04, 2008

    How to Install Joomla at SME server

    Installation and Uninstall

    Initially check the current version available from http://mirror.contribs.org/smeserver/contribs/dberteld/joomla/ which at the time of writing is smeserver-joomla-1.5.1-2.noarch.rpm

    Download and install using the following commands (Please remember to replace the version number in the command with the currently available version number or the download will fail)

    cd /tmp
    wget http://mirror.contribs.org/smeserver/contribs/dberteld/joomla/smeserver-joomla-1.5.1-2.noarch.rpm
    yum localinstall smeserver-joomla*.rpm

    For uninstall use the following command

    rpm -e smeserver-joomla

    You can ignore the yum-comments signal event post-upgrade and signal-event reboot.
    [edit] Use

    You can find joomla in the /opt/joomla directory. For using Joomla start your browser with the URL http://servername/joomla and logon with the user admin + password admin as administrator.

    Thursday, May 15, 2008

    LTSP 5 at EduBuntu 7.10

    Setelah mencoba coba realease 8.04 engak berhasil juga. (sepertinya masih banyak bug di realese 8.04 untuk menjalankan LTSP. Akhirnya bisa juga mengoprek LTSP 5 di Edubuntu 7.10

    Yang terpenting untuk mensetting LTSP server di Edubuntu 7.10 adalah kita harus mengedit file /etc/ltsp/dhcpd.conf, dimana kita IP nya disesuai dengan IP jaringan kita. Dan di sisi client hanya dibutuhkan LAN Card yang sudah PXE, sehingga bisa langsung boot dari Lan card dan tidak perlu seeting di client or servernya.

    Nah.... pada saat praktek kemarin muncul error disisi client "This workstation isn't authorized to connect to server" setelah googling beberapa saat ketemu solusi berikut
    > jalankan perintah "sudo ltsp-update-sshkeys" dan "sudo ltsp-update-image"

    Selamat Mencoba

    Friday, May 09, 2008

    Ubuntu 8.04 (Hardy)

    Hari ini sudah sukses menginstall Ubuntu 8.04 pada PC yang sebelumnya running Ubuntu 7.10 pi masih gagal untuk mengoprek LTSP krn emang engak bisa jalan di LTS Desktop Edition dan masih perlu ditambah edubuntu-8.04-addon. dan yang ini mesti download sendiri, saole bolo-bolo engak ada yang punya.
    waah jadi engak bisa full support nih di arena implementasi LTSP di Pesantren Al-kautsar bareng kang Atha.

    BTW Makasih sama kawan Sam yang udah kasih ISO hardy-nya, jadi engak susah-susah lagi ngedownload 700Mb. maklum badnwith kita juga cekak.
    so mulai lah mengoprek lagi dengan hardy.

    Sebenarnya sih bukan upgrade pi menginstall ulang saja. cuman semua file data masih ditempat semula. Jadi untuk para linuxer yang pingin menginstall Linux . pastikan bikin pastisi tersendiri untuk "home" so jika diinstall ulang tidak perlu lagi mengutak atik partisi home yang sudah ada dan dijamin data anda akan selamat.

    Di hardy sudah pakai OpenOffice 2.4 yang lebih ngedukung macro dan grafiknya lebih bagus. Dan hardy juga lasngsung mengenali ATI radeon 9550 yang di fiesty masih 'setengah mati untuk ngeset 3D effec nya. so bagi kamu yang suka games 3D, sudah berkuranglah pusingnya untuk mengoprek 3D effec nya.

    bravo... hardy....
    sampai ketemu di psting berikutnya " join hardy to domain"

    Wednesday, May 07, 2008

    Acara TV favorit

    kali ini engak bicara tentang linux dan pengorekannya. Lagi males mikir. pinginnya ngoprek LTSP karena temen2 GELORA lagi dapet project LTSP di Pesantren. so kalau bisa ngoprek dulu kan bisa jadi asistance nya para2 pakar LTSP. sukses untuk Mas ATHA. so jadilah ngedaftar acara favorit di TV yang selalu disempetin nonton

    1. acara hariannya ya nonton berita malem nya TVOne kenapa karena disana pasti ada dialog nya ama pakar pakar, dan dengan ulasan tentang hot issue. dan ada juga "republik BBM"
    2. MetroTV yang hampir tiap hari pasti ada tu acara pencerahan yang dikemas dengan "Save OUR Nation" mulai dari kick andy, today's dialog, econimic chalange, Democrazy.
    3. Di SCTV sukanya nonton "Topik Minggu Ini" tapi sekarang jarang nonton nya dan sering kelewatan jam tayang. beberapa bulan lalu masih sering nonton ini karena engak ada pilihan (maklum channel nya masih standart plus ada si jelek disana)
    4. Lain2 nya ditonton kalau ada film bagus.

    sekedar mencatat.

    Tuesday, April 15, 2008

    Ku mencintaimu lebih dari apa pun
    Meskipun tiada satu orang pun yang tahu
    Ku mencintaimu sedalam-dalam hatiku
    .........
    Yakinlah bahwa engkau adalah cintaku
    Yang kucari selama ini
    Dalam hidupku
    Dan hanya padamu kuberikan sisa cintaku
    Yang panjang dalam hidupku

    ******Si Jelek yang kepalanya Peang**********
    melan mode "ON"

    Monday, April 14, 2008

    Memblokir web address di IPCOP

    Tulisan ini diperuntukan bagi yang tidak mau mengintalls URL filter( paket tambahan untuk IPCOP) dikarenakan jika kita menginstall URL filter banyak alamat yang seharusnya tidak ingin kita blok malah engak bisa ke buka (dan user dijamin senewen ama kita. heheheh...)

    Jadi disini kita mengoprek squid konfigurasinya di IPCOP dan kita tidak bisa mengubah di squid.conf nya krn perubahan yang kita bikin akan hilang ketika kita melakukan penyimpanan konfigurasi dari webgui nya. so bukalah file /var/ipcop/proxy/advanced/acls/included.acl. Pakai Winscp untuk melakukan remote ke IPCOP. dan silahkan melakukan tambahan access control di file include.acl ini. sebagai contoh yang telah saya bikin misalnya

    acl engakbolehakses dstdomain playboy.cop youtube.com
    http_access deny engakbolehakses

    untuk lebih memudahkan penambahan web yang engakboleh diakses, kita bisa list di file tertentu. misalnya

    acl engakbolehakses dstdomain "/var/ipcop/proxy/advanced/acls/blacklist.acl"

    dan kita create file blacklist.acl di /var/ipcop/proxy/advanced/acls/ dan isi file itu berupa wev-web yang kita block

    Moga bermanfaat

    Friday, April 11, 2008

    Memblokir IP di IPCOP

    IPCOP tidak menyediakan cara memblokir IP dari webbasenya.
    so kita mesti mengutak-atik sendiri kedalem machine IPCOP.

    Dalam hal ini kita akan mengunakan Putty or WINSCP untuk mengakses IPCOP.
    Setelah anda berhasil login ke ipcop. buka lah file /etc/rc.d/rc.lokal
    dan ketikkan fungsi2 IPTABLES untuk memblokir IP-Ip yang tidak diperkenankan di akses, seperti contoh dibawah ini.

    /sbin/iptables -A CUSTOMFORWARD -i $RED_DEV -p tcp -m iprange --src-range X.x.x.X-X.X.X.X -j DROP

    gantilah X.x.x.x-X.X.X.X dengan range IP yang ingin anda block

    contoh range untuk IP multiply.com adalah 66.246.179.201-66.246.179.202

    Setelah seleasi jangan lupa untuk merestart IPCOP anda


    Semoga bermanfaat

    Wednesday, April 09, 2008

    Mungkin kita bisa menapak ke depan

    Mungkin kita bisa menapak ke depan
    Menguak kabut itu bersamamu, menata kembali ruang
    Sambil terus berunding dengan waktu.
    Dan badai. Tentu, badai itu pasti menyongsong
    Tapi coba kita lunakkan, kita lembutkan
    Dengan sabar dan shalat
    Kemudian atas kerjasama yang baik dengan Tuhan
    Kita mohonkan agar tantangan itu diperkenankan
    Menjelma jadi rahmat dan kegembiraan

    Jaman yang berganti-ganti dan tak masuk akal
    Perjuangan berputar-putar, tak jelas maju mundurnya
    Topeng-topeng berubah-ubah, tak tahu mana ujungnya
    Memberiku kewajiban kemakhlukan, kewajiban persaudaraan
    Kewajiban sesamawarga suatu negeri
    Sesama anggota suatu masyarakat. Terlebih-lebih
    karena kewajiban cinta uluhiyah dan kemesraan kemanusiaan
    Membuatku terpojok dan berpikir untuk menapak ke depan
    Bersamamu. Tapi mungkin juga tidak
    Segala sesuatunya bergantung pada ketetapan hatimu

    Aku akan membisikkan sesuatu ke telingamu
    Akau akan langkahkan kaki dan gerakkan tanganku bersamamu
    Bisikan pertama sebelum bersama kita tempuh perjalanan
    Atau mungkin ini bisikan terakhir, sesudah berpuluh tahun
    Kutiup gendang batinmu dengan beribu bisikan
    Beribu teriakan, bahkan beribu pekikan, yang kau sia-siakan
    Sesudah kubung-buang diriku sendiri ke semak-semak kesunyian
    Untuk menghasilkan kebebalan yang terus-menerus
    Pergumulan asyik yang tak sudah-sudah dengan kebodohan
    Menyerah kepada keputus-asaan bersama yang ditutup-tutupi

    Aku akan membisikkan sesuatu ke lubuk kesadaranmu
    Karena waktu bagimu dalam hidupku sudah hampir habis
    Aku sudah tua dan tidak mungkin meneruskan langkah
    Yang tanpa pengharapan apa-apa bagi kemajuan hidupmu
    Aku sudah senja dan tidak lagi akan kutaburkan benih-benih
    Yang tak kau sirami,tak kau pelihara, bahkan kau injak-injak sendiri
    Aku sudah udzur dan tidak sanggup lagi setiap kali menjumpaimu
    Terpuruk lagi dan terpuruk kembali di lembah kesengsaraan
    Yang disebabkan oleh kemalasan berpikir
    dan ketidaksungguh-sungguhanmu sendiri dalam bersikap

    Tuesday, April 08, 2008

    cara upgrade OpenOffice 2.3 ke 2.4 di Ubuntu 7.04

    1. Remove all the packages from the installed version
    Go to Synaptic or your package manager and mark all the openoffice.org packages installed to be removed (there is the string ubuntu in their version number). This is mandatory for your first upgrade of the distro delivered OOo version, no need to to that for the following upgrades.
    For Ubuntu, the system will also remove the ubuntu-desktop package. No worry, this is a meta package that can be removed safely. But in case you want to upgrade your whole distro, you'll have to install back this package (and the OOo original version).

    2. Download the tarball (.tar.gz file) from the official OOo web site
    See here : http://download.openoffice.org/index.html.

    3. Extract the tarball in your home directory (or any other directory you want)
    Open a terminal (you should be directly in your home directory) and :

    Code: Select all Expand viewCollapse view
    tar -vxzf filename

    Example (for 2.4): filename = OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz

    You should see a new folder, say OOo_inst_folder.
    Example (for 2.4): OOo_inst_folder = OOH680_m12_native_packed-1_en-US.9286

    4. Install the created .debs

    Code: Select all Expand viewCollapse view
    cd OOo_inst_folder/DEBS
    sudo dpkg -i *.deb


    5. Update the Gnome menu
    Go to the desktop integration subfolder.

    Code: Select all Expand viewCollapse view
    cd desktop-integration


    Run again the previous installation command.

    Code: Select all Expand viewCollapse view
    sudo dpkg -i *.deb

    Tuesday, April 01, 2008

    Tips for linux (mencari dan menghapus file)

    Mencari file mp3 dan lang sung menghapusnya
    contoh: #find / -name '*.mp3 -exec rm -f {} \;
    penjelasan
    find > perintah untuk mencari file
    / di root direktori
    -name > berdasarkan nama file (dalam hal ini seluruh file mp3
    -exec > menjalankan perintah rm -f
    rm > menghapus file dengan option -f ( force/tanpa banyak tanya langsung delete aja)
    {} > menandakan lokasi file yang ditemukan dan akan di hapus
    \; > akhir dari baris perintah

    Perintah Dasar di linux


    alias Create an alias
    apropos Search Help manual pages (man -k)
    awk Find and Replace text, database sort/validate/index
    break Exit from a loop
    builtin Run a shell builtin
    bzip2 Compress or decompress named file(s)

    cal Display a calendar
    case Conditionally perform a command
    cat Display the contents of a file
    cd Change Directory
    cfdisk Partition table manipulator for Linux
    chgrp Change group ownership
    chmod Change access permissions
    chown Change file owner and group
    chroot Run a command with a different root directory
    cksum Print CRC checksum and byte counts
    clear Clear terminal screen
    cmp Compare two files
    comm Compare two sorted files line by line
    command Run a command - ignoring shell functions
    continue Resume the next iteration of a loop
    cp Copy one or more files to another location
    cron Daemon to execute scheduled commands
    crontab Schedule a command to run at a later time
    csplit Split a file into context-determined pieces
    cut Divide a file into several parts

    date Display or change the date & time
    dc Desk Calculator
    dd Data Dump - Convert and copy a file
    ddrescue Data recovery tool
    declare Declare variables and give them attributes
    df Display free disk space
    diff Display the differences between two files
    diff3 Show differences among three files
    dig DNS lookup
    dir Briefly list directory contents
    dircolors Colour setup for `ls'
    dirname Convert a full pathname to just a path
    dirs Display list of remembered directories
    du Estimate file space usage

    echo Display message on screen
    egrep Search file(s) for lines that match an extended expression
    eject Eject removable media
    enable Enable and disable builtin shell commands
    env Environment variables
    ethtool Ethernet card settings
    eval Evaluate several commands/arguments
    exec Execute a command
    exit Exit the shell
    expand Convert tabs to spaces
    export Set an environment variable
    expr Evaluate expressions

    false Do nothing, unsuccessfully
    fdformat Low-level format a floppy disk
    fdisk Partition table manipulator for Linux
    fgrep Search file(s) for lines that match a fixed string
    file Determine file type
    find Search for files that meet a desired criteria
    fmt Reformat paragraph text
    fold Wrap text to fit a specified width.
    for Expand words, and execute commands
    format Format disks or tapes
    free Display memory usage
    fsck File system consistency check and repair
    ftp File Transfer Protocol
    function Define Function Macros

    gawk Find and Replace text within file(s)
    getopts Parse positional parameters
    grep Search file(s) for lines that match a given pattern
    groups Print group names a user is in
    gzip Compress or decompress named file(s)

    hash Remember the full pathname of a name argument
    head Output the first part of file(s)
    history Command History
    hostname Print or set system name

    id Print user and group id's
    if Conditionally perform a command
    ifconfig Configure a network interface
    import Capture an X server screen and save the image to file
    install Copy files and set attributes

    join Join lines on a common field

    kill Stop a process from running

    less Display output one screen at a time
    let Perform arithmetic on shell variables
    ln Make links between files
    local Create variables
    locate Find files
    logname Print current login name
    logout Exit a login shell
    look Display lines beginning with a given string
    lpc Line printer control program
    lpr Off line print
    lprint Print a file
    lprintd Abort a print job
    lprintq List the print queue
    lprm Remove jobs from the print queue
    ls List information about file(s)
    lsof List open files

    make Recompile a group of programs
    man Help manual
    mkdir Create new folder(s)
    mkfifo Make FIFOs (named pipes)
    mkisofs Create an hybrid ISO9660/JOLIET/HFS filesystem
    mknod Make block or character special files
    more Display output one screen at a time
    mount Mount a file system
    mtools Manipulate MS-DOS files
    mv Move or rename files or directories

    netstat Networking information
    nice Set the priority of a command or job
    nl Number lines and write files
    nohup Run a command immune to hangups
    nslookup Query Internet name servers interactively

    passwd Modify a user password
    paste Merge lines of files
    pathchk Check file name portability
    ping Test a network connection
    popd Restore the previous value of the current directory
    pr Prepare files for printing
    printcap Printer capability database
    printenv Print environment variables
    printf Format and print data
    ps Process status
    pushd Save and then change the current directory
    pwd Print Working Directory

    quota Display disk usage and limits
    quotacheck Scan a file system for disk usage
    quotactl Set disk quotas

    ram ram disk device
    rcp Copy files between two machines.
    read read a line from standard input
    readonly Mark variables/functions as readonly
    remsync Synchronize remote files via email
    return Exit a shell function
    rm Remove files
    rmdir Remove folder(s)
    rsync Remote file copy (Synchronize file trees)

    screen Terminal window manager
    scp Secure copy (remote file copy)
    sdiff Merge two files interactively
    sed Stream Editor
    select Accept keyboard input
    seq Print numeric sequences
    set Manipulate shell variables and functions
    sftp Secure File Transfer Program
    shift Shift positional parameters
    shopt Shell Options
    shutdown Shutdown or restart linux
    sleep Delay for a specified time
    sort Sort text files
    source Run commands from a file `.'
    split Split a file into fixed-size pieces
    ssh Secure Shell client (remote login program)
    strace Trace system calls and signals
    su Substitute user identity
    sum Print a checksum for a file
    symlink Make a new name for a file
    sync Synchronize data on disk with memory

    tail Output the last part of files
    tar Tape ARchiver
    tee Redirect output to multiple files
    test Evaluate a conditional expression
    time Measure Program running time
    times User and system times
    touch Change file timestamps
    top List processes running on the system
    traceroute Trace Route to Host
    trap Run a command when a signal is set(bourne)
    tr Translate, squeeze, and/or delete characters
    true Do nothing, successfully
    tsort Topological sort
    tty Print filename of terminal on stdin
    type Describe a command

    ulimit Limit user resources
    umask Users file creation mask
    umount Unmount a device
    unalias Remove an alias
    uname Print system information
    unexpand Convert spaces to tabs
    uniq Uniquify files
    units Convert units from one scale to another
    unset Remove variable or function names
    unshar Unpack shell archive scripts
    until Execute commands (until error)
    useradd Create new user account
    usermod Modify user account
    users List users currently logged in
    uuencode Encode a binary file
    uudecode Decode a file created by uuencode

    v Verbosely list directory contents (`ls -l -b')
    vdir Verbosely list directory contents (`ls -l -b')
    vi Text Editor

    watch Execute/display a program periodically
    wc Print byte, word, and line counts
    whereis Report all known instances of a command
    which Locate a program file in the user's path.
    while Execute commands
    who Print all usernames currently logged in
    whoami Print the current user id and name (`id -un')
    Wget Retrieve web pages or files via HTTP, HTTPS or FTP

    xargs Execute utility, passing constructed argument list(s)
    yes Print a string until interrupted

    . Run a command script in the current shell
    ### Comment / Remark