Tuesday, February 28, 2012

New Spam - Ray Tamar

Greeting to you,

My name is Ray Tamar, I am a Malaysian banker, as a matter of fact,we have not met each other prior to my letter to you, but I have a strong feeling that we can work together.

I have a deceased customer's dormant fund, which I happened to be his personal account officer before his death which involved all his family ,I am presently chief auditor of my bank and I know all the secrete and everything surrounding this fund ,but before I disclose the full details to you, I will like to know your interest and willingness to work with me.

I am willing to furnish you with all the vital information which will be needed to claim this fund and I will also use my position in the bank to effect the transfer of this fund into your choosen bank account. At the successful end of this transaction, this fund will be shared 50%/50% between us
I will wait for your response.

Thank you
Ray Tamar

Saturday, February 25, 2012

Bagaimana nak jadikan Open Office sebagai service running on background?

Panduan untuk Lucid - Ubuntu 10.04

Dilampirkan skrip untuk kawan2 guna,

Langkah pertaman bagi angkut dulu dari repositori:
First of all install the headless openoffice from the repositories:

sudo apt-get install openoffice.org-headless openoffice.org-writer openoffice.org-draw
Sekarang kita kena buat skrip untuk jalan kan servisnya,
Now you need to create a script to start it as a service:

sudo vim /etc/init.d/openoffice.sh
Macam biasa kasi salin dan tampal ajer..  
Paste the following code into that file:
# openoffice.org headless server script
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
# Author: Vic Vijayakumar
# Modified by [email protected]
SOFFICE_PATH=$OOo_HOME/soffice <- pastikan lokasi file ini
set -e
case "$1" in
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
echo "Openoffice headless server is not running."
echo "Usage: $0 {start|stop}"
exit 1
exit 0
Save dan keluar dari VIM Editor,
Exit the VIM text editor saving the file as you do.

Sekarang masa utk jadikan skrip itu executable,
Now make the script executable:

sudo chmod 0755 /etc/init.d/openoffice.sh
Jangan lupa untuk jadikan skrip itu berjalan secara automatis setiap kali kita reboot server
Make it start automatically on reboot by executing this command:

sudo update-rc.d openoffice.sh defaults
Sekarang jalan kan servis itu dengan arahan dibawah,
Now start the service by running

sudo /etc/init.d/openoffice.sh start
Sepatutnya semua akan berjalan dengan lancar! Tahniah. 
Now all should be good!

Sekiranya masih ada masalah, sila hubungi kami di [email protected]