Archive for November, 2011

Just for you my POLARIS…

Posted: November 28, 2011 in My live

“Someone Like You”

I heard that you’re settled down

That you found a girl and you’re married now.

I heard that your dreams came true.

Guess she gave you things I didn’t give to you.

Old friend, why are you so shy?

Ain’t like you to hold back or hide from the light.

I hate to turn up out of the blue uninvited

But I couldn’t stay away, I couldn’t fight it.

I had hoped you’d see my face and that you’d be reminded

That for me it isn’t over.

Never mind, I’ll find someone like you

I wish nothing but the best for you too

Don’t forget me, I beg

I remember you said,

“Sometimes it lasts in love but sometimes it hurts instead,

Sometimes it lasts in love but sometimes it hurts instead,”

Yeah.

You know how the time flies

Only yesterday was the time of our lives

We were born and raised

In a summer haze

Bound by the surprise of our glory days

I hate to turn up out of the blue uninvited

But I couldn’t stay away, I couldn’t fight it.

I had hoped you’d see my face and that you’d be reminded

That for me it isn’t over.

Never mind, I’ll find someone like you

I wish nothing but the best for you too

Don’t forget me, I beg

I remember you said,

“Sometimes it lasts in love but sometimes it hurts instead.”

Nothing compares

No worries or cares

Regrets and mistakes

They are memories made.

Who would have known how bittersweet this would taste?

Never mind, I’ll find someone like you

I wish nothing but the best for you

Don’t forget me, I beg

I remember you said,

“Sometimes it lasts in love but sometimes it hurts instead.”

Never mind, I’ll find someone like you

I wish nothing but the best for you too

Don’t forget me, I beg

I remember you said,

“Sometimes it lasts in love but sometimes it hurts instead,

Sometimes it lasts in love but sometimes it hurts instead.”

I have install and test Endian Firewall…

For almost 5 year I’am using pfsense than for this coming years I wanted to change to new firewall. But I have promlem with dnsmasq on Endian Firewall.

I’am googeling and found something that similar to my problem.

if you having that problem try this ways.

ssh to endian firewall

hackintosh$ ssh root@192.168.1.1

1. cp /etc/dnsmasq/resolv.conf /etc/dnsmasq/resolv.conf.old.

2. pico /etc/dnsmasq/resolv.conf

 

CHANGE THE nameserver value. 

nameserver 192.168.1.1 ## your firewall ip

namserver 8.8.8.8 ## google dns 

3. /etc/init.d/dnsmasq reload

4. /etc/init.d/dnsmasq restart

 

 

Show Mysql Connections

Posted: November 23, 2011 in Mysql

Mysql show command status

mysql> SHOW STATUS;

mysql> SHOW GLOBAL STATUS;

mysql> show status like ‘Conn%’;

+—————+——-+

| Variable_name | Value |

+—————+——-+

| Connections   | 8     |

+—————+——-+

1 row in set (0.00 sec)

 

mysql> show status like ‘%onn%’;

+————————–+——-+

| Variable_name            | Value |

+————————–+——-+

| Aborted_connects         | 0     |

| Connections              | 8     |

| Max_used_connections     | 4     |

| Ssl_client_connects      | 0     |

| Ssl_connect_renegotiates | 0     |

| Ssl_finished_connects    | 0     |

| Threads_connected        | 4     |

+————————–+——-+

7 rows in set (0.00 sec)

 

Mysql show process List

mysql> show processlist;

+—-+——+—————–+——–+———+——+——-+——————+

| Id | User | Host            | db     | Command | Time | State | Info             |

+—-+——+—————–+——–+———+——+——-+——————+

|  3 | root | localhost       | webapp | Query   |    0 | NULL  | show processlist |

|  5 | root | localhost:61704 | webapp | Sleep   |  208 |       | NULL             |

|  6 | root | localhost:61705 | webapp | Sleep   |  208 |       | NULL             |

|  7 | root | localhost:61706 | webapp | Sleep   |  208 |       | NULL             |

+—-+——+—————–+——–+———+——+——-+——————+

4 rows in set (0.00 sec)

 

Increasing Max MySQL Connections

[mysqld]

safe-show-database

innodb_data_file_path=ibdata1:10M:autoextend

datadir=/var/lib/mysql

socket=/var/lib/mysql/mysql.sock

max_connections=250

 

 

http://dev.mysql.com/doc/refman/5.0/en/show-status.html

http://kb.mediatemple.net/questions/711/(dv)+Increasing+Max+MySQL+Connections#dv

ICON2 COME TO KELANTAN

Posted: November 23, 2011 in My live

 

Secure your Joomla

Posted: November 23, 2011 in Joomla

Somebody menjeling sewaktu saya mengatakan apa yg perlu dan tidak (dont’s and do)…..

Mungkin ILMU yg dia pelajari dah sampai tahap dewa tapi apa yg ditunjukkan dan jawapan yg diberi agak mengecewakan…
(macam tahap cipan…)

Ini sebahagian daripada security atau guide sekiranya anda menggunakan joomla utk goverment punya website.

*** aku host web yg sikit punya gila pun tak bising…. lagi kaw-kaw punya hit dan hackers nak masuk hahahahah!!!!!!

Guide apache and php.. securing JOOMLA.

http://www.thegeekstuff.com/2011/03/apache-hardening/
http://docs.joomla.org/Security_Checklist_2_-_Hosting_and_Server_Setup

Tahniah dan Syabas buat skuad Harimau Muda ……

Terima kasih kerana menghiburkan kami walaupun sekali-sekala menggugurkan jantung kami…

Tahniah kerana berjuang sehingga titisan keringat terakhir dan berlari atas nama semangat HARIMAU MALAYA…

Tahniah dan Syabas buat semua..