Bloge Budi Ariyanto — Blog Go Blog, Seko Go Blog Dadi Pinter

Man For Others and With Others

Archive for the ‘IT’ Category

Sharing Files Menggunakan Samba

without comments

Lansung saja.. sesuai judulnya.. bet.. bet.. bet.. :D Ini langkah-langkah kalo mau sharing file di Slackware via samba.. :

  1. Login sebagai root, lalu copy sample file konfigurasi samba pada direktori /etc/samba/smb.conf-sample ke direktori yang sama dan ubah namanya menjadi smb.conf dengan perintah cp /etc/samba/smb.conf-sample /etc/samba/smb.conf
  2. Buka file smb.conf menggunakan editor favorit Anda, lalu cari bagian global settings dan cari baris yang bertuliskan security = user. Gantilah menjadi security=shared.
  3. Tambahkan folder yang ingin di-share dengan menambahkan konfigurasi berikut pada file smb.conf :
  4.       [(nama_folder_yang_akan_tampil_di_jaringan)]
                  comment = (deskripsi_terserah)
                  path = (path_folder_yang_dishare)
                  public = yes
                  read only = no
    
  5. Untuk masing-masing folder yang akan dishare dibuatkan konfigurasi seperti di atas. Jika konfigurasi selesai, simpan file tersebut.
  6. Jalankan perintah chmod +x /etc/rc.d/rc.samba, agar samba dapat dijalankan dan aktif secara otomatis sewaktu booting.
  7. Restart komputer Anda atau jalankan perintah /etc/rc.d/rc.samba start untuk mengaktifkan samba.

Untuk mengakses folder yang dishare dari komputer lain, ketikkan URL pada file browser Anda : smb://<ip_address_yang_dituju>/

Jika komputer yang mengakses menggunakan Win****, maka untuk mengaksesnya, ketikkan \\<ip_address_yang_dituju>\

Semoga membantu… :D

Written by Budi Ariyanto

May 17, 2009 at 11:13 am

Posted in IT

Tagged with ,

Menginstall Oracle 10g di Slackware

with 3 comments

Create Oracle user and install and management groups (as root):
groupadd dba
groupadd oinstall
adduser oracle #make the initial group oinstall, and additional groups dba,users

