imlovephoto

บริการถ่ายภาพแต่งงาน Pre-Wedding ถ่ายภาพนอกสถานที่ ถ่ายภาพในสตูดิโอ สามารถเลือกสถานที่ได้ ถ่ายด้วยกล้องดิจิตอล และถ่ายวีดีโอภายในงาน รับถ่ายรูปรับปริญญา รูปงานสำคัญต่างๆ ถ่ายภาพเดี่ยว ครอบครัว แฟชั่น

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

สวัสดีครับ ยินดีรับใช้ เนื้อหา สารน่ารู้ เกี่ยวกับเทคโนโลยี

imlovezaa
รายละเอียด
บริการถ่ายภาพแต่งงาน Pre-Wedding ถ่ายภาพนอกสถานที่ ถ่ายภาพในสตูดิโอ สามารถเลือกสถานที่ได้ ถ่ายด้วยกล้องดิจิตอล และถ่ายวีดีโอภายในงาน
รับถ่ายรูปรับปริญญา รูปงานสำคัญต่างๆ ถ่ายภาพเดี่ยว ครอบครัว แฟชั่น

21/5/62

Backup + Recovery ไดร์ฟ C ด้วยโปรแกรม Acronis True Image 2018

 



ที่มา:Pongsid M.

13/5/62

โปรแกรมควบคุมคอมพิวเตอร์ในห้องเรียน

โปรแกรมควบคุมคอมพิวเตอร์ในห้องเรียน



บันทึกนี้ปรับปรุงล่าสุดเมื่อวันที่ 29-10-2558

เขียนครั้งแรกโดย วิภัทร ศรุติพรหม
ดูแลโดย WIBOON


  • เป็นซอฟต์แวร์ชนิดโอเพนซอร์ส มีทั้งรุ่นใช้บนวินโดวส์และลินุกซ์
  • เป็นโปรแกรมควบคุมเครื่องคอมพิวเตอร์ของผู้เรียน เหมาะสำหรับห้องปฏิบัติการคอมพิวเตอร์
  • ต้นฉบับจาก http://italc.sourceforge.net
  • คำแนะนำการใช้งาน http://italc.sf.net/wiki
  • ยังไม่ได้ทดสอบว่าใช้งานได้สูงสุดกี่เครื่อง และเงื่อนไขที่ทำได้คืออะไร
  • เวอร์ชั่น 2.0.2 ทดสอบแล้วบนวินโดวส์ 7 หรือ วินโดวส์ 8.1
    แบบ 32 bit ดาวน์โหลดได้จาก http://ftp.psu.ac.th/pub/italc/italc-2.0.2-win32-setup.exe
    แบบ 64 bit ดาวน์โหลดได้จาก http://ftp.psu.ac.th/pub/italc/italc-2.0.2-win64-setup.exe
  • เวอร์ชั่น 2.0.1 ทดสอบแล้วบน Linux Mint 17.1 คลิกเพื่ออ่าน


