Archive for October 7th, 2014

7
Oct

linux system monitoring

   Posted by: admin    in Mẹo vặt của hiếu râu

enable epel

wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm -ivh epel-release-6-8.noarch.rpm

yum install glances

glances

7
Oct

mysql php utf8 charset

   Posted by: admin    in Mẹo vặt của hiếu râu

mysql_query(”SET character_set_results = ‘utf8′, character_set_client = ‘utf8′, character_set_connection = ‘utf8′, character_set_database = ‘utf8′, character_set_server = ‘utf8′”);