07.09.09

How to install freetds in centos + cpanel

Posted in IT at 1:54 PM by x-sun

1. Download FreeTDS
wget http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz

2. Extract
tar zfvx freetds-stable.tgz

3. Configure and Make

cd freetds-0.82
./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib \ --enable-dbmfix --with-gnu-ld
make && make install

4. Edit /var/cpanel/easy/apache/rawopts/all_php5
add the following line
--with-mssql=/usr/local/freetds

5. Touch the following files as these are what are checked for by PHP

touch /usr/local/freetds/lib/libtds.a
touch /usr/local/freetds/include/tds.h

6. Now run Easy Apache and make sure that Mysql, Mysql of the system, and Mysqli are all selected.
Simply build
/scripts/easyapache

06.16.09

Apa Yang Kau Pikir dan Lakukan Ketika Ibumu Masih Ada

Posted in Reflection at 11:45 AM by x-sun

ketika kamu lihat ibumu marah sekali padamu
bersyukurlah karena berarti ia masih sangat sehat dan hidup

ketika kamu melihat ibumu tertawa dengan riang
bersyukurlah karena melihat ibu yang sakit dan terbaring tak akan bisa membuatmu tertawa

ketika kamu melihat ibumu mendengar ia bercerita padamu
bersyukurlah karena ia masih punya harapan padamu dan harapan dalam hidupnya

Read the rest of this entry »

04.23.09

How to Setup NTP Server

Posted in IT at 12:58 PM by x-sun

I wasted a lot of time on RTFM activities in the past few days trying to get ntp running on FreeBSD. Herein I share some of configuration. I hope my write up will assist others.

Create a file named /etc/ntp.conf and put lines similar to this in it or the configuration you have determined for your situation:

server 203.160.128.6 prefer # Parent Server that i use is ntp.kim.lipi.go.id
logfile /var/log/ntp.log
restrict default ignore # deny packets of all kinds
restrict 203.160.128.6 # server ip
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap #local network

Read the rest of this entry »

02.28.09

How to Recovering from a Lost or Forgotten Password for Catalyst 3550

Posted in IT at 12:23 PM by x-sun

An end user with physical access to the switch can recover from a lost password by interrupting the boot process during power-on and by entering a new password. This is the default configuration for Catalyst 3550 switches.

Read the rest of this entry »

02.02.09

Moving the MySQL’s datadir directory.

Posted in IT at 8:20 PM by x-sun

By default, MySQL’s datadir is placed in the /var/db/mysql directory. However, if you are planning on using MySQL tables to store a lot of data and your /var partition is small, it might cause you problem at a later stage. In such a scenario, it is better to move the MySQL’s datadir to another partition (like /home.

The steps are

1. Stop your mysql server before starting this operation
2. Create the directories that will be new datadir
3. chown the directory to the mysql:mysql user
4. copy the files from the old datadir to the new location.
5. Make sure that the files and directories are owned by mysql user
6. Make changes in the rc.conf to point the new datadir.
add mysql_dbdir=”new datadir”
7. Restart the MySQL database
8. You might need to do varying degree of troubleshooting to get the server working if there is some problem
9. After the server is running for a few days properly, get rid of the old data.

10.15.08

Detect invisible user on Yahoo! Nessenger

Posted in IT at 10:32 PM by x-sun

buat yang mau ngecek status ym bisa menggunakan situs2 berikut :


www.imvisible.info
www.invisible-scanner.com
www.persiangap.com
www.ydetector.com

08.27.08

KATEGORI NGUPIL YANG BENAR

Posted in Jokes at 8:24 PM by x-sun

ini adalah Tata cara Ngupil yg Elegan

Orang yang menganggap waktu adalah uang
Kalo ngupil, 2 lobang sekaligus ( Sekali mendayung, 2 pulau terlampaui )

Orang yang perfeksionis
Kalo mo ngupil, cuci tangan sampai bersih. Setelah ngupil, tangannya dicuci lagi, dan hidungnya di kompres dengan alkohol untuk mencegah terjadinya infeksi karena saat ngupil, bisa saja jari tangan melukai hidung.

Orang yang tidak berpendidikan
Menggunakan jari orang lain untuk ngupil. (INI JELAS BUKAN GUEEE!!!!!)

Orang yang tidak berpendidikan tapi punya sopan santun
Menggunakan jari orang lain untuk ngupil, dan mengucapkan terima kasih setelah selesai.

Read the rest of this entry »

Tips untuk Anda yang merasa jelek

Posted in Jokes at 8:16 PM by x-sun

THE BEAUTY IS UNDER THE SKIN
(jadi cakep kalo udah ganti kulit)

Perbaiki inner beauty anda, itu kalau anda merasa sisi luar anda udah ancur gak ketolong lagi…

LIKE FATHER LIKE SON
(suka bapaknya, suka juga sama anaknya)

jangan salahkan diri anda kalau anda jelek, salahkanlah orangtua anda, karena jelek itu keturunan…

Read the rest of this entry »

Tips Agar Tidak Kecopetan

Posted in Jokes at 7:42 PM by x-sun

Ingat, kejahatan terjadi bukan hanya karena kesengajaan tetapi karena ada kesempatan

1. Bila anda perempuan bawalah tas anda dengan baik, bila perlu kempit di ketiak anda, karena copet rata-rata tidak suka bau ketiak yang tidak sedap.

2. Bila anda laki-laki pastikan dompet anda selalu disaku anda, karena bila disaku orang lain berarti anda sudah … Kecopeetaan.

3. Buatlah bingung sang copet dengan membawa uang anda terbagi pada seluruh kantong saku

4. Pastikan anda selalu tidak bawa uang, dan pasti anda tidak akan pernah dicopet, sebab anda tidak punya uang.

Read the rest of this entry »

If You Love Someone

Posted in Reflection at 5:48 PM by x-sun

Here are times in life…
When the person you will love,
For the rest of your life.
Walks into your life.

Sometimes, just sometimes…
You hurt that person,
You push them away.
Not meaning to,
But you do.

Read the rest of this entry »

« Previous entries Next Page » Next Page »