ตัวอย่างขั้นตอนติดตั้งบน Windows 8.1

  1. วิธีติดตั้งสำหรับเครื่องผู้สอน (เครื่องแม่) การติดตั้งต้องเป็นผู้ใช้ที่มีสิทธิระดับเดียวกับ Administrator
    ติดตั้งด้วยโปรแกรม iTALC 2.0.2
    ได้หน้าต่าง Welcome to the iTALC Setup Wizard ให้คลิกปุ่ม Next >
    ได้หน้าต่าง License Agreement ให้คลิกปุ่ม I agree
    ได้หน้าต่าง Choose Install Location ยังคงเดิมเป็น C:\Program Files\iTALC แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Choose Components ยังคงเดิมเลือกทั้ง iTALC Service และ iTALC Master แล้วคลิกปุ่ม Next >
    แล้วคลิกปุ่ม Install
    โปรแกรมจะติดตั้งไปเรื่อยๆ จนเสร็จได้หน้าต่างว่า Completing the iTALC Setup Wizard
    โปรแกรมติดตั้งจะสร้างไอคอนไว้ในหน้า Apps ชื่อ iTALC และ iTALC Management Console ของ Windows ให้ด้วย
    ยังคงเลือก Run iTALC Management Console now แล้วคลิกปุ่ม Finish

    โปรแกรมเปลี่ยนไปได้หน้าต่าง iTALC Management Console
    ช่องด้านซ้าย รายการ iTALC Server ให้เลือก Demo server Backend เป็น iTALC 1 demo server
    รายการ Paths ไม่เปลี่ยนแปลง
    ต่อไปให้เลือกหัวข้อ Authentication
    แล้วไปดูช่องด้านขวา ให้ยกเลิกไม่ติ๊ก ACL-based logon authentication
    ต่อไปคลิกปุ่ม Launch key file assistant
    ได้หน้าต่าง Create/Import iTALC access keys ให้คลิกปุ่ม Next >
    ได้หน้าต่าง Assistant mode ให้คลิกเลือกเป็น Create new access keys (master computer) แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Select user role ให้ยังคงเลือกเป็น Teacher แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Directories ให้ยังคงติ๊กหัวข้อ Export public key part (master computer) และระบุ path ที่จะวางไฟล์ที่จะนำไปใช้กับเครื่องผู้เรียน
    แล้วคลิกปุ่ม Summary ไปเลือกพื้นที่เป็น C:\ แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Key directories ไม่ต้องแก้ไขอะไรให้คงค่าเดิม แล้วคลิกปุ่ม Finish
    ตอนนี้ก็จะได้ public key เป็นแฟ้มอยู่ที่ path:\italc_public_key.key.txt
    ให้คัดลอกแฟ้ม italc_public_key.key.txt นี้เก็บไว้ เพื่อเอาไปใส่ที่เครื่องลูกข่าย
  2. วิธีติดตั้งสำหรับเครื่องผู้เรียน (เครื่องลูก) การติดตั้งต้องเป็นผู้ใช้ที่มีสิทธิระดับเดียวกับ Administrator
    เตรียม public key แฟ้ม italc_public_key.key.txt ให้พร้อม
    ติดตั้งด้วยโปรแกรม iTALC 2.0.2
    ได้หน้าต่าง Welcome to the iTALC Setup Wizard ให้คลิกปุ่ม Next >
    ได้หน้าต่าง License Agreement ให้คลิกปุ่ม I agree
    ได้หน้าต่าง Choose Install Location ยังคงเดิมเป็น C:\Program Files\iTALC แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Choose Components ให้ยกเลิกไม่ต้องติ๊ก iTALC Master แล้วคลิกปุ่ม Next >
    แล้วคลิกปุ่ม Install
    โปรแกรมจะติดตั้งไปเรื่อย ๆ จนเสร็จได้หน้าต่างว่า Completing the iTALC Setup Wizard
    ยังคงเลือก Run iTALC Management Console now แล้วคลิกปุ่ม Finish

    โปรแกรมเปลี่ยนไปได้หน้าต่าง iTALC Management Console
    ช่องด้านซ้าย รายการ General เลือก Hide tray icon
    ช่องด้านซ้าย รายการ iTALC Server ให้เลือก Demo server Backend เป็น iTALC 1 demo server
    รายการ Paths ไม่เปลี่ยนแปลง
    ต่อไปให้เลือกหัวข้อ Authentication
    แล้วไปดูช่องด้านขวา ให้ยกเลิกไม่ติ๊ก ACL-based logon authentication
    ต่อไปให้คลิกปุ่ม Launch key file assistant
    ได้หน้าต่าง Create/Import iTALC access keys ให้คลิกปุ่ม Next >
    ได้หน้าต่าง Assistant mode ให้คลิกเลือกเป็น Import public key (client computer) แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Select user role ให้ยังคงเลือกเป็น Teacher แล้วคลิกปุ่ม Next >
    ที่ช่อง please scpecify the location of the public access key to be imported.
    ให้เลือกไปยังพื้นที่ที่เก็บแฟ้ม italc_public_key.key.txt ที่เตรียมไว้ แล้วคลิกปุ่ม Next >
    ได้หน้าต่าง Summary ให้คลิกปุ่ม Finish


