Monday, February 16, 2009

WIKIMEDIA Installation on Slackware 12.1


Hardware Requirements
Processor Pentium 4
Ram 1GB
Harddisk 80GB

Software
Apache
Mysql
Php
Mediawiki
Gdlib and image

Installation

1. Install your favorite linux os ( I am use slackaware 12.1)
2. Install webserver use Apache
3. Install your database server with mysql
4. Install your PHP
5. Install gdlib AND imagemagic
6. Install mediawiki

Mediawiki from source on slackware

Create database mediawiki from mysql
# mysql -u root -p
Enter password: w3du51r3n9
mysql> create database wikiku;

mysql> grant INSERT,SELECT on root.* to wikiwiki@localhost;

mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE, DROP on wikiku.* to wikiwiki @localhost identified by 'p3d3t3l3k';

mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE, DROP on wikiku.* to wikiwiki identified by ' p3d3t3l3k ';

mysql> exit;

extract mediawiki from source to your documentroot

tar zxvf mediawiki-1.13.4.tar.gz –C /usr/local/apache/htdocs/wikiku
cd /usr/local/apache/htdocs/wikiku

chmod a+w wiki/config



Installation mediawiki from WEB
Open your browser paforite mozilla or ie and than acses to http://localhost/wiki

Configuration parameter for wiki
Wiki Name : your wiki name
Contact e-mail : your email address
Language : your language
Admin Username : your admin for configuration wiki
password : type your password
Confirm : type again your password
Database Type : mysql
Database name : wikiku
DB username : wikiwiki
DB password : p3d3t3l3k
DB pass Confirm : p3d3t3l3k
Superuser : root
Password : w3du51r3n9
Database Prefix : wiki_

Last is click Install MediaWiki

Move LocalSettings.php from folder config to your htdocs
mv config/LocalSettings.php /usr/local/apache/htdocs/wikiku/

You can test your wiki http://localhost/wiki

many thanx
yono

Saturday, February 07, 2009

I love how you love me

my love ... moga tambah sayang yah
thanks yah sudah nemenin kami 8 tahun ini

Eddy Arnold
I love how you love me

I love how your eyes close whenever you kiss me
And when I'm away from you I love how you miss me
I love the way you always treat me tenderly
But darling most of all I love how you love me

I love how your heart beats whenever I hold you
I love how you think of me without being told to
I love the way your touch is always heavenly
But darling most of all I love how you love me

(I love how your heart beats) whenever I hold you
(I love how you think of me) without being told to
I love the way your touch is always heavenly
But darling most of all I love how you love me

I love how you hug me I love how you squeeze me tease me please me
Love how you love me I love how you love me
I love how you love me I love how you love me I love how you love me

Thursday, December 18, 2008

how to backup bookmarks on firefox

some time when we reformat pc or notebook , forgot to backup bookmarks on IE or Firefox

in this section we can share how to backup your bookmarks on firefox

this method is directly taking a back up of the bookmarks.html file from the profile folder of the Firefox application. To do this navigate to this fold

C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\sapig0r3n9.default

Monday, October 13, 2008

gaya-gaya : maenan mikrotik

Ngonfik Mikrotik

Untuk Mengkonfik mikrotik dapat menggunakan winbox , click winbox anda kemudian masukan user id admin dan password tekan enter bila masih default, lalu pilih mac address yang anda akan config.

Config buat Acces Point

Interface

- eth1

- wlan

- bridge1

wlan setting

Radio-name = radityo

mode = AP-Bridge

ssid = abahku

band = 5GHz

freq = 5180

Security Profile = m0m0tu4

Default Autentication = yes

Default Forward = yes

WDS Setting

wds mode = dynamic

wds de bridge = bridge1

Security Profile Setting

name = m0m0tu4

mode = dynamic key

WPA - PSK = yes

WPA2 - PSK = yes

WPA - Pre-Share-Key = 4b4h-m0m0-c4y4n9

WPA2- Pre-Share-Key = 4b4h-m0m0-c4y4n9

Bridging Setting

interface yang di bridge

- Eth1

- wlan

- wds

Setting IP Address