Download (this may not work, in which case you will have to go to http://www.oracle.com to get the download):
wget http://download.oracle.com/otn/linux/oracle10g/ship.db.cpio.gz

unpack:
gunzip ship.db.cpio.gz
cpio -idmv < ship.db.cpio

If your swapdisk is less than a 1GB, then;
dd if=/dev/zero of=/directory/with/much/free/space/tempswap bs=1k count=1000000
chmod 600 tempswap
mke2fs tempswap
mkswap tempswap
swapon tempswap

Next, check required system memory, run this:
sysctl -a

And check those values against these:
Needed Check with
shmmax = 2147483648 cat /proc/sys/kernel/shmmax
shmmni = 4096 cat /proc/sys/kernel/shmmni
shmall = 2097152 cat /proc/sys/kernel/shmall
shmmin = 1 ipcs -lm |grep “min seg size”
semmsl = 250 cat /proc/sys/kernel/sem | awk ‘{print $1}’
semmns = 32000 cat /proc/sys/kernel/sem | awk ‘{print $2}’
semopm = 100 cat /proc/sys/kernel/sem | awk ‘{print $3}’
semmni = 128 cat /proc/sys/kernel/sem | awk ‘{print $4}’
file-max = 65536 cat /proc/sys/fs/file-max
ip_local_port_range = 1024 65000 cat /proc/sys/net/ipv4/ip_local_port_range

Note: Don’t change the value of any kernel parameter on a system where it is already higher than listed as Needed.
If they are found lacking, modify /etc/sysctl.conf:
# Kernel Parameters for Oracle 10.1.0
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

Then, to make these values effective immediately (without a reboot), run:
sysctl -p
Read the rest of this entry »

Written by Budi Ariyanto

April 18, 2009 at 7:46 am

Posted in IT

Tagged with ,

Mengasosiasikan Wireless Chipset RaLink ke AP di Linux

with one comment

Jika Anda mempunyai laptop yang ber-OS Linux dan mempunyai wireless berchipset RaLink, ada kemungkinan Anda mengalami hal yang sama seperti saya. Wireless di laptop saya terdeteksi sebagai RaLink RT2860(node ra0). Driver untuk wireless ini bisa didownload di http://www.ralinktech.com/ralink/Home/Support/Linux.html. Setelah diinstall dengan mengikuti petunjuk dari README driver tersebut, akhirnya wireless saya bisa terdeteksi dengan baik. Namun, ketika dicoba diasosiaskan ke access point menggunakan perintah iwconfig, ssid selalu lenyap entah ke mana. Setelah diteliti, ternyata dapat disimpulkan bahwa jika mengasosiaskan ke access point yang berpassword atau mempunyai key, ssid akan selalu hilang. Waw.. serasa agak menyesal membeli laptop ini.. Namun setelah membaca README drivernya sekali lagi, ternyata di situ terdapat tulisan bahwa driver ini tidak support command iwconfig yang mengisikan key menggunakan keyword key restricted. di README tersebut, dituliskan bahwa cara mengasosiasi wireless dengan AP menggunakan driver ini adalah menggunakan perintah iwpriv. Berikut detailnya :

a> Config STA to link with AP which is OPEN/NONE(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Infra
2. iwpriv ra0 set AuthMode=OPEN
3. iwpriv ra0 set EncrypType=NONE
4. iwpriv ra0 set SSID=”AP’s SSID”

b> Config STA to link with AP which is SHARED/WEP(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Infra
2. iwpriv ra0 set AuthMode=SHARED
3. iwpriv ra0 set EncrypType=WEP
4. iwpriv ra0 set DefaultKeyID=1
5. iwpriv ra0 set Key1=”AP’s wep key”
6. iwpriv ra0 set SSID=”AP’s SSID”

c> Config STA to link with AP which is WPAPSK/TKIP(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Infra
2. iwpriv ra0 set AuthMode=WPAPSK
3. iwpriv ra0 set EncrypType=TKIP
4. iwpriv ra0 set SSID=”AP’s SSID”
5. iwpriv ra0 set WPAPSK=”AP’s wpa-preshared key”
6. iwpriv ra0 set SSID=”AP’s SSID”

d> Config STA to link with AP which is WPAPSK/AES(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Infra
2. iwpriv ra0 set AuthMode=WPAPSK
3. iwpriv ra0 set EncrypType=AES
4. iwpriv ra0 set SSID=”AP’s SSID”
5. iwpriv ra0 set WPAPSK=”AP’s wpa-preshared key”
6. iwpriv ra0 set SSID=”AP’s SSID”

e> Config STA to link with AP which is WPA2PSK/TKIP(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Infra
2. iwpriv ra0 set AuthMode=WPA2PSK
3. iwpriv ra0 set EncrypType=TKIP
4. iwpriv ra0 set SSID=”AP’s SSID”
5. iwpriv ra0 set WPAPSK=12345678
6. iwpriv ra0 set SSID=”AP’s SSID”

f> Config STA to create/link as adhoc mode, which is OPEN/NONE(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Adhoc
2. iwpriv ra0 set AuthMode=OPEN
3. iwpriv ra0 set EncrypType=NONE
4. iwpriv ra0 set SSID=”Adhoc’s SSID”

g> Config STA to create/link as adhoc mode, which is WPANONE/TKIP(Authentication/Encryption)
1. iwpriv ra0 set NetworkType=Adhoc
2. iwpriv ra0 set AuthMode=WPANONE
3. iwpriv ra0 set EncrypType=TKIP
4. iwpriv ra0 set SSID=”AP’s SSID”
5. iwpriv ra0 set WPAPSK=12345678
6. iwpriv ra0 set SSID=”AP’s SSID”

h> Get site survey
usage: iwpriv ra0 get_site_survey

i> Get Statistics
usage: iwpriv ra0 stat ; read statistic counter
iwpriv ra0 set ResetCounter=0 ; reset statistic counter

j> Link with an AP which is the largest strength ; set ANY SSID (ssidLen=0)
usage: iwconfig ra0 essid “”
or
usage: iwpriv ra0 set SSID=”"

Dari percobaan saya, perintah tersebut harus ditulis urut dan satu per satu. Agak aneh memang, tapi baru bisa connect dengan cara begitu..
Nah, semoga tulisan saya ini dapat membantu Anda yang mempunyai masalah yang sama dengan saya…. :D

Written by Budi Ariyanto

April 17, 2009 at 3:48 pm

Posted in IT

Tagged with

KDE 4.2 Review

with 5 comments

Setelah hampir seminggu mencoba KDE 4.2 di Slackware, saya ingin membagikan testimoni singkat untuk mereview KDE 4.2 ini :

  • Menurut saya, tampilan KDE 4.2 bisa dibilang hampir sempurna. Efek-efek desktopnya bikin jatuh hati. Design window managernya pun bagus, namun dengan kebagusan-kebagusan tampilan yang ada tidak membuat komputer menjadi lemot.. Salut deh….
  • Banyak fitur dan aplikasi tambahan yang lebih mempermudah user menggunakan KDE. Nggak ketinggalan juga widget-widget baru untuk mempercantik desktop.
  • Berpindahnya penggunaan Qt dari Qt3 menjadi Qt4 membuat KDE 3.x.x dan KDE 4.x.x kurang compatible. Akibatnya jika Anda upgrade dari KDE 3 ke KDE 4, ada beberapa aplikasi yang mungkin dulu Anda install di KDE 3 tidak dapat berjalan di KDE 4. Namun menurut saya ini memang sudah menjadi resiko yang harus ditanggung untuk mencapai suatu hal yang lebih baik.
  • Nhah.. terakhir.. ini saya tampilkan sedikit cuplikan desktop saya menggunakan KDE 4 :
    Efek Desktop Cube

    Efek Desktop Cube


    Efek Cover Switch

    Efek Cover Switch

Written by Budi Ariyanto

February 5, 2009 at 6:53 am

Posted in IT

Tagged with ,

Upgrade Slackware ke KDE 4.2

without comments

Akhirnya KDE 4.2 stable udah rilis juga.. Nah bagi para slackers, aku mau bagi2 tutorial cara upgrade ke KDE 4.2.

  1. Download paket-paket yang ada di slackware-current yang diperlukan untuk menginstall KDE 4.2 di mirror slackware terdekat. Pada umumnya terdapat pada direktori slackware-current/testing/packages/kde4/
  2. Backuplah directori .kde pada home direktori Anda, dan juga /etc/kde. File-file ini dibackup agar nanti jika Anda kembali ke KDE 3 tidak usah mengkonfigurasi ulang sistem Anda. Cukup copy kan file-file yang sudah dibackup tadi pada tempatnya semula.
  3. Keluar dari KDE dan masuklah ke mode teks atau window manager yg lain. Tapi kalau saya lebih suka pakai mode teks. Login sebagai root.
  4. Hapus semua paket KDE 3 dengan script bash yang sudah tersedia, yaitu script remove-kde3.sh. Abaikan semua pesan yg ada di sana. Pokoknya setelah menjalankan script ini dijamin paket2 KDE 3 dijamin bersih.. Ada baiknya juga Anda juga menjalankan script remove-kde4.sh untuk membersihkan paket-paket KDE 4 jika Anda dulu pernah menginstallnya. Nah, sampai di sini, komputer Anda bebas dari window manager yg bernama KDE :D
  5. Hapuslah directori .kde pada home direktori Anda, dan juga /etc/kde. Lhoh, kok dihapus? Iya. Supaya menghindari masalah saat instalasi KDE 4.2 nanti. Toh file-file tersebut sudah dibackup.
  6. Install semua paket-paket pada direktori deps, extragear, kde, dan kde3-compat dengan perintah(sebagai root)
    upgradepkg --install-new deps/*.tgz extragear/*.tgz kde/*.tgz kde3-compat/*.tgz
    
  7. Jalankan perintah xwmconfig untuk memilih window manager KDE yang baru.
  8. Jalankan kembali X Window dengan perintah startx.

Selesai! :D KDE 4.2 pun sudah bisa dinikmati.
Catatan :

  • Hapus paket yg bernama hplip-2.8.10-i486-1 dengan pkgtool, karena paket ini membutuhkan PyQt 3 yang sudah tidak terinstall lagi di sistem Anda. Jadi daripada ada tapi tidak berguna, mending dihapus saja sekalian.
  • KDE 4.2 sudah ada bawaan efek-efek seperti compiz/compiz-fusion. Jadi kalau Anda sebelumnya menginstall paket2 compiz-fusion, lebih baik dihapus saja.
  • Di KDE 4.2 ini, aplikasi Quanta+ akan hilang entah kemana.. hehehe.. Jadi para pencinta Quanta+ akan bersedih hati tampaknya.

Written by Budi Ariyanto

February 1, 2009 at 12:15 pm

Posted in IT

Tagged with ,

Mematikan aRts Daemon Service

without comments

Jika Anda menggunakan KDE sebagai window manager Anda di linux, aRts sering menjadi masalah jika dijalankan berbarengan dengan ALSA. Kadang bisa crash.. Jika sudah crash, mungkin suara hilang sampai separah-parahnya komputer bisa ngehang. Solusinya agar tidak crash dengan ALSA adalah mematikan aRts-nya itu sendiri.. Nah, tapi kalo aRts dimatikan, nanti suara pada event-event KDE menjadi tidak bersuara lagi donk, karena aRts digunakan untuk memainkan system notification di KDE.??
Yup.. memang menjadi tidak bersuara, tapi ada alternatif lain agar system notification pada KDE tetap dapat berjalan. Berikut ini langkah-langkahnya :

  1. Matikan aRts sound server
    Anda dapat mematikannya dengan cara masuk ke KDE control center, lalu pilih sound & multimedia, lalu pilih sound system. Uncheck pilihan Enable the sound system dan applylah.
  2. Ganti player settings pada system notifications dengan external player
    Cara menggantinya adalah dengan masuk ke KDE control center, lalu pilih system notifications. Setelah itu pada bagian kanan bawah klik tombol “Player Settings”. Ubah dari pilihan “Use the KDE sound system” ke “Use an external player”. Isikan play pada textbox dibawah pilihan tersebut. Klik OK lalu Apply..

Selesai.. :D Biar mantap, restrart KDEnya.. Kini komputer Anda tidak bermasalah lagi dengan aRts dan sound tetap berjalan baik..

Written by Budi Ariyanto

January 4, 2009 at 11:33 am

Posted in IT

Tagged with , , ,

Kenapa Slackware?

with 7 comments

Dalam memilih distro linux, kita mungkin bingung karena saking banyaknya pilihan distro. Apalagi kalau baru mulai mengenal linux.. Wah.. mau install linux yang mana ya??? Sebetulnya setiap distro linux menawarkan keunikannya sendiri-sendiri. Misalnya Ubuntu menawarkan ease-of-use nya, Fedora menawarkan kecantikannya, openSUSE menawarkan kompatibilitasnya terhadap Windows dan Slackware menawarkan kesimpelan, keringanan dan kestabilan distronya. Namun pada umumnya, sekarang distro linux sudah sangat mudah digunakan karena sepertinya para developer linux sudah mulai menganggap linux juga bisa difungsikan untuk komputer desktop.
Nah, dalam perjuangan saya memilih distro dari mencoba-coba Ubuntu, Fedora, OpenSUSE, Mandriva dan Slackware, akhirnya saya stop di Slackware dan saat ini saya menggunakan Slackware 12.2. Mengapa saya fix dan merasa nyaman menggunakan Slackware?Nha ini dia jawabannya :

  1. Secara default, Slackware menyediakan tools-tools untuk programming
    Bagi Anda-Anda yang suka programming(aliran opensource :D ), cobalah distro yang satu ini. Pertama kali install Slackware sudah tersedia tools antara lain : KDevelop(untuk C/C++, KDE(Qt3 dan Qt4), Ruby dan HTML), Java Runtime Environtment, Quanta Plus(HTML, PHP, CSS, JavaScript dll lengkap dengan intellisensenya), Cervisia(CVS) dan KDiff(untuk meng-compare source code). Bagi yang suka Java, Java Development Kit 6 update 11 sudah tersedia di paket extra di CD 4 Slackware.
  2. Simpel
    Slackware itu simple. Maksudnya konfigurasi dari aplikasi-aplikasi yang ada masih original dari yang membuat project. Juga tidak ada wallpaper tambahan dan tambahan-tambahan lain yang tidak perlu. Sistem dari Slackware juga dianggap paling mirip dengan UNIX. Namun seringkali kesimpelan-kesimpelan tersebut membuat distro ini kurang nyaman dipakai oleh pemula karena kurangnya fasilitas berbasis GUI.
  3. Slackware support MP3 by default
    Distro-distro besar selain Slackware seperti Ubuntu, openSUSE dan Fedora tidak bisa memainkan file MP3 secara default karena memang tidak menyertakan codecnya(MP3 dianggap format terlarang, dalam artian dianggap memicu pembajakan). Jadi kalo mau mendengarkan lagu kesayangan harus download codecnya di situs repositori.. wah repot bagi saya. hehe…
  4. Slackware itu stabil
    Patrick Volkerding si pembuat Slackware berusaha untuk merilis distronya sestabil mungkin. Mulai dari paket-paket defaultnya yang disertakan adalah 99,9% merupakan paket stabil. Tapi hal ini agak sedikit mengorbankan ke-up to date-an paket-paket yang ada. Misal Slackware yang paling baru(12.2) masih menggunakan KDE 3.5.10, padahal KDE 4.1 sudah dirilis. Slackware 12.2 juga masih menggunakan Amarok 1.4 padahal Amarok 2.0 sudah rilis. Hal ini semata-mata demi sebuah kestabilan.
    Slackware juga tahan nyala berhari-hari bahkan berminggu-minggu. Tidak seperti distro lain yang pernah saya coba. kadang-kadang sewaktu mengkopi file tiba-tiba hang atau tanpa sebab hang sendiri atau waktu mencoba-coba screensaver juga pernah hang. Slackware bebas dari itu semua.
  5. Belajar Salckware berarti belajar linux
    Pernah saya lihat di internet ada yang mengungkapkan seperti ini : “If you want to learn Red Hat, then start learning Red Hat, but if you want to learn Linux, start learning Slackware”. Ya, menurut saya ungkapan itu benar adanya. Karena menurut pengalaman saya, dulu ketika saya masih menggunakan distro selain Slackware saya tidak tahu dalamnya linux itu seperti apa karena sudah saking nyamannya menggunakan distro-distro tersebut. Tapi setelah menggunakan Slackware, secara tidak langsung saya seperti dipaksa untuk mempelajari sistem operasi LINUX. Jika Anda tidak percaya, cobalah sendiri.. hehehe
  6. Manajemen paket di Slackware lebih mudah dari distro lain
    Kalau orang bicara paket di linux, pasti terpikir juga istilah dependensi. Dependensi adalah paket lain yang dibutuhkan untuk menginstall paket yang dimaksud. Nah distro-distro seperti keluarga Debian menggunakan ekstensi .deb dan keluarga Red Hat menggunakan ekstensi .rpm untuk paketnya. Namun sayangnya manajemen paket-paket tersebut hanya berdampak pada kemudahan instalasi paket saja dan tidak membantu sama sekali dalam masalah dependensi. Nah, tidak demikian dengan Slackware. Slackware menawarkan manajemen paketnya yang berekstensi tgz, yang di dalamnya sudah dibundle dependensi dari aplikasi tersebut. Jadi kalau download paket tgz, tidak usah mikir dependensinya.. Asik sekali kan?
    Dan lagi, kita bisa membuat paket tgz sendiri menggunakan Slackbuild script, atau bisa langsung pakai Slackbuild scriptnya yang bisa didownload di http://slackbuild.org/

Nah itu adalah alasan saya kenapa menggunakan Slackware. Tapi memilih distro juga merupakan selera. Jadi tetap pastikan oleh Anda sendiri, distro mana yang paling cocok buat Anda.

Written by Budi Ariyanto

December 18, 2008 at 10:26 am

Posted in IT

Tagged with ,

Slackware 12.2 Released :)

with one comment

– Announcement dari Slakware.com –

Well folks, it’s that time to announce a new stable Slackware release
again. So, without further ado, announcing Slackware version 12.2!
Since we’ve moved to supporting the 2.6 kernel series exclusively (and
fine-tuned the system to get the most out of it), we feel that Slackware
12.2 has many improvements over our last release (Slackware 12.1) and is
a must-have upgrade for any Slackware user.

This Slackware edition combines Slackware’s legendary simplicity (and
close tracking of original sources), stability, and security with some
of the latest advances in Linux technology. Expect no less than the best
Slackware yet.

Among the many program updates and distribution enhancements, you’ll find
two of the most advanced desktop environments available today: Xfce 4.4.3,
a fast and lightweight but visually appealing and easy to use desktop
environment, and KDE 3.5.10, the final 3.x version of the award-winning K
Desktop Environment. We have added to Slackware support for HAL (the
Hardware Abstraction Layer) which allows the system administrator to add
users to the cdrom and plugdev groups. Then they will be able to use items
such as USB flash sticks, USB cameras that appear like USB storage,
portable hard drives, CD and DVD media, MP3 players, and more, all without
requiring sudo, the mount or umount command. Just plug and play.
Properly set up, Slackware’s desktop should be suitable for any level of
Linux experience.

Slackware uses the 2.6.27.7 kernel bringing you advanced performance
features such as journaling filesystems, SCSI and ATA RAID volume support,
SATA support, Software RAID, LVM (the Logical Volume Manager), and
encrypted filesystems. Kernel support for X DRI (the Direct Rendering
Interface) brings high-speed hardware accelerated 3D graphics to Linux.

There are two kinds of kernels in Slackware — the huge kernels, which
contain support for just about every driver in the Linux kernel. These are
primarily intended to be used for installation, but there’s no real reason
that you couldn’t continue to run them after you have installed. The
other type of kernel is the generic kernel, in which nearly every driver
is built as a module. To use a generic kernel you’ll need to build an
initrd to load your filesystem module and possibly your drive controller
or other drivers needed at boot time, configure LILO to load the initrd at
boot, and reinstall LILO. See the docs in /boot after installing for more
information. Slackware’s Linux kernels come in both SMP and non-SMP types
now. The SMP kernel supports multiple processors, multi-core CPUs,
HyperThreading, and about every other optimization available. In our own
testing this kernel has proven to be fast, stable, and reliable. We
recommend using the SMP kernel even on single processor machines if it
will run on them.

From the beginning, Slackware has offered a stable and secure Linux
distribution for UNIX veterans as well as an easy-to-use system for
beginners. Slackware includes everything you’ll need to run a powerful
server or workstation. Each Slackware package follows the setup and
installation instructions from its author(s) as closely as possible,
offering you the most stable and easily expandable setup.

Here are some of the advanced features of Slackware 12.2:

- Runs the 2.6.27.7 version of the Linux kernel from ftp.kernel.org.
Also included is a kernel patched with Speakup to support speech
synthesizers providing access to Linux for the visually impaired
community. The 2.6.x kernel series has matured into a stable
kernel, and provides reliable performance for your desktop or
your production server.
Read the rest of this entry »

Written by Budi Ariyanto

December 11, 2008 at 11:45 am

Posted in IT

Tagged with

What’s New in MySQL 5.1

without comments

The following features have been added to MySQL 5.1.

  • Partitioning. This capability enables distributing portions of individual tables across a filesystem, according to rules which can be set when the table is created. In effect, different portions of a table are stored as separate tables in different locations, but from the user point of view, the partitioned table is still a single table. Syntactically, this implements a number of new extensions to the CREATE TABLE, ALTER TABLE, and EXPLAIN ... SELECT statements. As of MySQL 5.1.6, queries against partitioned tables can take advantage of partition pruning. In some cases, this can result in query execution that is an order of magnitude faster than the same query against a non-partitioned version of the same table. See Chapter 18, Partitioning, for further information on this functionality. (Author: Mikael Ronström)
  • Row-based replication. Replication capabilities in MySQL originally were based on propagation of SQL statements from master to slave. This is called statement-based replication. As of MySQL 5.1.5, another basis for replication is available. This is called row-based replication. Instead of sending SQL statements to the slave, the master writes events to its binary log that indicate how individual table rows are effected. As of MySQL 5.1.8, a third option is available: mixed. This will use statement-based replication by default, and only switch to row-based replication in particular cases. See Section 16.1.2, “Replication Formats”. (Authors: Lars Thalmann, Guilhem Bichot, Mats Kindahl)
  • Plugin API. MySQL 5.1 adds support for a very flexible plugin API that enables loading and unloading of various components at runtime, without restarting the server. Although the work on this is not finished yet, plugin full-text parsers are a first step in this direction. This allows users to implement their own input filter on the indexed text, enabling full-text search capability on arbitrary data such as PDF files or other document formats. A pre-parser full-text plugin performs the actual parsing and extraction of the text and hands it over to the built-in MySQL full-text search. See Section 22.2, “The MySQL Plugin Interface”. (Author: Sergey Vojtovich)
  • Event scheduler. MySQL Events are tasks that run according to a schedule. When you create an event, you are creating a named database object containing one or more SQL statements to be executed at one or more regular intervals, beginning and ending at a specific date and time. Conceptually, this is similar to the idea of the Unix crontab (also known as a “cron job”) or the Windows Task Scheduler. See Section 19.4, “Using the Event Scheduler”. (Author: Andrey Hristov)
  • Server log tables. Before MySQL 5.1, the server writes general query log and slow query log entries to log files. As of MySQL 5.1, the server’s logging capabilities for these logs are more flexible. Log entries can be written to log files (as before) or to the general_log and slow_log tables in the mysql database. If logging is enabled, either or both destinations can be selected. The --log-output option controls the destination or destinations of log output. See Section 5.2.1, “Selecting General Query and Slow Query Log Output Destinations”. (Author: Petr Chardin)
  • Upgrade program. The mysql_upgrade program (available as of MySQL 5.1.7) checks all existing tables for incompatibilities with the current version of MySQL Server and repairs them if necessary. This program should be run for each MySQL upgrade. See Section 4.4.8, “mysql_upgrade — Check Tables for MySQL Upgrade”. (Authors: Alexey Botchkov, Mikael Widenius)
  • MySQL Cluster. MySQL Cluster is now released as a separate product, based on MySQL 5.1 but with the addition of the NDBCLUSTER storage engine. Clustering support is no longer available in mainline MySQL 5.1 releases. MySQL Cluster releases are identified by a 3-part NDB version number; currently, the MySQL Cluster NDB 6.2 and MySQL Cluster NDB 6.3 release series are available for production use.

    Some of the changes in MySQL Cluster since MySQL 5.0 are listed here:

    • MySQL Cluster replication. Replication between MySQL Clusters is now supported. It is now also possible to replicate between a MySQL Cluster and a non-cluster database. See Section 17.11, “MySQL Cluster Replication”.
    • MySQL Cluster disk data storage. Formerly, the NDBCLUSTER storage engine was strictly in-memory; now, it is possible to store Cluster data (but not indexes) on disk. This allows MySQL Cluster to scale upward with fewer hardware (RAM) requirements than previously. In addition, the Disk Data implementation includes a new “no-steal” restoration algorithm for fast node restarts when storing very large amounts of data (terabyte range). See Section 17.12, “MySQL Cluster Disk Data Tables”, for more information.
    • Improved backups for MySQL Cluster. A fault arising in a single data node during a Cluster backup no longer causes the entire backup to be aborted, as occurred in previous versions of MySQL Cluster.

    Many other new features and improvements have been made to the NDBCLUSTER storage engine in MySQL Cluster NDB 6.2 and MySQL Cluster NDB 6.3; for more information about these, see Section 17.15, “MySQL Cluster Development Roadmap”.

  • Backup of tablespaces. The mysqldump utility now supports an option for dumping tablespaces. Use -Y or --all-tablespaces to enable this functionality.
  • Improvements to INFORMATION_SCHEMA. MySQL 5.1 provides much more information in its metadata database than was available in MySQL 5.0. New tables in the INFORMATION_SCHEMA database include FILES, EVENTS, PARTITIONS, PROCESSLIST, ENGINES, and PLUGINS.
  • XML functions with XPath support. ExtractValue() returns the content of a fragment of XML matching a given XPath expression. UpdateXML() replaces the element selected from a fragment of XML by an XPath expression supplied by the user with a second XML fragment (also user-supplied), and returns the modified XML. See Section 11.10, “XML Functions”. (Author: Alexander Barkov)
  • Load emulator. The mysqlslap program is designed to emulate client load for a MySQL server and report the timing of each stage. It works as if multiple clients were accessing the server. See Section 4.5.7, “mysqlslap — Load Emulation Client”. (Authors: Patrick Galbraith, Brian Aker)

Sumber : http://dev.mysql.com/doc/refman/5.1/en/mysql-nutshell.html

Written by Budi Ariyanto

December 10, 2008 at 8:17 am

Posted in IT

Tagged with

Membuat Paket TGZ dengan SlackBuild Script

with 2 comments

Jika Anda menggunakan Slackware Linux sebagai sistem operasi Anda, sebagai alternatif menginstall aplikasi / library selain compile + install dari source code, Anda bisa menggunakan Slackbuild script yg bisa didownload dari http://www.slackbuild.org/. Tapi.. bagaimana ya cara menggunakan Slackbuild script tersebut?Mudah kok. Ikuti saja langkah-langkah berikut ini:

  1. Download source code aplikasi yang ingin diinstall dan slackbuild script aplikasi yang bersangkutan dari http://www.slackbuild.org/
  2. Jika ada dependensi, download juga dependensi tersebut. Biasanya dependensi juga sudah tersedia di http://www.slackbuild.org/. Namun jika belum ada, ya terpaksa cari sendiri. Googling misalnya.
  3. Extract Slackbuild script karena Slackbuild script dikompres dalam paket tar.gz.
  4. Copy paket source dan dependensinya(jika ada) ke dalam paket Slackbuild yang barusan diextract tadi. Tidak usah extract paket source dan dependensinya.
  5. Jika semua langkah 1-4 sudah benar, buka konsole. Masuk ke direktori Slackbuild, lalu cari file dengan ekstensi .Slackbuild. Jika sudah ketemu, buka konsole dan ketik ./nama_aplikasi.Slackbuild(misal ./pidgin.Slackbuild, tergantung dari slackbui;d yang Anda download)
  6. Tunggu proses pencompilan selesai. Menunggu proses ini kadang memang lama, apalagi kalau paket yang Anda compile berukuran besar. Jika sudah selesai, secara default Anda dapat mengambil paket TGZ buatan Anda di /tmp/SBo/

Written by Budi Ariyanto

December 6, 2008 at 5:24 am

Posted in IT

Tagged with ,