การตั้งค่าครั้งแรกก่อนใช้งาน (ที่เครื่องผู้สอน)
  1. ก่อนใช้งานต้องเพิ่ม classroom และเพิ่ม computer เข้าไปก่อน
    ให้ไปเปิดโปรแกรม iTALC แม่ข่าย ไปที่แถบเมนูด้านซ้าย(แนวดิ่ง) ปุ่มที่ 2 หัวข้อ Classroom-Manager
    ให้คลิกขวา Add Classroom และ Add Computer ใส่แต่เลข ip ของเครื่องลูกข่ายก็พอ

    วิธีสร้าง class room ขึ้นมา 1 ชื่อ มีขั้นตอนอย่างละเอียดดังนี้
    คลิกที่ไอคอนอันที่สองที่แถบด้านซ้าย Classroom-Manager
    คลิกขวาเลือก Add classroom
    หัวข้อ New classroom ตั้งชื่อ classroom ตามต้องการ แล้วคลิก OK
    คลิกขวาเลือก Add computer
    หัวข้อ Add computer ตั้งค่า Client settings ดังนี้
    IP/hostname: ใส่ IP ที่ถูกต้อง
    Name: ตั้งชื่อตามต้องการ
    MAC address: ใส่ในรูปแบบ xx:xx:xx:xx:xx:xx (เผื่อต้องการใช้งานเรื่อง Wake on LAN หรือ Power On)
    Classroom: เลือกชื่อ classroom ที่สร้างไว้
    Type: เลือกเป็นชนิด Student computer


การใช้งาน (ที่เครื่องผู้สอน)
  1. ถ้ายังไม่ได้เปิดโปรแกรม ให้ไปเปิดโปรแกรม iTALC
  2. การใช้งานต้องไปที่เมนูด้านบน(แนวนอน) คลิกหัวข้อ Classroom แล้วเลือก classroom ที่ต้องการควบคุมพร้อมกันทุกเครื่อง
    จะได้จอเล็กของคอมพิวเตอร์ลูกข่ายแต่ละเครื่องออกมาใช้งาน
  3. เราสามารถควบคุมเฉพาะเครื่องได้ โดยการคลิกขวาที่เครื่องที่ต้องการ แล้วเลือกคำสั่งที่ต้องการ

 ที่มา:http://opensource.cc.psu.ac.th

12/1/62

VirtualBox with phpVirtualBox (Web Based Interface)

phpVirtualBox is an open source web interface for Oracle VirtualBox, written in php with AJAX implementation. It allows you to remotely manage VirtualBox instance, really useful when you don’t have GUI in operating system. phpVirtualBox allows you control  and manage guest instance as like the VirtualBox GUI do, you wont find any difference between the web interface and VirtualBox GUI. More to that phpVirtualBox supports remote console via Oracle RDP web client that comes with Extension Pack.
Here is the small guide to setup phpVirtualBox on Ubuntu (Its supports all Linux Variants, its minimum requirement is to have the web server installed with PHP support).

Prerequisites:

Install Apache with PHP.
sudo apt-get install apache2 php5 libapache2-mod-php5

Download phpVirtualBox:

Issue the following command to download the lastest phpVirtualBox.
wget 'http://sourceforge.net/projects/phpvirtualbox/files/latest/download'
Extract it.
sudo unzip phpvirtualbox-*.zip
Move it to default document root of web server.
sudo mv phpvirtualbox-* /var/www/html/virtualbox

Configure phpVirtualBox:

We need to modify the phpVirtualBox configuration to make the successful communication with VirtualBox installation, first we need to rename sample config file (config.php-example to config.php).
sudo mv /var/www/html/virtualbox/config.php-example /var/www/html/virtualbox/config.php
Modify the config file
sudo nano /var/www/html/virtualbox/config.php
Following are the minimum configuration for phpVirtualBox. User Name / Password for the system that runs VirtualBox, in my case i am using user “raj”, because he will be configured to run vboxwebsrv service( will be set in next step).
var $username = ‘raj’;
var $password = ‘x’;
If you are running VirtualBox and php are on the same host, leave the following $location as it is.
var $location = ‘http://127.0.0.1:18083/’;

Configure vboxweb-service:

VirtualBox setup creates init script vboxweb-service when it is installed, this is used to start and stop the vboxwebserv, before starting the service, we need to have /etc/default/virtualbox file because it contains settings for the service . We need to create it manually if it does not exists.
sodo nano /etc/default/virtualbox
We must set minimum VBOXWEB_USER to run the vboxweb-service, now VirtualBox will run as “raj”;  this user and password must be entered in phpVirtualBox config file.
VBOXWEB_USER=raj
If you are running phpVirtualBox in some other host, VBOXWEB_HOST is need to be set in the same file, in this case phpVirtualBox will communicate with vboxweb-service over the network.
VBOXWEB_USER=raj

VBOXWEB_HOST=192.168.1.103
Restart the vboxweb-service.
sudo /etc/init.d/vboxweb-service restart
Now open a web browser and point to http://your-ip-address/virtualbox, you will be asked to login. Default login is admin /admin.
phpVirtualBox - Login Page
phpVirtualBox – Login Page
You can find the created vm’s. You can either create a new vm or work on existing vms by taking console.
phpVirtualBox - Home Page
phpVirtualBox – Home Page
To take a remote console you must install VirtualBox Extension Pack and also you have to Enable Remote Console.
You can take console by clicking console tab in browser.
phpVirtualBox - WebRDP Console
phpVirtualBox – WebRDP Console
OR
Take mstsc of host server where VirtualBox is running.
phpVirtualBox - RDP Console
phpVirtualBox – RDP Console
That’s All. We welcome your comments, please do comment in comments section.


ที่มา : https://www.itzgeek.com/how-tos/virtualization/manage-virtualbox-with-phpvirtualbox-web-based-interface.html

3/4/61

แชร์ไฟล์ Windows 7 , Windows 8.1 , Windows 10


สอนวิธีการแชร์ไฟล์ Windows 7 , Windows 8.1 , Windows 10 แบบละเอียด

Advertisements
หลายคนมีคอมพิวเตอร์อยู่ในบ้าน หลายเครื่อง ทั้ง Notebook ของพ่อ , PC ของลูก และคอมพิวเตอร์อื่นๆอีกมากมาย โดยแต่ละเครื่องก็จะลง Windows แตกต่างๆกันไป อาทิเช่น Windows 7 , Windows 8.1 หรือ Windows 10 แต่วันนี้ผมจะมาสอนวิธีการแชร์ไฟล์ต่างๆระหว่างคอมพิวเตอร์ – คอมพิวเตอร์ เพื่อให้สามารถทำการเข้าไปดึงไฟล์ต่างๆข้ามเครื่องกันได้ โดยอาจจะเป็นเครื่องหลักเครื่องหนึ่งในการเข้ามาดึงไฟล์ หรือจะแชร์ไฟล์กันทั้ง 2 เครื่องไขว้กันมาก็ได้ แล้วแต่ละบ้านที่จะทำ โดยมือใหม่ที่จะทำการหัดแชร์ไฟล์ใน Windows อาจจะงงๆกับการแชร์ไฟล์ แต่ถ้าหลังจากที่อ่านบทความผมคุณก็สามารถทำการแชร์ไฟล์ได้อย่างง่ายดาย
โดยบทความที่ผมจะเขียนนี้เป็นบทความที่เหมาะสมกับการแชร์ไฟล์ต่างๆสำหรับคอมพิวเตอร์ที่อยู่ในบ้านนะครับ ไม่เหมาะสมกับองค์กรนะครับ (ในองค์กรแนะนำให้ทำ File Sharing )
โดยส่วนมากในบ้านเราก็จะมี Router ที่เป็น Wireless + LAN ในตัว ก็คือสามารถใช้สายแลนเสียบก็ได้เหมาะกับ PC  หรือจะใช้ Wireless ในการรับสัญญาณแบบไร้สาย อาจจะใช้กับ Notebook / iPad /iPhone
รูปแบบ Network ภายในบ้านที่นิยมใช้กันในปัจจุบัน
Diagram-Home-Wireless
นิยาม
COM A  (IP Address : 192.168.100.10)
COM B  (IP Address : 192.168.100.11)
ในการเขียนบทความ ผมจะใช้ COM A เป็นเครื่องที่แชร์ไฟล์ โดยที่ COM B จะเข้ามาดึงไฟล์ใน COM A