interface yang di setting ip adalah

bridge = 172.30.30.5

Config buat CLIENT

Interface

- eth1

- wlan

- bridge

wlan setting

radio-name = ademaby

mode = station wds

ssid = abahku

band = 5GHz

freq = 5180

Security Profile = m0m0tu4

Default Autentication = yes

Default Forward = yes

WDS Setting

wds mode = dynamic

wds de bridge = bridge1

Security Profile Setting

name = m0m0tu4

mode = dynamic key

WPA - PSK = yes

WPA2 - PSK = yes

WPA - Pre-Share-Key = 4b4h-m0m0-c4y4n9

WPA2- Pre-Share-Key = 4b4h-m0m0-c4y4n9

Bridging Setting

- Eth1

- wlan

Setting IP Address

interface yang di setting ip adalah

bridge = 172.30.30.6

ngoprek windows : ID YM online lebih dari 1 ID dalam windows

untuk nginget-nginget aja nih ... sempet dah lupa ngoprek regiteri di windows

untuk membuat YM Id online lebih dari 1 id caranya adalah sebagai berikut

1. click menu Start
2. click menu Run
3. ketik regedit
4. masuk ke registery di windows
5. pilih HKEY_CURRENT_USER
6. pilih Software
7. pilih yahoo
8. pilih pager
9. pilih test
10. click mouse sebelah kanan, klik kanan
11. click New
12. click DWORD value
13. ketikan kadal click mouse 2 kali
14. dan berikan nilai 1 ... 2...3 terserah anda mau masukan berapa pun untuk id ym anda yg akan online
15. lalu pilih program ym untuk mengonlinekan id yang lain


sekian dan terima kasih

Monday, September 15, 2008

Semoga "Ade" selalu inget ini yah .....

For The First Time

Are those your eyes, is that your smile
I've been lookin' at you forever
But I never saw you before
Are these your hands holdin' mine
Now I wonder how I could of been so blind

For the first time I am looking in your eyes
For the first time I'm seein' who you are
I can't believe how much I see
When you're lookin' back at me
Now I understand why love is...
Love is... for the first time...

Can this be real, can this be true
Am I the person I was this morning
And are you the same you
It's all so strange how can it be
All along this love was right in front of me

For the first time I am looking in your eyes
For the first time I'm seein' who you are
I can't believe how much I see
When you're lookin' back at me
Now I understand why love is...
Love is... for the first time...

Such a long time ago
I had given up on findin' this emotion...
Ever again
But you live with me now
Yes I've found you some how
And I've never been so sure

And for the first time I am looking in your eyes
For the first time I'm seein' who you are
Can't believe how much I see
When you're lookin' back at me
Now I understand why love is...
Love is... for the first time...

ehm...ehm... momo

Monday, April 07, 2008

TUTORIAL INSTALLASI ZABBIX di Slackware 12

Zabbix merupakan salah satu aplikasi free-software yang digunakan untuk memonitoring jaringan juga serta infra-struktur di dalamnya. Misalkan trafik jaringan, pembagian Bandwidth, kondisi jaringan, dan sebagainya.

Sebelum melakukan installasi terlebih dahulu kita lakukan installasi terhadap paket yang akan digunakan untuk menjalankan zabbix yaitu:
  • Apache
  • php
  • mysql
  • netsnmp
Buat user dan group zabbix
groupadd zabbix
useradd -c 'Zabbix' -d /home/zabbix -g zabbix -s /bin/bash zabbix

Buat direktory home untuk zabbix serta ownershipnya
mkdir /home/zabbix
chown zabbix:zabbix /home/zabbix

Buat Database untuk zabbix
mysql -p -u root
create database zabbix;
grant all on zabbix.* to 'zabbix'@'localhost' identified by 'PASSWORD-ANDA';
quit;

Download Aplikasi Zabbix versi 1.4.5 dapat di download melalui
wget http://downloads.sourceforge.net/zabbix/zabbix-1.4.5.tar.gz?modtime=1206526719&big_mirror=0
letakan di /home/zabbix
lalu di ekstrak
tar zxvf zabbix-1.4.5.tar.gz
cd zabbix-1.4.5
lalu compile aplikasi teersebut
./configure --prefix=/usr --with-mysql --with-net-snmp --enable-server --enable-agent
make && make install

