Friday, November 30, 2012

วิธีแก้ตัว webmail ของ ispCP ให้ส่งเมลภาษาไทยได้

กันลืมอีกเช่นเคย

ให้ไปแก้ charset ในไฟล์  config
ใน folder /var/www/ispcp/gui/tools/webmail/config
แล้วหา

$default_charset = 'iso-8859-1';

ให้แก้เป็น

$default_charset = 'utf-8';

Thursday, February 23, 2012

เอาหน้า registation ออกในวีเอ็มแวร์

เขียนกันลืม

Library/Preferences/VMware\ Fusion/preferences

registrationViewed = "TRUE"

ให้แก้เป็น FALSE


**เพิ่มเติม

  1. Go to this directory:

    /Users/username/Library/Preferences/VMware\ Fusion/
  2. Open the Preferences file in a plain text editor. 
  3. To disable the dialog window, modify or add these entries:

    • Antivirus Check

      hint.dui.skipAntivirusCheck.Suppressible = "FALSE"
    • Registration

      pref.license1.registrationViewedCount = "3"
      pref.license1.registrationViewed = "TRUE"
    • User Experience Program

      pref.dataCollectionEnabled.epoch = ""
      pref.dataCollectionEnabled = "FALSE"

      Note: The User Experience Program is an opt-in program. Disabling this setting ensures you are not prompted to opt in, and data is not collected.
  4. Save the Preferences file.

Wednesday, February 15, 2012

วิธีหาไฟล์

เข้าไปดูได้ที่นี่เลยละกัน

http://www.cyberciti.biz/faq/howto-finding-files-by-date/

Friday, February 03, 2012

mcrypt บน centos 6

กันลืม(เช่นเคย)

เนื่องจาก centos 6.5 ไม่มีpackage นี้ใน yum เลยต้องใช้วิธีนี้


rpm -ivh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
แล้วก็
yum update

หลังจากนั้นก็
yum install php-mcrypt

เป็นอันเสร็จพิธี

หมายเหตุ ตัว link ใช้กับ CentOS 6 x86_64 นะถ้าเป็น 32 บิตก็แก้ link ด้วยละกัน

Ref : http://www.mojowill.com/geek/php-mcrypt-on-centos-6/