สอนวิธีการแชร์ไฟล์ระหว่างคอมพิวเตอร์ Windows 7 , Windows 8 และ Windows 10

1. การแชร์ไฟล์ในส่วนนี้จะแยกของเป็นส่วนของแต่ละ Windows
1.1 สำหรับ Windows 7
1.1.1  เข้า Control Panel > View by : Category
จากนั้นทำการคลิก Choose homegroup and sharing options
Share File Windows 7-Windows8-Windows10-1

1.1.2 คลิก Change Advance Sharing settings
ShareFile-Windows7-

1.1.3 เลือก Public (Current Profile)
ShareFile-Windows7-1
Network Discovery : Tune on
File and Printer sharing : Turn on
Publish folder sharing : Turn on
ShareFile-Windows7-2

File Sharing Contentions : User 128-bit
Password Protected Sharing : ทำการเลือก Turn off password
ShareFile-Windows7-3

จากนั้นกด Save Changes
1.2 สำหรับ Windows 8.1
1.2.1 เข้า Control Panel > View by : Category
จากนั้นทำการคลิก Choose homegroup and sharing options
Share File Windows 7-Windows8-Windows10-1

1.2.2 ทำการคลิก Change advanced sharing settings
Share File Windows 7-Windows8-Windows10-2

1.2.3 เลือก Private (Current Profile)
Share File Windows 7-Windows8-Windows10-3
1.2.4 จากนั้นเลือกตามภาพ
Network Discovery : Turn on
File share Printer sharing : Turn on
Home Group : Allow Windows
Share File Windows 7-Windows8-Windows10-4

1.3 สำหรับ Windows 10
1.3.1 เดี๋ยวอัพเดตให้ครับ (รอการเขียน)
Advertisements

2. ขั้นตอนต่อไปคือการตรวจสอบ เรื่อง File and Printer Sharing ของ Firewall
โดยให้เข้า Control Panel : คลิก System and Security
Share File Windows 7-Windows8-Windows10-5

3. คลิก Allow an app though Windows Firewall

Share File Windows 7-Windows8-Windows10-6

4. เลือก File and Printer Sharing  : ให้ทำการติ๊กทั้งหมดของหัวข้อนี้ จากนั้นกด OK
Share File Windows 7-Windows8-Windows10-7

5. สำหรับการทำการแชร์ไฟล์ระหว่างคอมพิวเตอร์นั้นๆ แนะนำว่า Computer ที่จะทำการแชร์ไฟล์กันนั้น จะต้องทำการ Ping กันได้ก่อนนะครับ โดยถ้าจะแชร์กันทั้ง 2 เครื่อง เครื่องทั้ง 2 ก็ต้อง ping หากันเจอทั้งคู่
โดยบทความนี้ผมจะไม่สอนวิธีการ Set IP Address นะครับ ส่วนวิธีการดู IP Address ของแต่ละบ้านก็แนะนำให้เปิด Command Prompt ขึ้นมาจากนั้นพิมพ์คำว่า ipconfig /all     จากนั้นให้ดู IP และทำการ PING ให้ได้ โดยปกติ Router ที่บ้านแต่ละคนจะทำการแจก IP มาให้ไม่ซ้ำกันอยู่แล้วครับ
ขั้นตอนการเตรียมการแชร์ไฟล์ Windows
ตัวอย่าง ถ้าอยู่เครื่อง COM A ก็ให้ทำการใช้ command  (ping IPปลายทาง)
ping 192.168.100.11  โดยถ้า ping จะ มีข้อความขึ้นมาว่า Reply to IP ที่เราทำการ ping นั้นเอง แต่ถ้าไม่ได้ก็จะขึ้น timeout