pastikan tidak ada error

tambahkan port yang akan di buka di /etc/services
zabbix_agent 10050/tcp # Zabbix ports
zabbix_trap 10051/tcp

mkdir -p /etc/zabbix
chown -R zabbix:zabbix /etc/zabbix
cp misc/conf/zabbix_* /etc/zabbix

edit zabbix_agentd.conf
vi /etc/zabbix/zabbix_agentd.conf
buang tanda #ensure Server=127.0.0.1

edit vi /etc/zabbix/zabbix_server.conf
max_execution_time = 300
date.timezone = UTC
ensure DBHost=localhost
ensure DBName=zabbix
ensure DBUser=zabbix
ensure DBPassword=password-anda

Buat script untuk mengaktifkan zabbix_agentd
vi /etc/rc.d/rc.zabbix_agend

#!/bin/sh
SERVICE="ZABBIX agent"
#DAEMON=/usr/local/bin/zabbix_agentd
DAEMON=/usr/sbin/zabbix_agentd
PIDFILE=/tmp/zabbix_agentd.pid

case $1 in
'start')
if [ -x ${DAEMON} ]
then
$DAEMON
# Error checking here would be good...
echo "${SERVICE} started."
else
echo "Can't find file ${DAEMON}."
echo "${SERVICE} NOT started."
fi
;;
'stop')
if [ -s ${PIDFILE} ]
then
if kill `cat ${PIDFILE}` >/dev/null 2>&1
then
echo "${SERVICE} terminated."
rm -f ${PIDFILE}
fi
fi
;;
'restart')
$0 stop
$0 start
;;
*)
echo "Usage: $0 start|stop|restart"
;;
esac

Buat script untuk mengaktifkan zabbix_server
edit vi serta rc.zabbix_server
#!/bin/sh
SERVICE="ZABBIX server"
#DAEMON=/usr/local/bin/zabbix_server
DAEMON=/usr/sbin/zabbix_server
PIDFILE=/tmp/zabbix_server.pid

case $1 in
'start')
if [ -x ${DAEMON} ]
then
$DAEMON
# Error checking here would be good...
echo "${SERVICE} started."
else
echo "Can't find file ${DAEMON}."
echo "${SERVICE} NOT started."
fi
;;
'stop')
if [ -s ${PIDFILE} ]
then
if kill `cat ${PIDFILE}` >/dev/null 2>&1
then
echo "${SERVICE} terminated."
rm -f ${PIDFILE}
fi
fi
;;
'restart')
$0 stop
$0 start
;;
*)
echo "Usage: $0 start|stop|restart"
;;
esac

Copy database ke mysql

mysql -u root -p zabbix < /home/zabbix/zabbix-1.4.5/create/schema/mysql.sql mysql -u root -p zabbix < /home/zabbix/zabbix-1.4.5/create/data/data.sql mysql -u root -p zabbix < /home/zabbix/zabbix-1.4.5/create/data/images_mysql.sql Setting beberapa item di apache
cd /etc/httpd
vi php.ini, lalu tambahkan
max_execution_time = 300
date.timezone = UTC

lalu edit httpd.conf dan tambahkan
ScriptAlias /zabbix/ "/var/www/htdocs/zabbix/"

#
# Directory settings
#

AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all


AllowOverride None
Order allow,deny
Allow from all

lalu save.

Buat directory untuk zabbix.

mkdir -p /var/www/htdocs/zabbix
cp -R /home/zabbix/zabbix-1.4.4/frontends/php/* /var/www/htdocs/zabbix/
chown -R zabbix:zabbix /var/www/htdocs/zabbix/*

setelah itu restart apache , apachectl restart
dan jalankan scrip untuk zabbix_agentd dan zabbix_server
/etc/rc.d/rc.zabbix_agentd start
/etc/rc.d/rc.zabbix_server start

kemudian akses http://localhost/zabbix/

masukan user id admin dan password kosongkan saja lalu enter.

sekian dan terima kasih

yono