/var/log/step2k

July 5, 2008

Mempercepat Open Office

Filed under: Linux, Warnet Linux - Salman Teguh @ 1:24 pm

Artikel asli ada disini.

1. Buka salah satu aplikasi openoffice (misal Open Office Writer).
2. Klik Tools - Options.
3. Pada panel sebelah kiri pilih Memory.
4. Pada bagian Undo - Number of Steps, kurangi menjadi 20 - 30.
5. Pada bagian Graphics cache - Use for OpenOffice.org, ubah menjadi 128MB.
6. Pada Graphics cache - Memory per object, ubah menjadi 20MB (up from the default .5MB).
6. Pada Cache for inserted objects - Number of Object, set menjadi 20.
7. Pilih (centang) pada OpenOffice.org Quickstarter.
8. Pada panel kiri pilih Java, lepas centang pada Use a Java runtime environment.
9. restart aplikasi OpenOffice-nya.

Backup Database Billing CCL

Filed under: Linux, Warnet Linux - Salman Teguh @ 9:22 am

Belum lama ini saya terpaksa harus melakukan install ulang server billing. Sebelumnya server billing menggunakan Fedora Core 6. Karena didalamnya sudah terlalu crowded (banyak install macam-macam) :D

Akhirnya server billing dengan terpaksa di install ulang.