6. จากนั้นไปที่เครื่อง COM A  (เครื่องที่จะแชร์ไฟล์)
คลิกขวาบน Folder หลักที่ต้องการแชร์ > เลือก Share With : Specific people
ในตัวอย่าง : เลือก Folder ShareFile-A ถ้าเราเลือก Folder นี้ (ถ้าข้างในมี Folder ย่อยๆ มันก็จะแชร์ให้หมดเลยครับ)
หมายเหตุ : ถ้าต้องการแชร์ไฟล์ทั้ง 2 เครื่อง ก็ให้ทำขั้นตอนที่ 6-9 ทั้ง 2 เครื่อง
Share File Windows 7-Windows8-Windows10-11

7. จากนั้นทำการพิมพ์   everyone  ไปในช่องว่างและทำการกด  Add
จากนั้นทำการเปลี่ยน Permission Level ให้เป็น Read / Write และทำการกด Share
Share File Windows 7-Windows8-Windows10-8
เมื่อทำการกดแชร์ เราก็จะเห็น Folder ที่เราทำการแชร์ จากนั้นกด Done
Share File Windows 7-Windows8-Windows10-9

8. ทำการลองเปิด Command Prompt ขึ้นมาจากนั้นพิมพ์    net share   และทำการ Enter
เราก็จะเห็น Folder ที่เราทำการคลิกขวาแชร์ไฟล์นั้นเอง
Share File Windows 7-Windows8-Windows10-10

9. เมื่อเราทำการแชร์ File บนเครื่องคอมพิวเตอร์ COM A เสร็จเรียบร้อย
หลังจากนั้นก็ให้ไปที่ คอมพิวเตอร์ COM B จากนั้นให้พิมพ์ในช่อง ได้เลย
ให้ทำการพิมพ์   \\ชื่อเครื่องCOM A\Folder ที่แชร์
เช่น \\COMA\ShareFile-A   จากนั้นกด Enter
Share File Windows 7-Windows8-Windows10-12

COM B : จากนั้นเราก็จะเห็น Folder ต่างๆในคอมพิวเตอร์ A

เท่านี้ก็เสร็จสิ้นการแชร์ไฟล์ต่างๆสำหรับ Windows ภายในบ้านของเราแล้วครับ แต่ถ้าใครทำตามผมแล้วยังไม่ได้
ให้ตรวจสอบดังนี้ครับ
– ลองทำการปิด AntiVirus ชั่วคราวดูครับ เพราะบางเจ้า ทำการ Block ไว้อยู่


ที่มา: https://www.windowssiam.com/share-file-windows-7-windows8-1-windows10/

Windows Defender Real-time

วิธีการเปิดหรือปิดการป้องกันแบบเรียลไทม์ของ Windows Defender ใน Windows 10

Windows Defender ช่วยปกป้องคอมพิวเตอร์ของคุณจากมัลแวร์ (ซอฟต์แวร์ที่เป็นอันตราย) เช่นไวรัสสปายแวร์และซอฟต์แวร์ที่ไม่พึงประสงค์อื่น ๆ มัลแวร์สามารถติดตั้งเครื่องคอมพิวเตอร์ของคุณโดยที่คุณไม่รู้ตัวอาจติดตั้งตัวเองจากข้อความอีเมลเมื่อคุณเชื่อมต่อกับอินเทอร์เน็ตหรือเมื่อคุณติดตั้งแอปพลิเคชันบางอย่างโดยใช้แฟลชไดรฟ์ USB ซีดีหรือดีวีดีหรือสื่อบันทึกข้อมูลแบบถอดได้อื่น ๆ มัลแวร์บางตัวสามารถตั้งโปรแกรมให้ทำงานได้ในเวลาที่ไม่คาดคิดไม่ใช่เฉพาะเมื่อติดตั้งเท่านั้น
Windows Defender มาพร้อมกับ Windows และช่วยป้องกันไม่ให้มัลแวร์ติดไวรัสพีซีของคุณได้สองวิธี:

    
ให้การป้องกันแบบเรียลไทม์ Windows Defender แจ้งเตือนคุณเมื่อมัลแวร์พยายามติดตั้งเองหรือเรียกใช้งานบนเครื่องพีซีของคุณ นอกจากนี้ยังแจ้งให้คุณทราบเมื่อแอปพยายามเปลี่ยนการตั้งค่าที่สำคัญ
    
