Saturday, March 31, 2007

OpenOffice.org 2.2 Released

The OpenOffice.org Community announce the release of OpenOffice.org 2.2 in 29 March, the latest version of the leading open-source office suite. With upgrades to its word processor, spreadsheet, presentations, and database software, the free software package provides a real alternative to Microsoft's recently-released Office 2007 product - and an easier upgrade path for existing Microsoft Office users. OpenOffice.org 2.2 also protects users from newly discovered vulnerabilities, where users' PCs could be open to attack if they opened documents from, or accessed web sites set up by, malicious individuals.

In version 2.2, users will immediately notice the improvement in the quality of text display in all parts of OpenOffice.org. The reason for this is that the previously optional support for kerning, a technique to improve the appearance of text written in proportional fonts, has now been enabled by default. OpenOffice.org's unique pdf export function has also been enhanced with the addition of the optional creation of bookmarks feature, and support for user-definable export of form fields.

While OpenOffice.org 2.1 functions well on Microsoft's Windows Vista, version 2.2 makes use of some of the new cosmetic changes available in Vista, the new file dialogues being an example. Apple Mac users will notice a smaller download and a smaller installed size. The Apple Mac Intel version has many stability improvements, and bug fixes ranging from .ppt export to improved UNO connections. Version 2.2 now requires Mac OS X 10.4.x running X11.

Turning to some of the enhancements made to the individual components of OpenOffice.org, the Calc spreadsheet has received additional enhancements to its support for Microsoft file formats, including improved support for Pivot Tables and some specialised trigonometric functions. Base, the database component, has improved SQL editing functionality as well as a new "Queries within Queries" feature. Compatibility options for some database drivers, such as Oracle ODBC, have been improved. Impress, the presentations component, offers improvements in the handling of hidden slides which has been made more intuitive.

It is important to remember that OpenOffice.org is not just a software package, but is also a development and user community. One demonstration of this is the ability of third party developers to create extensions in a simple manner. Third party extensions can now be more closely integrated and features have been added to dramatically simplify the installation and updating of these. In addition, features have been added to assist those participating in the translation and localisation of OpenOffice.org.

In addition to being immediately available for download from the traditional download servers, OpenOffice.org is also available from a Peer-to-Peer (P2P) network. Alternatively, OpenOffice.org Community Distributors supply the software on CD-ROM in many countries and native language translations will be available from their relevant communities.

http://www.openoffice.org

Saturday, March 17, 2007

Command Line dengan vi

Linux Command Line sangat sering dipergunakan dalam setiap aktifitasnya, nah untuk itu sangat baik kalo kita mengerti tentang command line tsb. Kita dapat mengetahui perintah tsb lebih detail dari manualnya. perintahnya seperti berikut:

$ man [cmd]

vi adalah salah satu text editor favorit di Linux, untuk mengetahui perintah dasar, option dan keterangan lain dari vi ketikkan perintah berikut:

$ man vi

untuk mengedit file teks, ketikkan perintah berikut:

$ vi namafile.txt

Option-option:
i =menyisipkan karakter,
x =menghapus satu karakter dimana kursor berada {tekan [ESC] dahulu untuk menjalankan fungsi tsb}
u =meng-undo yang terakhir
dd =men-delete satu baris
yy =meng-copy satu baris
p =mem-paste apa yang telah di-copy
w =untuk menyimpan [tekan [ESC] [:] dahulu]

k : ke atas
j : ke bawah
h : ke kiri
l : ke kanan

ada beberapa perintah untuk mengerakan cursor :
^ artinya : tekan tombol ctrl
^g : untuk berpindah ke baris tertentu
^F : berpindah satu layar penuh ke bawah
^B : berpindah satu layar penuh ke atas
^D : berpindah satu setengah layar penuh ke bawah
^U : berpindah satu setengah layar penuh ke atas
^w : berpindah satu kata kedepan
^b : berpindah satu kata kebelakang

Mengedit Teks
tekan Esq tekan
* i (insert) : memasukan teks baru
* a : menambah teks setelah kursor saat ini
* o : membuka newline setelah baris saat ini
* O : membuka newline sebelum baris saat ini dan menambah teks
* x atau delete: menghapus satu character
* dd : menghapus satu baris
* u : undo membatalkan perintah
* p : menaruh teks
* w : menyimpan teks
* wq : menyimpan lalu keluar
* e : membuka berkas
* /[textnya] : untuk pencarian kata KEATAS
* ?[textnya] : untuk pencarian kata KEBAWAH
* w namafile : bila belom ada nama filenya

http://www.eng.hawaii.edu/Tutor/vi.html

Friday, March 9, 2007

Automasi Administrasi System dengan CRON

Seorang admin pasti banyak tugas sehari-hari yg harus dikerjakan dan terkadang bisa membuat kita kelabakan melakukan tugas-tugas rutin. Apalagi kalau ada kejadian-kejadian yang memerlukan penanganan serius sehingga kadang bisa membuat kita lupa melaksanakan tugas-tugas administrasi rutin yang harus dilakukan di server. Bagaimana cara mengatasinya? Caranya adalah dengan menggunakan automatic scheduled task. Banyak pilihan program yang bisa melaksanakan scheduling di Linux. Salah satunya adalah cron. Berikut ini adalah tutorial singkat mengenai cara memakainya.

batasan cron

Anda bisa melakukan scheduled task menggunakan cron, jika id anda tercantum di dalam file cron.allow. Jika file cron.allow ini tidak ada, maka anda tetap bisa menggunakan cron, asalkan id anda tidak tercantum di dalam file cron.deny
Jika file cron.deny ini ada tetapi isinya kosong, maka anda tetap bisa menggunakan cron.
Jika kedua file ini tidak ada, maka berarti semua orang bisa menggunakan cron.

Command-command cron
crontab -e Untuk edit file crontab, atau membuatnya jika belum ada.
crontab -l Menampilkan isi dari file crontab
crontab -r Menghapus file crontab
crontab -v Menampilkan kapan terakhir kalinya kamu mengedit file crontab tersebut

Sebenarnya apa sih crontab ini? crontab (biasanya terletak di direktori /etc ) adalah file tempat kita mengatur scheduled tasks yang kita inginkan. Isi dari file crontab ini adalah:

* * * * * command
- - - - -
| | | | |
| | | | +----- day of week (1 - 7) (monday = 1)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)

Dimana * ini kita isikan dengan nilai (berupa angka) yang kita inginkan.
Berikut ini adalah contohnya:
30 18 * * * rm /home/allhuda/tmp/*

maksud dari baris di atas adalah:
"Setiap jam 18.30 rm (remove) isi direktori /home/allhuda/tmp/"

Contoh lainnya:
30 0 1 1,6,12 * ---> artinya "Setiap jam 00.30 setiap tanggal 1 Januari, 1 Juni, dan 1 Desember"
0 20 * 10 1-5 ---> artinya "Setiap hari Senin-Jumat pada jam 20.00 hanya di bulan Oktober"
0 0 1,10,15 * * ---> artinya "Setiap jam 00.00 pada tanggal 1, 10, dan 15 tiap bulannya"
5,10 0 10 * 1 ---> artinya "Setiap jam 12.05 dan 12.10 setiap hari Senin di tanggal 10 setiap bulannya"

Dengan memanfaatkan cron, maka kita bisa melaksanakan sebagian tugas-tugas rutin kita secara otomatis, dan kita bisa konsentrasi di dalam hal-hal lainnya.