Berikut ini adalah langkah-langkah untuk melakukan backup database Billing CCL :
1. buka terminal, masuk ke /home/billing (user yang menjalankan CCL Server - contoh : billing)
2. copy file /home/billing/.cclfox/cclfox.db ke tempat lain (misal: flash drive)
3. lakukan install ulang sistem operasi
4. setelah proses install ulang, copy kembali file cclfox.db ke /home/billing/.cclfox (jangan lupa set owner dan permission sesuai dengan user yang akan menjalankan aplikasi billing.

Mudah-mudahan berguna :D

May 1, 2008

Install Apache-PHP5-MySQL via FreeBSD Port

Filed under: Freebsd, MySQL, PHP, Linux, Database - Salman Teguh @ 1:53 am

## Apache
cd /usr/ports/www/apache22
make install clean
echo ‘apache22_enable=”YES”‘ >> /etc/rc.conf

## PHP5
cd /usr/ports/lang/php5
make install clean
echo ‘AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml’ >> /usr/local/etc/apache22/httpd.conf

## PHP5 Extension
cd /usr/ports/lang/php5-extension
make config install clean

## MySQL
cd /usr/ports/databases/mysql50-server && make install clean
/usr/local/bin/mysql_install_db
chown -R mysql:mysql /var/db/mysql
/usr/local/bin/mysqld_safe &
/usr/local/bin/mysqladmin -u root password “password-root-mysql”
/usr/local/bin/mysqladmin -u root -h ip.server “password-root-mysql”
echo ‘mysql_enable=”YES”‘ >> /etc/rc.conf

February 5, 2008

Install MySQL from Source

Filed under: Freebsd, MySQL, Linux - Salman Teguh @ 4:19 am

[user@host]# su - root
[root@host]# cd /usr/local
[root@host]# tar -xzvf mysql-standard-4.0.9-gamma-pc-linux-i686.tar.gz
[root@host]# cd mysql-standard-4.0.9-gamma-pc-linux-i686
[root@host]# ./configure –prefix=/usr/local/mysql && make && make install && make clean
[root@host]# groupadd mysql
[root@host]# useradd –g mysql mysql
[root@host] # /mysql-standard-4.0.9-gamma-pc-linux-i686/scripts/mysql_install_db
[root@host]# chown -R root /usr/local/mysql
[root@host]# chown -R mysql /usr/local/mysql/var
[root@host]# chgrp -R mysql /usr/local/mysql
[root@host]# /usr/local/mysql/bin/mysqld_safe –user=mysql &

December 10, 2007

SMB Share di Zencafe

Filed under: Project, Linux - Salman Teguh @ 5:24 am

dikutip dari : http://bayuart.wordpress.com/2007/04/12/zencafe-distro-khusus-warnet/

Samba Server (Komputer yag file/direktorinya ingin anda share)

1. Pastikan anda mengaktifkan SAMBA Service saat pertama kali install, jika tidak, anda dapat mengaktifkannya lewat Menu > System > Zenpanel, lalu klik Startup Services
2. Buka SWAT (Menu > System > Samba Web Administration Tools), login dengan user root & password.
3. klik ikon GLOBALS, ikuti langkah berikut ini:

* Workgroup, ganti dengan nama workgroup anda
* Netbiosname, ganti ini dengan nama komputer anda
* Security, ganti dengan “SHARE”
* Klik “Commit Changes”

4. Klik ikon SHARES, ikuti langkah berikut:

* Masukkan nama share, sebagai contoh: Documents, lalu klik “Create Share”
* Path, ganti dengan letak folder yang ingin anda share, sebagai contoh: /home/username/Documents
* Read only, ganti dengan “NO”
* Guest ok, ganti dengan “YES”
* Klik “Commit Changes”

5. Ganti permission /home/username/Documents ke RWX (777), jika anda tidak tahu bagaimana caranya, klik kanan saja folder Document > Properties > Permission, ganti semua ke Read & Write.
6. Ok, sekian. Simple kan?

Samba Client (Komputer untuk membaca share direktori)
Anda hanya memerlukan 1 kali langkah ini. Anda tidak memerlukan langkah ini lagi selama anda tetap menggunakan Zencafe anda.

Klik Menu > Network > FuseSMBTools, ganti Mountpoint directory ke Network diektori anda Contoh: /home/username/Network lalu Save.

Hanya itu? Ya hanya itu. Klik shortcut Network pada desktop setiap kali anda ingin mengakses share direktori komputer lain.

July 28, 2007

HOWTO: Installing Brother DCP-115C/MFC210C printer in Fedora 6

Filed under: Project, Linux - Salman Teguh @ 7:44 pm

sumber : http://lifeeditor.blogspot.com/2007/04/howto-installing-brother-dcp.html

4/06/2007
HOWTO: Installing Brother DCP-115C/MFC210C printer in Fedora 6

1. Step 1: Download from Brother

[The CUPS wrapper]
[The LPR Driver]

For other Brother machines: Please make sure the appropriate drivers are downloaded. Check the Brother website for the LPR Drivers and for the CUPS Wrapper.

2.TURN PRINTER OFF
DO NOT SKIP THIS STEP! THINGS GO TERRIBLY WRONG WHEN THIS IS AVOIDED!

3. LPR Driver Install
rpm -Uvh MFC210Clpr-1.0.2-1.i386.rpm

4. Install the CUPS Wrapper
rpm -Uvh cupswrapperMFC210C-1.0.0-1.i386.rpm

5. TURN PRINTER ON

6. System → Administration → Printing

* Paper Tab: Ensure your local paper size is selected.
* Advanced Tab: Review the choices and make appropriate adjustments.
* Click “Print a test page” to confirm all works well.

7. The current drivers do not support SELinux(FedoraCore4/GNOME etc). If you get an error when printing you have to disable SELinux.

System -> Administration -> Security Level and Firewall -> SELinux and the set SELinux Setting to ‘Permissive’.

July 20, 2007

IGOS-Nusantara

Filed under: Linux - Salman Teguh @ 5:39 am


Setelah malang-malang di pencarian distro, akhirnya nyoba juga distro yang menurut gw paling nasionalis :D , banyak merah putihnya…. heheheheh

Yup, nama distronya IGOS-Nusantara. Isinya sih mirip2x sama ubuntu, cuman secara default udah pake bahasa indonesia untuk installer-nya dan GUI-nya. Karena agak2x ribet sama bahasa indonesia (bukannya gak nasionalis) akhirnya gw install bahasa inggrisnya biar gak repot.

Yang udah dioprek dari distro ini adalah bagaimana meng-install CCL-Billing (untuk billing warnet). Insya allah nanti bakalan ada tutorial howto-nya untuk install baik di client maupun di server. Beberapa bagian dari tutorial mengambil dari tempat lain cuman ada beberapa yang harus disesuaikan sama IGOS-Nusantara. Kerepotan utama adalah masalah repositori (untuk install atau update paket yang ada). Tapi masalah ini bisa diselesaikan dengan cara menggunakan repositori Fedora Core.

Repositori yang dari fedora core dibuat menjadi repositori lokal IGOS-Nusantara, biar install paketnya gak perlu keluar (internet).

February 6, 2007

Ubuntu with *.chm file

Filed under: Project, Linux - Salman Teguh @ 8:38 am

Kalo pengen buka file2x chm (kayak php manual.chm), harus install dulu gnochm. cara installnya cukup :
“sudo apt-get install gnochm” (Tanpa petik).

February 2, 2007

Migrasi ke Ubuntu !

Filed under: Lain-lain, Linux - Salman Teguh @ 6:37 am

Tanggal 21 januari telah terjadi migrasi total ke ubuntu. Desknote yang setia nemenin ke kampus akhirnya di migrasi ke Ubuntu. Migrasi ini berdasar pertimbangan yang lumayan panjang. Mulai cari distro yang sesuai, order CD sampe nyari aplikasi yang bisa jalanin lagu-lagu MP3 sama film (avi, mkv, mp4, rmvb, dll) - ini yang paling penting :D

Mulai dari install aplikasi yang biasa dipake sampe codecs multimedia butuh 2 hari-an. Maklum koneksi di rumah pake telkomnet, kan sayang. Jadi pake koneksi di kampus aja yang gratis (heheheheh…. nuhun den :D ). Jadi browsing informasinya dikampus, sekalian download update yang lumayan gede (185 MB).

Aplikasi yang hukumnya wajib di install tuh aplikasi-aplikasi penting buat kerjaan dikampus juga hiburan (paling penting…hehehehe).
Diantaranya :
- XMMS buat jalanin MP3
- MPlayer movie player (tau dong buat apa…)
- RealPlayer 10 (buat ngejalanin film format RMVB -> tadinya)
- CrossOver buat windows emulator

Untuk install XMMS :
#sudo apt-get install xmms

Untuk install Mplayer :
#sudo apt-get install mplayer

Untuk RealPlayer 10 kemaren download langsung dari websitenya (http://www.real.com)

Tadinya untuk ngejalanin format RMVB pake aplikasi RealPlayer 10 ini, tapi ada beberapa film yang gambarnya keluar tapi suaranya kayak robot. Akhirnya dicari solusi lain yaitu install codec tambahan buat Mplayer.
Caranya :
- download update codecs terbaru dari http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
(bisa pake wget atau browser)
- tar -xjvf essential-*.tar.bz2
- sudo mkdir -p /usr/lib/win32
- sudo cp essential-*/* /usr/lib/win32
- DONE

Khusus untuk CrossOver Office Professional, ini mah dapet dari grey area-nya internet :D

Mungkin aneh yah, kok udah pake Ubuntu masih perlu CrossOver. Tapi itulah kenyataannya. Masih perlu aplikasi yang berbasis windows. Terutama Photoshop sama Dreamweaver. MS Office juga terpaksa di-install soalnya kalo lagi dapet narkoba (baca:proyek) dari dosen, format file yang dikasih biasanya *.Doc sama *.Xls yang kadang layout dan rumus yang udah diset bagus jadi berantakan kalo dibuka sama Openoffice.

Selain aplikasi diatas, ada beberapa aplikasi yang di install juga. Misalnya MC (Midnight Commander), D4X (Downloader for X) juga Mozilla Thunderbird (i love this one), XAMPP (webserver, dbserver) buat nulis blog sama log tesis di localhost :D

Mudah-mudahan dengan migrasi ini bisa membawa kebaikan (cita-cita: ntar kalo udah punya anak, OS yang harus dia kenal pertama kali itu *.nix) :D , atau paling jeleknya kalo udah migrasi gini gak akan kena razia windows. hehehehehehehe…

November 17, 2005

HowTo Create A LiveCD | livecd.berlios.de

Filed under: Project, Linux - Salman Teguh @ 10:03 am

Building a LiveCD based on Mandrakelinux 10.1 Official

This step by step HowTo describes how you can master a LiveCD from an installed system. You should be familiar with: doing basic works on command line, setup additional software sources on a Mandrake system, using ‘urpmi’ to install and remove software.

0. Mastering a LiveCD requires a minimum of 256 MB RAM and in addition a swap partition. 250 MB should be enough if you create a small LiveCD ( ~ 300 MB ), go for 2 GB if you are planning a bigger system.

1. Install a clean Mandrakelinux 10.1 Official on one / partition. Don’t forget the swap partition. Install the available official updates. Don’t install nvidia or ati drivers.

2. Keep your system simple, and: keep it small. Start with a used space of 800 - 900 MB, this is a full featured KDE system. ‘df’ is the command to control the used space on your harddrive. Take your time to uninstall (Mandrake Control Center) all unneeded software. A default Mandrake installation includes a lot of stuff that you can safely get rid off. And if urpmi complains about dependencies and wants to uninstall too much, you may want to experiment with: rpm -e –nodeps. That will erase single packages.
Configure the ‘look and feel’ of your graphical environment. The LiveCD will look the same.
Make sure that /etc, /home, /lib, /root, /var is not too big. Otherwise you’ll be running out of RAM when starting the LiveCD. Examples: Don’t put many (already compressed) video or music files into your home directory. Don’t have two kernel versions (/lib) installed. Clean or uninstall your urpmi databases in /var/lib/urpmi.

3. Add ‘contrib’ and ‘main’ to your urpmi software sources. Install the ‘kernel 2.6.7 tmb’ from ‘contrib’ on your system. (MCC) The default kernel 2.6.8 won’t work on a LiveCD! Reboot with your new kernel, make sure you are running it: uname -r. Uninstall the default 2.6.8 kernel, again reboot.

4. The next step is to install the mklivecd scripts that will build your .iso file. I’ve made an archive which contains: a working mklivecd.rpm (from cvs, 01.01.2005), the file install_any.pm and this HowTo. Download the archive here: livecd_101.tar.gz
Unpack the archive to your home directory and install the rpm, using the urpmi command. This will take care of all dependencies and will download and install more stuff. You did setup your urpmi sources (contrib, main), hey?
As root copy the file install_any.pm to /usr/lib/libDraKX

If you want to include an installer into your LiveCD you also need the package livecd-utils.rpm. Get it here

5. Clickup a console. Get root. Run: mklivecd –help
The command to build your iso is as simple/enhanced as you want.
Examples:
# mklivecd myown.iso
# mklivecd –verbose –resolution 800x600 –fstab=rw,auto –splash=no –keyboard=fr rainbow.iso
The script takes care of compressing the files and building a bootable image, and will cleanup after it is done.
Burn your iso. Have fun.

6. If you are running into problems, please read the archives of the livecd-users mailinglist at berlios.de, or even better, join the list.

7. Some notes on Kernel problems with Mandrake 10.1 OE. To build a LiveCD with the mklivecd scripts the kernel has to be patched with squashfs. The default Mandrake 10.1 kernel (2.6.8.1) has the wrong, not working patch! And the 2.6.8 kernel has broken append options! You can use the 2.6.7 tmb kernel from contrib. It’s working fine. If you want a newer kernel version (2.6.9 or 2.6.10), you need to patch and compile your own kernel. More info on the users-list or on the irc channel #pclinuxos (efnet), where you can talk to the developers of the mklivecd scripts.

8. When building your iso, you can specify a standard keyboard layout. Default is the US keyboard. Later on your LiveCD you can use a cheatcode (keyb=fr) to alter the layout. If you want an easy way to change the keyboard while running the LiveCD, you need to edit the file ‘/usr/lib/libDrakX/Xconfig/xfree.pm ‘, before building your iso. Lines 25 and 71, change the resp. ‘keyboard’ to ‘kbd’, that will load the correct keyboard driver. (more…)

July 26, 2005

Membaca partisi NTFS dari Fedora Core 4

Filed under: Project, Linux - Salman Teguh @ 5:20 am

##### www.linux.or.id
Pada Fedora Core 4 (FC4), kernel yang dibawa dalam paket tidak menyediakan dukungan terhadap NTFS karena masalah lisensi, sehingga diperlukan instalasi kernel yang mendukung ntfs.

Saya telah mencoba dengan
kernel-module-ntfs-2.6.11-1.1369_FC4-2.1.22-0.rr.6.0.i686.rpm
dan SUKSES membaca partisi NTFS dan FAT32 di komputer yang saya pakai.

Untuk informasi lengkapnya, silahkan kunjungi :
http://linux-ntfs.sourceforge.net

Untuk instruksi instalasi, kunjungi :
http://linux-ntfs.sourceforge.net/rpm/instructions.html

Mounting

Filed under: Project, Freebsd, Linux - Salman Teguh @ 5:20 am

iso image :
mount -r -t iso9660 -o loop /path/to/image.iso /mnt/hd

nfs :
mount -t nfs a.b.c.d:/path/ path_target/

Instalasi software Billing di Linux: OpenKiosk

Filed under: Project, Linux - Salman Teguh @ 5:19 am

To: asosiasi-warnet@yahoogroups.com
From: Harry Sufehmi
Subject: Billing di Linux: OpenKiosk

Berikut ini adalah informasi cara instalasi salah satu program billing di Linux, yaitu OpenKiosk : http://openkiosk.sourceforge.net
nb: program ini TIDAK bisa digunakan di LTSP.

Salah satu kelebihan OpenKiosk adalah bahwa client / workstation bisa menggunakan sistim operasi Linux, FreeBSD/OpenBSD, maupun Windows.
Program billing ini juga gratis.

(more…)

Membangun SMS Gateway dengan Gnokii dan PlaySMS

Filed under: Project, Linux - Salman Teguh @ 5:16 am

Diambil dari Manual PlaySMS :

WARNING !!!
———–
PlaySMS is not save for kids!
But if you’re a kid, and you can meet requirement’s below, you can use PlaySMS, savely!
Kids must:
1. Not nervous when login to Linux console remotely
2. Able to read and understand README first, INSTALL and then FAQ in this package
3. Able to use Yahoo! to send join PlaySMS mailing list, and ask good questions
4. Be serious after this WARNING

REQUIREMENT
———–
Download PlaySMS : http://playsms.sourceforge.net/
Download Gnokii : http://www.gnokii.org/

Minimum Required Hardware
- Web servers hardware
- Disk freespace for software and data disk at least 10 MB
Minimum Required Software
- Operating System *NIX based (Linux preferred)
- Web Server (Apache preferred http://httpd.apache.org)
- Database Server MySQL 3.23.47 or latest stable release (http://www.mysql.com)
- PHP 4.2.2 or latest stable release with mysql module enabled and CGI version
(http://www.php.net)
Minimum Required Server Operator (or Developer)
- Understand howto make sure installed PHP has MySQL module enabled (phpinfo)
- Understand howto create/drop MySQL database
- Understand howto insert SQL statement into created database
- OK to read README, INSTALL, FAQ and other docs :)

(more…)

Configure FreeTDS+Apache+PHP+MSSQL 2000 di *nix

Filed under: Project, Freebsd, PHP, Linux, SQL Server - Salman Teguh @ 5:11 am

Configure Freetds

1. Download Freetds 0.53 at www.freetds.org
2. ./configure –prefix=/usr/local/freetds –with-tdsver=7.0
3. make
4. make install
5. Edit /usr/local/freetds/etc/freetds.conf
6. Add

[MyServer70] ¡¥DSN for PHP
host = 10.23.52.114 ¡¥MS SQL Server IP
port = 1433 ¡¥MS SQL Default Port
tds version = 7.0 ¡¥MS SQL 2000 Version No.
client charset = UTF-8 ¡¥Charset Encoding, it can be omitted if you don’t want to disply in unicode

Configure PHP 4.12
1. Download PHP4 from www.php.net
2. ./configure –with-sybase=/usr/local/freetds –with-apache=../{Apache Path} –enable-track-vars
3. copy all files in /usr/local/freetds/lib/ to /usr/lib
4. make
5. make install

Configure Apache 1.3.24

1. ./configure –activate-module=src/modules/php4/libphp4.a
2. make
3. make install
4. cp php.ini-dist /usr/local/lib/php.ini
5. Edit Your httpd.conf or srm.conf file and add;
AddType application/x-httpd-php .php
6. /usr/local/apache/bin/apachectl start

Feel free to email to us @ aikok@netfront.net or elee@kinwai.net
German Chu & Eagle Lee

Get free blog up and running in minutes with Blogsome
Theme designed by Alex King