ให้ตัวเลือกการสแกนได้ตลอดเวลา Windows Defender จะสแกนคอมพิวเตอร์ของคุณโดยอัตโนมัติเพื่อหามัลแวร์ที่ติดตั้งอยู่เป็นประจำ แต่คุณสามารถเริ่มสแกนได้ทุกเมื่อที่ต้องการ Windows Defender จะลบข้อมูลที่ตรวจพบระหว่างการสแกนโดยอัตโนมัติ (หรือกักกันชั่วคราว)


To Enable or Disable Windows Defender Real-time Protection using a REG file

This option is the same as Option Five above and will let you disable Windows Defender Real-time Protection without being prompted it is turned off, and without it getting automatically turned back on later by Windows.

When disabled, you will not be able to do Option One, Option Two, Option Three, or Option Four.

The downloadable .reg files below will add and modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection

DisableRealtimeMonitoring DWORD

(delete) = enable
1 = disable



1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.



 2. To Enable Windows Defender Real-time Protection

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Enable_Windows_Defender_Real-Time_Protection.reg

download


 3. To Disable Windows Defender Real-time Protection

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Disable_Windows_Defender_Real-Time_Protection.reg

download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7. Restart the computer to apply.

8. If you like, you can now delete the downloaded .reg file.

That's it,
Shawn


ทีมา :https://www.tenforums.com/

15/2/59

XAMPP ในระบบปฏิบัติการ Windows 7

วิธีทำ Virtual Host บน XAMPP ในระบบปฏิบัติการ Windows 7




ข้อมูลทั้งหมดนี้มาจาก http://share.olanlab.com/th/it/blog/view/142

Virtual Host คืออะไร ?

Virtual Host คือ การทำให้ Server เครื่องเดียวสามารถให้บริการได้มากกว่า 1 เว็บไซต์ ซึ่งโดยปกติสามารถให้บริการได้เพียงเว็บไซต์เดียว การทำ Virtual Host สามารถทำได้หลายวิธี ดังนี้
  1. Name-based Virtual Host - การอ้างอิงโดยใช้ Domain Name หรือ Host Name
  2. Port-based Virtual Host - การอ้างอิงโดยใช้ Port Number
  3. IP-based Virutal Host - การอ้างอิงโดยใช้ IP Address
  4. การใช้ทั้ง Port-based ร่วมกับ IP-based
  5. การใช้ทั้ง Name-based ร่วมกับ IP-based

เริ่มต้นการทำ Virtual Host แบบ Step By Step

การทำ Virtual Host บน XAMPP ในระบบปฏิบัติการ Window 7 ต้องแก้ไขไฟล์ดังนี้

  • httpd-vhosts.conf
  • hosts

ขั้นตอนที่ 1 แก้ไข httpd-vhosts.conf

ไปที่ C:\xampp\apache\conf\extra\httpd-vhosts.conf เปิดไฟล์ขึ้นมา หาคำว่า NameVirtualHost แก้ไขให้เป็น
NameVirtualHost *:80
กำหนด Virtual Host ของ localhost เพื่อให้สามารถใช้ localhost ได้เหมือนเดิม

    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order Deny,Allow
        Allow from all
    


ต่อมาทำการเพิ่มชื่อ Domain Name หรือ Host Name เพื่ออ้างอิงไปยัง Path ที่เก็บเว็บไซต์ที่ต้องการและกำหนดสิทธิ์การเข้าถึง

    DocumentRoot c:/xampp/htdocs/share/public
    ServerName share.olanlab.com
    
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order Deny,Allow
        Allow from all
    

ตัวอย่างด้านบน
Path ที่เก็บเว็บไซต์เป็น - c:/xamp/htdocs/share/public
Domain Name เป็น     - share.olanlab.com

ขั้นตอนที่ 2 แก้ไข hosts 

ไปที่ C:\Windows\System32\drivers\etc\hosts เปิดไฟล์ขึ้นมาทำการเพิ่ม Host Name และ IP Address  เพื่อให้เครื่องของเรารู้จักชื่อ Host Name นี้ว่าจะต้องไปที่ IP Adress อะไร
127.0.0.1       localhost
127.0.0.1       share.olanlab.com
*ไฟล์ hosts ทำหน้าที่เก็บข้อมูล Host Name กับ IP Address ที่ตรงกัน

