Sep 19
  • สังคมไทย เป็นเรื่องของผลประโยชน์จริงๆ TCH #

written by Mr-San \\ tags: ,

Sep 18

If use basic setting in Header from https you will get HTTP/1.0 so it cannot redirect to right host.
It’s very easy to set with Nginx you can use

            proxy_set_header X-FORWARDED_PROTO https;
            proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;

already use and sent you to correct host.

written by Mr-San \\ tags:

Sep 16
  • ไปต่ออายุใบขับขี่ 5 ปี->5ปี ไม่ต้องใช้ รับรองสุขภาพ #

written by Mr-San \\ tags: ,

Sep 09

written by Mr-San \\ tags: ,

Sep 08

Before install vmware-tools these you need for compilation:

sudo apt-get install linux-headers-`uname -r`
umount /dev/cdrom
mount /dev/cdrom
cp /cdrom/VMwareTools-*.tar.gz /tmp

Then download open-vm-tools from sourceforge : http://sourceforge.net/projects/open-vm-tools/
This module use for build vmxnet, vmhgfs.

wget http://nchc.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.09.03-114782.tar.gz
cp open-vm-tools-* /tmp
sudo apt-get install libproc-dev libdumbnet-dev libicu-dev
cd /tmp
tar zxf open-vm-tools-*
./configure --without-x
make
cd  modules/linux
for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
cd ../../..
mv -f open-vm-tools-*/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/

Then goto vmware-tools-distrib

cd vmware-tools-distrib/
sudo ./vmware-install.pl

After that Enter for default value to pass.
When complete maybe restart your Guest OS, before use vmxnet.

ref: Thank you for this post.

written by Mr-San \\ tags: ,