ขั้นตอนที่ 3 ทำการ Restart Apache

ขั้นตอนสุดท้ายคือการ Restart Apache เพื่อให้ Apache ทำการโหลดค่าที่เรากำหนดใน httpd-vhosts.conf ใหม่เท่านี้ก็สามารถใช้ Virtual Host บน XAMPP ในระบบปฏิบัติการ Window 7 ได้แล้วครับ

redirect เว็บไซด์ด้วย .htaccess

RewriteEngine On #เปิดการใช้งาน mod rewrite
RewriteCond %{SERVER_PORT} 80  #ใช้เช็ค พอร์ต
RewriteCond %{HTTP_HOST} !^www\.colo\.in\.th$ [NC] #ใช้เช็ค dns
RewriteCond %{REQUEST_URI} somefolder #ใช้เช็ค path ที่เข้ามา
RewriteRule ^(.*)$ http://www.colo.in.th/$1 [L,R=301] #ใช้สำหรับการคืนค่า
*** หมายเหตุ *** ถ้ามีมากกว่าหนึ่ง พอร์ต ใช้ [OR] เพื่อเชื่อม
RewriteCond %{SERVER_PORT} 443
RewriteCond %{HTTP_HOST} !^www\.colo\.in\th$ [NC]
RewriteRule ^(.*)$ https://www.colo.in.th/$1 [L,R=301]
//—————————————————————————————-
มาจาก http://support.howhost.com/entries/271311-redirect-htaccess
ตัวอย่างต้นฉบับ
เอกสารนี้จะช่วยอธิบายวิธีการสร้างไฟล์ .htaccess เพื่อทำการ redirect หน้าเว็บไซด์ของคุณ
1. สร้าง Textfile เปล่าด้วย Text Editor เช่น Notepad และทำการ Save as เป็นชื่อ htaccess.txt
2. ทำการแก้ไขไฟล์ htaccess.txt
Redirect ทั้งหน้าเว็บเพ็จไปยัง URL อื่น
Redirect 301 / http://support.colo.in.th/
Redirect index.html ไปยัง Sub Folder ที่ต้องการ
Redirect /index.html http://colo.in.th/newdirectory/
Redirect ไฟล์เก่า ไปยังไฟล์ใหม่
Redirect /olddirectory/oldfile.htmlhttp://colo.in.th/newdirectory/newfile.html
Redirect ไปยังหน้า Index ที่ต้องการ
DirectoryIndex index.html
Redirect User ให้เข้าเว็บไซด์โดยไม่ให้มี www นำหน้า
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.colo\.in\.th$ [NC]
RewriteRule ^(.*)$ http://colo.in.th/$1 [L,R=301]
Redirect User ให้เข้าเว็บไซด์โดยบังคับให้มี www นำหน้า
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.colo\.in\.th$ [NC]
RewriteRule ^(.*)$ http://www.colo.in.th/$1 [L,R=301]
Redirect User เพิ่อให้บังคับใช้ SSL
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.colo.in.th/$1 [R,L]
Redirect User สำหรับใช้ www ที่เป็น http:// และ https://
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} !^www\.colo\.in.\th$ [NC]
RewriteRule ^(.*)$ http://www.colo.in.th/$1 [L,R=301]
RewriteCond %{SERVER_PORT} 443
RewriteCond %{HTTP_HOST} !^www\.colo\.in.\th$ [NC]
RewriteRule ^(.*)$ https://www.colo.in.th/$1 [L,R=301]
Redirect User เพื่ิอบังคับใช้ https:// ในบาง Folder
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} somefolder
RewriteRule ^(.*)$ https://www.colo.in.th/somefolder/$1 [R,L]
3. ทำการ Upload File ไปยัง server ของคุณโดยให้ทำการ Rename ชื่อไฟล์ไปเป็น .htaccess



ขอบคุณ http://9yai.wordpress.com
https://support.hostatom.com/knowledgebase.php?action=displayarticle&id=190