Since defragging the disk won't do much to improve Windows XP performance, here are 23 suggestions that will. Each can enhance the performance and reliability of your customers' PCs. Best of all, most of them will cost you nothing.
1.) To decrease a system's boot time and increase system performance, use the money you save by not buying defragmentation software -- the built-in Windows defragmenter works just fine -- and instead equip the computer with an Ultra-133 or Serial ATA hard drive with 8-MB cache buffer.
2.) If a PC has less than 512 MB of RAM, add more memory. This is a relatively inexpensive and easy upgrade that can dramatically improve system performance.
3.) Ensure that Windows XP is utilizing the NTFS file system. If you're not sure, here's how to check: First, double-click the My Computer icon, right-click on the C: Drive, then select Properties. Next, examine the File System type; if it says FAT32, then back-up any important data. Next, click Start, click Run, type CMD, and then click OK. At the prompt, type CONVERT C: /FS:NTFS and press the Enter key. This process may take a while; it's important that the computer be uninterrupted and virus-free. The file system used by the bootable drive will be either FAT32 or NTFS. I highly recommend NTFS for its superior security, reliability, and efficiency with larger disk drives.
4.) Disable file indexing. The indexing service extracts information from documents and other files on the hard drive and creates a "searchable keyword index." As you can imagine, this process can be quite taxing on any system.
The idea is that the user can search for a word, phrase, or property inside a document, should they have hundreds or thousands of documents and not know the file name of the document they want. Windows XP's built-in search functionality can still perform these kinds of searches without the Indexing service. It just takes longer. The OS has to open each file at the time of the request to help find what the user is looking for.
Most people never need this feature of search. Those who do are typically in a large corporate environment where thousands of documents are located on at least one server. But if you're a typical system builder, most of your clients are small and medium businesses. And if your clients have no need for this search feature, I recommend disabling it.
Here's how: First, double-click the My Computer icon. Next, right-click on the C: Drive, then select Properties. Uncheck "Allow Indexing Service to index this disk for fast file searching." Next, apply changes to "C: subfolders and files," and click OK. If a warning or error message appears (such as "Access is denied"), click the Ignore All button.
5.) Update the PC's video and motherboard chipset drivers. Also, update and configure the BIOS. For more information on how to configure your BIOS properly, see this article on my site.
6.) Empty the Windows Prefetch folder every three months or so. Windows XP can "prefetch" portions of data and applications that are used frequently. This makes processes appear to load faster when called upon by the user. That's fine. But over time, the prefetch folder may become overloaded with references to files and applications no longer in use. When that happens, Windows XP is wasting time, and slowing system performance, by pre-loading them. Nothing critical is in this folder, and the entire contents are safe to delete.
7.) Once a month, run a disk cleanup. Here's how: Double-click the My Computer icon. Then right-click on the C: drive and select Properties. Click the Disk Cleanup button -- it's just to the right of the Capacity pie graph -- and delete all temporary files.
8.) In your Device Manager, double-click on the IDE ATA/ATAPI Controllers device, and ensure that DMA is enabled for each drive you have connected to the Primary and Secondary controller. Do this by double-clicking on Primary IDE Channel. Then click the Advanced Settings tab. Ensure the Transfer Mode is set to "DMA if available" for both Device 0 and Device 1. Then repeat this process with the Secondary IDE Channel.
9.) Upgrade the cabling. As hard-drive technology improves, the cabling requirements to achieve these performance boosts have become more stringent. Be sure to use 80-wire Ultra-133 cables on all of your IDE devices with the connectors properly assigned to the matching Master/Slave/Motherboard sockets. A single device must be at the end of the cable; connecting a single drive to the middle connector on a ribbon cable will cause signaling problems. With Ultra DMA hard drives, these signaling problems will prevent the drive from performing at its maximum potential. Also, because these cables inherently support "cable select," the location of each drive on the cable is important. For these reasons, the cable is designed so drive positioning is explicitly clear.
10.) Remove all spyware from the computer. Use free programs such as AdAware by Lavasoft or SpyBot Search & Destroy. Once these programs are installed, be sure to check for and download any updates before starting your search. Anything either program finds can be safely removed. Any free software that requires spyware to run will no longer function once the spyware portion has been removed; if your customer really wants the program even though it contains spyware, simply reinstall it. For more information on removing Spyware visit this Web Pro News page.
11.) Remove any unnecessary programs and/or items from Windows Startup routine using the MSCONFIG utility. Here's how: First, click Start, click Run, type MSCONFIG, and click OK. Click the StartUp tab, then uncheck any items you don't want to start when Windows starts. Unsure what some items are? Visit the WinTasks Process Library. It contains known system processes, applications, as well as spyware references and explanations. Or quickly identify them by searching for the filenames using Google or another Web search engine.
12.) Remove any unnecessary or unused programs from the Add/Remove Programs section of the Control Panel.
13.) Turn off any and all unnecessary animations, and disable active desktop. In fact, for optimal performance, turn off all animations. Windows XP offers many different settings in this area. Here's how to do it: First click on the System icon in the Control Panel. Next, click on the Advanced tab. Select the Settings button located under Performance. Feel free to play around with the options offered here, as nothing you can change will alter the reliability of the computer -- only its responsiveness.
14.) If your customer is an advanced user who is comfortable editing their registry, try some of the performance registry tweaks offered at Tweak XP.
15.) Visit Microsoft's Windows update site regularly, and download all updates labeled Critical. Download any optional updates at your discretion.
16.) Update the customer's anti-virus software on a weekly, even daily, basis. Make sure they have only one anti-virus software package installed. Mixing anti-virus software is a sure way to spell disaster for performance and reliability.
17.) Make sure the customer has fewer than 500 type fonts installed on their computer. The more fonts they have, the slower the system will become. While Windows XP handles fonts much more efficiently than did the previous versions of Windows, too many fonts -- that is, anything over 500 -- will noticeably tax the system.
18.) Do not partition the hard drive. Windows XP's NTFS file system runs more efficiently on one large partition. The data is no safer on a separate partition, and a reformat is never necessary to reinstall an operating system. The same excuses people offer for using partitions apply to using a folder instead. For example, instead of putting all your data on the D: drive, put it in a folder called "D drive." You'll achieve the same organizational benefits that a separate partition offers, but without the degradation in system performance. Also, your free space won't be limited by the size of the partition; instead, it will be limited by the size of the entire hard drive. This means you won't need to resize any partitions, ever. That task can be time-consuming and also can result in lost data.
19.) Check the system's RAM to ensure it is operating properly. I recommend using a free program called MemTest86. The download will make a bootable CD or diskette (your choice), which will run 10 extensive tests on the PC's memory automatically after you boot to the disk you created. Allow all tests to run until at least three passes of the 10 tests are completed. If the program encounters any errors, turn off and unplug the computer, remove a stick of memory (assuming you have more than one), and run the test again. Remember, bad memory cannot be repaired, but only replaced.
20.) If the PC has a CD or DVD recorder, check the drive manufacturer's Web site for updated firmware. In some cases you'll be able to upgrade the recorder to a faster speed. Best of all, it's free.
21.) Disable unnecessary services. Windows XP loads a lot of services that your customer most likely does not need. To determine which services you can disable for your client, visit the Black Viper site for Windows XP configurations.
22.) If you're sick of a single Windows Explorer window crashing and then taking the rest of your OS down with it, then follow this tip: open My Computer, click on Tools, then Folder Options. Now click on the View tab. Scroll down to "Launch folder windows in a separate process," and enable this option. You'll have to reboot your machine for this option to take effect.
23.) At least once a year, open the computer's cases and blow out all the dust and debris. While you're in there, check that all the fans are turning properly. Also inspect the motherboard capacitors for bulging or leaks. For more information on this leaking-capacitor phenomena, you can read numerous articles on my site.
Following any of these suggestions should result in noticeable improvements to the performance and reliability of your customers' computers. If you still want to defrag a disk, remember that the main benefit will be to make your data more retrievable in the event of a crashed drive.
วันเสาร์ที่ 24 มกราคม พ.ศ. 2552
วันอังคารที่ 20 มกราคม พ.ศ. 2552
คำสั่งสำหรับผู้ใช้พื้นฐาน (Basic user command)
คำสั่งสำหรับผู้ใช้พื้นฐาน (Basic user command)
1. คำสั่ง ls : แสดงรายชื่อแฟ้มในห้องปัจจุบัน หรือห้องอื่น ๆ ที่ต้องการ
ทุกท่านที่มี account ใน linux จะมี home directory ของตนเอง เพื่อใช้เก็บแฟ้มต่าง ๆ ภายใต้ระบบ linux
เมื่อต้องการทราบว่ามีแฟ้มอะไร เก็บไว้บ้าง สามารถใช้คำสั่ง ls ได้ และสามารถกำหนด parameter ได้หลายตัว
เช่น -al --sort เป็นต้น ถ้าต้องการทราบว่าปัจจุบันตนเองอยู่ใน Directory ใด ให้ใช้คำสั่ง pwd
ตัวอย่างคำสั่ง และการใช้งาน
ls -alt :: เพื่อแสดงรายชื่อแฟ้ม และจัดเรียงตามเวลา (a=all, l=long listing, t=sort by modification time)
ls -alt | more :: เพื่อแสดงรายชื่อแฟ้มทั้งหมด แต่หยุดทีละหน้า ถ้ามีจำนวนแฟ้มเกินที่จะแสดงได้ ใน 1 หน้า
ls -al --sort=time | more :: แสดงรายชื่อแฟ้มเรียงตามเวลา แยกทีละหน้า แบบ long listing
ls -R | more :: แสดงรายชื่อในทุก directory ในห้องปัจจุบัน (R=Recursive)
ถ้าสังเกตนะครับ แฟ้มที่มี . หน้าชื่อแฟ้ม หมายถึง แฟ้มที่ซ่อนไว้ ถ้าใช้คำสั่ง ls หรือ ls -l จะไม่เห็นแฟ้มเหล่านี้
ถ้ามีอักษร D ที่ Column แรก ในส่วนแสดงรายชื่อแฟ้ม ด้วยคำสั่ง ls -al จะหมายถึง directory
---------------------------------------------------------------------------------------------------------------------------------------------------
2 คำสั่ง chmod : เปลี่ยนสถานะของแฟ้มเช่น Read Write eXecute
ใช้เปลี่ยนสิทธิของแฟ้ม เจ้าของ(Owner), คนในกลุ่ม(Group), คนอื่น(Other) สามารถทำอะไรได้บ้าง
: change file access permissions
เมื่อใช้คำสั่ง ls ท่านจะเห็นตัวอักษร RWXRWXRWX หรือทำนองนี้หน้าชื่อแฟ้ม ซึ่งเป็นการกำหนด สิทธิของแต่ละแฟ้ม ว่า อ่านได้
เขียนได้ และประมวลผลได้ โดยแยกเป็นส่วนของ เจ้าของ กลุ่ม คนอื่น ซึ่งเป็นคำสั่งที่จำเป็นมากสำหรับ webmaster ในการดูแลระบบ
และท่านที่ต้องการเขียน CGI จะต้องรู้คำสั่งนี้ เพราะ เมื่อส่งแฟ้ม CGI เข้าไปใน server และต้องการให้คนทั่วไปเข้ามาใช้บริการ
โปรแกรมของตนที่เขียนขึ้นด้วย Perl จะไม่สามารถใช้ได้ ถ้าไม่กำหนดให้คนอื่น สามารถประมวลผลได้ (x) จึงจำเป็นต้องใช้คำสั่ง
เช่น chmod 755 hello.pl หรือ chmod 775 fileforyou.pl หรือ chmod +x test.pl เป็นต้น
ในแต่ละกลุ่มจะมีการกำหนดสิทธิได้ 3 แบบ
ตัวอักษร R มาจาก Read หมายถึง อ่าน
ตัวอักษร W มาจาก Write หมายถึง เขียน
ตัวอักษร X มาจาก Execute หมายถึง ประมวลผล
ตัวอย่างเช่น
--- : ไม่มีสิทธิอะไรเลย (เลขที่ใช้คือ 0)
--X : ประมวลผลได้อย่างเดียว (เลขที่ใช้คือ 1)
R-- : อ่านได้อย่างเดียว (เลขที่ใช้คือ 4)
RW- : อ่าน และเขียนได้ (เลขที่ใช้คือ 6)
R-X : อ่าน และประมวลผลได้ (เลขที่ใช้คือ 5)
RWX : อ่าน เขียน และประมวลผลได้ (เลขที่ใช้คือ 7) ความหมายของ RWXRWXRWX จะเห็นว่ามีอักษร 9 ตัว
3 ตัวแรกหมายถึง เจ้าของ
3 ตัวที่สองหมายถึง กลุ่ม
3 ตัวที่สามหมายถึง คนอื่น
ตัวอย่างเช่น
RWX------ : เจ้าของเท่านั้นที่มีสิทธิทุกอย่าง (เลขที่ใช้คือ 700)
RWXRWX--- : เจ้าของ และสมาชิกกลุ่มเดียวกันมีสิทธิทุกอย่าง (เลขที่ใช้คือ 770)
RWXR-XR-X : เจ้าของทำได้หมด ส่วนกลุ่มและคนอื่นอ่านและประมวลผลได้ (เลขที่ใช้คือ 755)
R--R--R-- : ทุกคนอ่านได้อย่างเดียว (เลขที่ใช้คือ 444)
ตัวอย่างคำสั่ง และการใช้งาน
chmod 777 index.php :: ทำให้แฟ้มนี้ อ่าน เขียน และประมวลผล โดยทั้ง 3 กลุ่ม
chmod 755 * -Rf :: ทำให้ทุกแฟ้ม ทุก direcroty ในห้องปัจจุบัน เปลี่ยนตามที่กำหนด
---------------------------------------------------------------------------------------------------------------------------------------------------
3 คำสั่ง man : แสดงรายละเอียดของคำสั่ง (Manual)
: เป็นคำสั่งที่สำคัญมาก เพราะจะช่วยให้อธิบายคำสั่งต่าง ๆ ให้ท่านได้ (Manual)
: format and display the on-line manual pages
ผมเชื่อว่าทุกคนที่ใช้ unix หรือ linux ต้องเคยใช้คำสั่งนี้มาก่อน เพราะจะเป็นคำสั่งที่ช่วยอธิบายหน้าที่ของคำสั่ง
พร้อมกับแสดง parameter ที่สามารถใช้ได้ทั้งหมดของคำสั่งนั้น และยังมีตัวอย่างการใช้ และคำสั่งที่เกี่ยวข้องอีก
ทำให้ประหยัดเวลาในการค้นเอกสารได้อย่างมาก บางท่านอาจศึกษา linux ด้วยการอ่านจาก man อย่างเดียวเลยก็มีนะครับ
โดยไม่ต้องไปหาซื้อหนังสือที่ไหนมาอ่านก็ทำได้
ตัวอย่างคำสั่ง และการใช้งาน
man man :: เพื่ออธิบายคำสั่ง man เอง ว่าตัวคำสั่งนี้ใช้อย่างไร
man ls :: เพื่ออธิบายคำสั่ง ls ว่าใช้อย่างไร
man useradd :: เพื่ออธิบายคำสั่ง useradd ว่าใช้อย่างไร
---------------------------------------------------------------------------------------------------------------------------------------------------
4. คำสั่ง mkdir, rmdir, cd : : : คำสั่งเกี่ยวกับ Directory หรือ Folder เพื่อสร้าง หรือลบ
: งานต่าง ๆ เกี่ยวกับ directory
: make, remove empty, change working directory
ผู้ใช้คอมพิวเตอร์ที่ใช้ dos มาก่อนต้องคุ้นเคยกับ directory แน่นอน สำหรับคำสั่งเกี่ยวกับ directory ในที่นี้มี 3 คำสั่ง
mkdir หมายถึง สร้าง directory (make directories)
rm หมายถึง ลบ directory (remove files or directories) และคำสั่งนี้ยังใช้ลบแฟ้มตามปกติได้อีกด้วย
cd หมายถึงเปลี่ยน directory (change working directory)
ตัวอย่างคำสั่ง และการใช้งาน
mkdir hello :: สร้าง directory ชื่อ hello ในห้องปัจจุบัน
rmdir hello.htm :: จะลบแฟ้มชื่อ hello.htm
cd / :: ย้าย directory ไปยัง root หรือห้องนอกสุด
cd .. :: ย้าย directory ออกไปข้างบน 1 ระดับ
cd ~/x :: เข้าไปยังห้อง x ของ home directory เช่น /home/thaiall/x ถ้า home directory คือ /home/thaiall
---------------------------------------------------------------------------------------------------------------------------------------------------
5. คำสั่ง pico : : : editor ยอดฮิตใน Linux ที่ต้องมากับ Pine เป็น Text mode ที่ใช้ง่ายที่สุด
เป็น editor ที่ใช้สำหรับแก้ไขแฟ้มแบบ text คล้าย vi แต่มีประสิทธิภาพกว่ามาก
เพียงแต่พิมพ์คำว่า pico แล้ว enter ก็ใช้งานได้เลย การจะจัดเก็บ หรืองานต่าง ๆ
ที่มีบริการไว้มากมาย ท่านสามารถอ่านได้จากเมนูด้านล่าง ซึ่งเครือ่งหมาย ^ หมายถึงการกดปุ่ม Ctrl ประกอบอักษรต่าง ๆ นั่นเอง
ผมคิดว่าท่านน่าจะพออ่านรู้เรื่อง หรือจะพิมพ์ว่า pico xx ก็จะเป็นการสร้างแฟ้มชื่อ xx ให้ทันที แต่หากมีแล้ว ก็จะเปิดแฟ้ม xx
มาให้แก้ไขในโปรแกรม xx เมื่อท่านต้องการเลิกก็ทำได้โดยกดปุ่ม Ctrl-X เป็นอันเรียบร้อย หากท่านใดเคยใช้ vi
เมื่อลองใช้โปรแกรมนี้จะติดใจอย่างแน่นอน เพราะใช้งานได้ง่ายกว่า หลายเท่านัก
หลายครั้ง ที่พิมพ์คำว่า pico แล้วไม่มีในเครื่อง ก็เพราะไม่ได้ลงโปรแกรม pine เมื่อต้องการใช้ pico
ก็ต้องติดตั้งโปรแกรม pine เข้าไปในเครื่อง จากแผ่น CD ด้วยคำสั่ง rpm -i pine*
1. คำสั่ง ls : แสดงรายชื่อแฟ้มในห้องปัจจุบัน หรือห้องอื่น ๆ ที่ต้องการ
ทุกท่านที่มี account ใน linux จะมี home directory ของตนเอง เพื่อใช้เก็บแฟ้มต่าง ๆ ภายใต้ระบบ linux
เมื่อต้องการทราบว่ามีแฟ้มอะไร เก็บไว้บ้าง สามารถใช้คำสั่ง ls ได้ และสามารถกำหนด parameter ได้หลายตัว
เช่น -al --sort เป็นต้น ถ้าต้องการทราบว่าปัจจุบันตนเองอยู่ใน Directory ใด ให้ใช้คำสั่ง pwd
ตัวอย่างคำสั่ง และการใช้งาน
ls -alt :: เพื่อแสดงรายชื่อแฟ้ม และจัดเรียงตามเวลา (a=all, l=long listing, t=sort by modification time)
ls -alt | more :: เพื่อแสดงรายชื่อแฟ้มทั้งหมด แต่หยุดทีละหน้า ถ้ามีจำนวนแฟ้มเกินที่จะแสดงได้ ใน 1 หน้า
ls -al --sort=time | more :: แสดงรายชื่อแฟ้มเรียงตามเวลา แยกทีละหน้า แบบ long listing
ls -R | more :: แสดงรายชื่อในทุก directory ในห้องปัจจุบัน (R=Recursive)
ถ้าสังเกตนะครับ แฟ้มที่มี . หน้าชื่อแฟ้ม หมายถึง แฟ้มที่ซ่อนไว้ ถ้าใช้คำสั่ง ls หรือ ls -l จะไม่เห็นแฟ้มเหล่านี้
ถ้ามีอักษร D ที่ Column แรก ในส่วนแสดงรายชื่อแฟ้ม ด้วยคำสั่ง ls -al จะหมายถึง directory
---------------------------------------------------------------------------------------------------------------------------------------------------
2 คำสั่ง chmod : เปลี่ยนสถานะของแฟ้มเช่น Read Write eXecute
ใช้เปลี่ยนสิทธิของแฟ้ม เจ้าของ(Owner), คนในกลุ่ม(Group), คนอื่น(Other) สามารถทำอะไรได้บ้าง
: change file access permissions
เมื่อใช้คำสั่ง ls ท่านจะเห็นตัวอักษร RWXRWXRWX หรือทำนองนี้หน้าชื่อแฟ้ม ซึ่งเป็นการกำหนด สิทธิของแต่ละแฟ้ม ว่า อ่านได้
เขียนได้ และประมวลผลได้ โดยแยกเป็นส่วนของ เจ้าของ กลุ่ม คนอื่น ซึ่งเป็นคำสั่งที่จำเป็นมากสำหรับ webmaster ในการดูแลระบบ
และท่านที่ต้องการเขียน CGI จะต้องรู้คำสั่งนี้ เพราะ เมื่อส่งแฟ้ม CGI เข้าไปใน server และต้องการให้คนทั่วไปเข้ามาใช้บริการ
โปรแกรมของตนที่เขียนขึ้นด้วย Perl จะไม่สามารถใช้ได้ ถ้าไม่กำหนดให้คนอื่น สามารถประมวลผลได้ (x) จึงจำเป็นต้องใช้คำสั่ง
เช่น chmod 755 hello.pl หรือ chmod 775 fileforyou.pl หรือ chmod +x test.pl เป็นต้น
ในแต่ละกลุ่มจะมีการกำหนดสิทธิได้ 3 แบบ
ตัวอักษร R มาจาก Read หมายถึง อ่าน
ตัวอักษร W มาจาก Write หมายถึง เขียน
ตัวอักษร X มาจาก Execute หมายถึง ประมวลผล
ตัวอย่างเช่น
--- : ไม่มีสิทธิอะไรเลย (เลขที่ใช้คือ 0)
--X : ประมวลผลได้อย่างเดียว (เลขที่ใช้คือ 1)
R-- : อ่านได้อย่างเดียว (เลขที่ใช้คือ 4)
RW- : อ่าน และเขียนได้ (เลขที่ใช้คือ 6)
R-X : อ่าน และประมวลผลได้ (เลขที่ใช้คือ 5)
RWX : อ่าน เขียน และประมวลผลได้ (เลขที่ใช้คือ 7) ความหมายของ RWXRWXRWX จะเห็นว่ามีอักษร 9 ตัว
3 ตัวแรกหมายถึง เจ้าของ
3 ตัวที่สองหมายถึง กลุ่ม
3 ตัวที่สามหมายถึง คนอื่น
ตัวอย่างเช่น
RWX------ : เจ้าของเท่านั้นที่มีสิทธิทุกอย่าง (เลขที่ใช้คือ 700)
RWXRWX--- : เจ้าของ และสมาชิกกลุ่มเดียวกันมีสิทธิทุกอย่าง (เลขที่ใช้คือ 770)
RWXR-XR-X : เจ้าของทำได้หมด ส่วนกลุ่มและคนอื่นอ่านและประมวลผลได้ (เลขที่ใช้คือ 755)
R--R--R-- : ทุกคนอ่านได้อย่างเดียว (เลขที่ใช้คือ 444)
ตัวอย่างคำสั่ง และการใช้งาน
chmod 777 index.php :: ทำให้แฟ้มนี้ อ่าน เขียน และประมวลผล โดยทั้ง 3 กลุ่ม
chmod 755 * -Rf :: ทำให้ทุกแฟ้ม ทุก direcroty ในห้องปัจจุบัน เปลี่ยนตามที่กำหนด
---------------------------------------------------------------------------------------------------------------------------------------------------
3 คำสั่ง man : แสดงรายละเอียดของคำสั่ง (Manual)
: เป็นคำสั่งที่สำคัญมาก เพราะจะช่วยให้อธิบายคำสั่งต่าง ๆ ให้ท่านได้ (Manual)
: format and display the on-line manual pages
ผมเชื่อว่าทุกคนที่ใช้ unix หรือ linux ต้องเคยใช้คำสั่งนี้มาก่อน เพราะจะเป็นคำสั่งที่ช่วยอธิบายหน้าที่ของคำสั่ง
พร้อมกับแสดง parameter ที่สามารถใช้ได้ทั้งหมดของคำสั่งนั้น และยังมีตัวอย่างการใช้ และคำสั่งที่เกี่ยวข้องอีก
ทำให้ประหยัดเวลาในการค้นเอกสารได้อย่างมาก บางท่านอาจศึกษา linux ด้วยการอ่านจาก man อย่างเดียวเลยก็มีนะครับ
โดยไม่ต้องไปหาซื้อหนังสือที่ไหนมาอ่านก็ทำได้
ตัวอย่างคำสั่ง และการใช้งาน
man man :: เพื่ออธิบายคำสั่ง man เอง ว่าตัวคำสั่งนี้ใช้อย่างไร
man ls :: เพื่ออธิบายคำสั่ง ls ว่าใช้อย่างไร
man useradd :: เพื่ออธิบายคำสั่ง useradd ว่าใช้อย่างไร
---------------------------------------------------------------------------------------------------------------------------------------------------
4. คำสั่ง mkdir, rmdir, cd : : : คำสั่งเกี่ยวกับ Directory หรือ Folder เพื่อสร้าง หรือลบ
: งานต่าง ๆ เกี่ยวกับ directory
: make, remove empty, change working directory
ผู้ใช้คอมพิวเตอร์ที่ใช้ dos มาก่อนต้องคุ้นเคยกับ directory แน่นอน สำหรับคำสั่งเกี่ยวกับ directory ในที่นี้มี 3 คำสั่ง
mkdir หมายถึง สร้าง directory (make directories)
rm หมายถึง ลบ directory (remove files or directories) และคำสั่งนี้ยังใช้ลบแฟ้มตามปกติได้อีกด้วย
cd หมายถึงเปลี่ยน directory (change working directory)
ตัวอย่างคำสั่ง และการใช้งาน
mkdir hello :: สร้าง directory ชื่อ hello ในห้องปัจจุบัน
rmdir hello.htm :: จะลบแฟ้มชื่อ hello.htm
cd / :: ย้าย directory ไปยัง root หรือห้องนอกสุด
cd .. :: ย้าย directory ออกไปข้างบน 1 ระดับ
cd ~/x :: เข้าไปยังห้อง x ของ home directory เช่น /home/thaiall/x ถ้า home directory คือ /home/thaiall
---------------------------------------------------------------------------------------------------------------------------------------------------
5. คำสั่ง pico : : : editor ยอดฮิตใน Linux ที่ต้องมากับ Pine เป็น Text mode ที่ใช้ง่ายที่สุด
เป็น editor ที่ใช้สำหรับแก้ไขแฟ้มแบบ text คล้าย vi แต่มีประสิทธิภาพกว่ามาก
เพียงแต่พิมพ์คำว่า pico แล้ว enter ก็ใช้งานได้เลย การจะจัดเก็บ หรืองานต่าง ๆ
ที่มีบริการไว้มากมาย ท่านสามารถอ่านได้จากเมนูด้านล่าง ซึ่งเครือ่งหมาย ^ หมายถึงการกดปุ่ม Ctrl ประกอบอักษรต่าง ๆ นั่นเอง
ผมคิดว่าท่านน่าจะพออ่านรู้เรื่อง หรือจะพิมพ์ว่า pico xx ก็จะเป็นการสร้างแฟ้มชื่อ xx ให้ทันที แต่หากมีแล้ว ก็จะเปิดแฟ้ม xx
มาให้แก้ไขในโปรแกรม xx เมื่อท่านต้องการเลิกก็ทำได้โดยกดปุ่ม Ctrl-X เป็นอันเรียบร้อย หากท่านใดเคยใช้ vi
เมื่อลองใช้โปรแกรมนี้จะติดใจอย่างแน่นอน เพราะใช้งานได้ง่ายกว่า หลายเท่านัก
หลายครั้ง ที่พิมพ์คำว่า pico แล้วไม่มีในเครื่อง ก็เพราะไม่ได้ลงโปรแกรม pine เมื่อต้องการใช้ pico
ก็ต้องติดตั้งโปรแกรม pine เข้าไปในเครื่อง จากแผ่น CD ด้วยคำสั่ง rpm -i pine*
วันอาทิตย์ที่ 18 มกราคม พ.ศ. 2552
A New Evolution in Hack Attacks:
Types of Port Scanning
There are several scanning techniques:
· Vanilla: The scan attempts to connect to all 65,535 ports.
fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46
© SANS Institute 2003, As part of GIAC practical repository. Author retains full rights.
Kelley Ealy Page 10 of 17
· Strobe: Only a few ports are scanned, those ports that are well-known for
being exploitable.
· Stealth-scan: Techniques such as SYN or FIN scans are used so the
scanned computer cannot log the port scanning activities.
· FTP bounce scan: The scanner goes through an FTP server so that the
scanning source cannot be determined.
· Fragmented packets: Fragmented packets are sent by the scanner to
penetrate simple packet filter firewalls.
· UDP: UPD ports are scanned to see if they are open.
· Sweep: One port is scanned on multiple systems.
Types of Distributed Port Scanning Tools
At this writing, a number of different port scanning tools are available, including
the following:
· NMAP. NMAP is one of the most popular scanning tools available. It
offers a variety of scanning techniques, such as UDP, TCP SYN, FTP
Proxy, ICMP, and Null scan, among others. It also provides remote OS
detection, fingerprinting, stealth scanning, decoy scanning, and port
detection filtering.
· NetScan Tools Pro 2000. Considered to have one of the best Windowsbased
port scanners available, Netscan also does a lot more than mere
port scanning. It offers several utilities like DNS queries, ping sweeps,
whois, SNMP walks, and even multitasks between systems so a port scan
can be run on one system and a ping sweep can be run on another.
· SuperScan. This TCP scanner is fast and flexible. Like Netscan,
SuperScan allows for flexible specification of target IPs and port lists. In
addition, it comes with some very extensive port lists.
· ISS Internet Scanner. This commercial scanner provides several
scanning techniques, including TCP, ICMP, and UDP. It offers NETBIOS
and DNS utilities, identifies operating systems, and performs
fingerprinting.
Port Scanning Prevention
“Federal law enforcement officials are generally in agreement that port scanning
is not a crime” [15]. However, there is a fine line between port scanning and
hacking. At this point, the best defense against distributed port scanning is to
Key fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46
© SANS Institute 2003, As part of GIAC practical repository. Author retains full rights.
Kelley Ealy Page 11 of 17
disable all unneeded services on users’ systems. Users should be familiar with
the programs and applications running on their systems and configure their
systems specifically to that environment’s needs. Also, network administrators
should make sure Intrusion Detection System and Intrusion Prevention System
signatures deployed in their environment are up-to-date.
There are several scanning techniques:
· Vanilla: The scan attempts to connect to all 65,535 ports.
fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46
© SANS Institute 2003, As part of GIAC practical repository. Author retains full rights.
Kelley Ealy Page 10 of 17
· Strobe: Only a few ports are scanned, those ports that are well-known for
being exploitable.
· Stealth-scan: Techniques such as SYN or FIN scans are used so the
scanned computer cannot log the port scanning activities.
· FTP bounce scan: The scanner goes through an FTP server so that the
scanning source cannot be determined.
· Fragmented packets: Fragmented packets are sent by the scanner to
penetrate simple packet filter firewalls.
· UDP: UPD ports are scanned to see if they are open.
· Sweep: One port is scanned on multiple systems.
Types of Distributed Port Scanning Tools
At this writing, a number of different port scanning tools are available, including
the following:
· NMAP. NMAP is one of the most popular scanning tools available. It
offers a variety of scanning techniques, such as UDP, TCP SYN, FTP
Proxy, ICMP, and Null scan, among others. It also provides remote OS
detection, fingerprinting, stealth scanning, decoy scanning, and port
detection filtering.
· NetScan Tools Pro 2000. Considered to have one of the best Windowsbased
port scanners available, Netscan also does a lot more than mere
port scanning. It offers several utilities like DNS queries, ping sweeps,
whois, SNMP walks, and even multitasks between systems so a port scan
can be run on one system and a ping sweep can be run on another.
· SuperScan. This TCP scanner is fast and flexible. Like Netscan,
SuperScan allows for flexible specification of target IPs and port lists. In
addition, it comes with some very extensive port lists.
· ISS Internet Scanner. This commercial scanner provides several
scanning techniques, including TCP, ICMP, and UDP. It offers NETBIOS
and DNS utilities, identifies operating systems, and performs
fingerprinting.
Port Scanning Prevention
“Federal law enforcement officials are generally in agreement that port scanning
is not a crime” [15]. However, there is a fine line between port scanning and
hacking. At this point, the best defense against distributed port scanning is to
Key fingerprint = AF19 FA27 2F94 998D FDB5 DE3D F8B5 06E4 A169 4E46
© SANS Institute 2003, As part of GIAC practical repository. Author retains full rights.
Kelley Ealy Page 11 of 17
disable all unneeded services on users’ systems. Users should be familiar with
the programs and applications running on their systems and configure their
systems specifically to that environment’s needs. Also, network administrators
should make sure Intrusion Detection System and Intrusion Prevention System
signatures deployed in their environment are up-to-date.
เทคนิคการสร้างรหัสผ่านที่ปลอดภัย
รหัสผ่านของคุณปลอดภัยแค่ไหน?
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
ขั้นแรกในการป้องกันข้อมูลส่วนตัวบนอินเทอร์เน็ตคือการสร้างรหัสผ่านที่ปลอดภัย เช่น รหัสที่โปรแกรมคอมพิวเตอร์หรือใคร ๆ ไม่สามารถคาดเดาได้อย่างง่ายดายในระยะเวลาอันสั้น เพื่อช่วยให้คุณเลือกรหัสผ่านที่ปลอดภัยได้ เราได้สร้างคุณสมบัติที่ช่วย ให้คุณรู้ด้วยตาตัวเองว่ารหัสผ่านของคุณจะปลอดภัยมากแค่ไหนเมื่อสร้างเสร็จแล้ว
เกร็ดน่ารู้สำหรับการสร้างรหัสผ่านที่ปลอดภัย:
รวมเครื่องหมายวรรคตอนและ/หรือตัวเลข
ใช้ตัวพิมพ์ใหญ่และตัวพิมพ์เล็กปนกัน
รวมสัญลักษณ์ที่ใช้แทนกันมีลักษณะคล้ายกันไว้ด้วย เช่น เลขศูนย์ที่ใช้แทนตัวอักษร "o" หรือ '$' ที่ใช้แทน 'S'
สร้างตัวย่อที่แตกต่าง:
ใส่การเลียนเสียงแทนคำลงไปด้วย เช่น 'Luv 2 Laf' สำหรับ 'Love to Laugh'
สิ่งที่ต้องหลีกเลี่ยง:
อย่าใช้รหัสผ่านที่ใช้เป็นตัวอย่างในการเลือกรหัสผ่าน
อย่าใช้รหัสผ่านที่มีข้อมูลส่วนบุคคล (ชื่อ, วันเกิด เป็นต้น)
อย่าใช้คำหรือตัวย่อที่ระบุไง้ในพจนานุกรม
อย่าใช้การเรียงตัวอักษรตามคีย์บอร์ด (ฟหกด) หรือ ตัวเลขตามลำดับ (1234)
อย่าตั้งรหัสผ่านโดยใช้ตัวเลข, ตัวอักษรตัวพิมพ์ใหญ่หรือตัวพิมพ์เล็กอย่างเดียวทั้งหมดเท่านั้น
อย่าใช้อักขระที่ซ้ำกัน (กก11)
เคล็ดลับในการรักษารหัสผ่านของคุณให้ปลอดภัย:
อย่าให้ใครรู้รหัสผ่าน (รวมถึงบุคคลสำคัญอื่น ๆ , เพื่อนหรือนกแก้วที่บ้าน)
อย่าจดรหัสผ่านไว้
โปรดอย่าส่งรหัสผ่านของท่านทางอีเมล
ทดสอบรหัสผ่านปัจจุบันของคุณและเปลี่ยนเป็นระยะ ๆ
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
ขั้นแรกในการป้องกันข้อมูลส่วนตัวบนอินเทอร์เน็ตคือการสร้างรหัสผ่านที่ปลอดภัย เช่น รหัสที่โปรแกรมคอมพิวเตอร์หรือใคร ๆ ไม่สามารถคาดเดาได้อย่างง่ายดายในระยะเวลาอันสั้น เพื่อช่วยให้คุณเลือกรหัสผ่านที่ปลอดภัยได้ เราได้สร้างคุณสมบัติที่ช่วย ให้คุณรู้ด้วยตาตัวเองว่ารหัสผ่านของคุณจะปลอดภัยมากแค่ไหนเมื่อสร้างเสร็จแล้ว
เกร็ดน่ารู้สำหรับการสร้างรหัสผ่านที่ปลอดภัย:
รวมเครื่องหมายวรรคตอนและ/หรือตัวเลข
ใช้ตัวพิมพ์ใหญ่และตัวพิมพ์เล็กปนกัน
รวมสัญลักษณ์ที่ใช้แทนกันมีลักษณะคล้ายกันไว้ด้วย เช่น เลขศูนย์ที่ใช้แทนตัวอักษร "o" หรือ '$' ที่ใช้แทน 'S'
สร้างตัวย่อที่แตกต่าง:
ใส่การเลียนเสียงแทนคำลงไปด้วย เช่น 'Luv 2 Laf' สำหรับ 'Love to Laugh'
สิ่งที่ต้องหลีกเลี่ยง:
อย่าใช้รหัสผ่านที่ใช้เป็นตัวอย่างในการเลือกรหัสผ่าน
อย่าใช้รหัสผ่านที่มีข้อมูลส่วนบุคคล (ชื่อ, วันเกิด เป็นต้น)
อย่าใช้คำหรือตัวย่อที่ระบุไง้ในพจนานุกรม
อย่าใช้การเรียงตัวอักษรตามคีย์บอร์ด (ฟหกด) หรือ ตัวเลขตามลำดับ (1234)
อย่าตั้งรหัสผ่านโดยใช้ตัวเลข, ตัวอักษรตัวพิมพ์ใหญ่หรือตัวพิมพ์เล็กอย่างเดียวทั้งหมดเท่านั้น
อย่าใช้อักขระที่ซ้ำกัน (กก11)
เคล็ดลับในการรักษารหัสผ่านของคุณให้ปลอดภัย:
อย่าให้ใครรู้รหัสผ่าน (รวมถึงบุคคลสำคัญอื่น ๆ , เพื่อนหรือนกแก้วที่บ้าน)
อย่าจดรหัสผ่านไว้
โปรดอย่าส่งรหัสผ่านของท่านทางอีเมล
ทดสอบรหัสผ่านปัจจุบันของคุณและเปลี่ยนเป็นระยะ ๆ
Blue Screen
Blue Screen เป็นอาการของเครื่องคอมพิวเตอร์ที่รวนแล้วเกิดปรากฏการณ์จอภาพ
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
เป็นสีฟ้า แล้วมีข้อความต่างๆ แสดงเป็นรหัส(Code) อย่างไรก็ตามรหัสที่แจ้งของ Blue Screen จริงๆมีเกินร้อยตัวเลยทีเดียว แต่ได้แสดงตัวอย่างเพียงส่วนได้แก่
1. (stop code 0X000000BE) Attempted Write To Readonly Memory
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจากการลง Driver หรือโปรแกรม หรือ Service ที่ผิดพลาด เช่น มีไฟล์บางไฟล์เสีย หรือDriver ไม่ตรงรุ่นหรือคนละรุ่นกัน ทางแก้ไขให้ทำการ uninstall โปรแกรมตัวที่ลงก่อนที่จะเกิดปัญหานี้ หากเป็น Driver ก็ให้ทำการ Roll back กลับไปตัวเก่ามาใช้ หรือหารุ่นที่ล่าสุดมาลง (กรณีที่มีใหม่กว่า) ส่วนพวก service ต่างๆที่เราเปิดก่อนเกิดปัญหาก็ให้ทำการปิด หรือ disable
2. (stop code 0X000000C2) Bad Pool Caller
สาเหตุและแนวทางแก้ไข:
คล้ายกับตัวข้อ 1 แต่เน้นที่พวก Hardware คือเกิดจาก Upgrade เครื่องคอมพิวเตอร์ต่างๆ เช่น HDD (Hard Disk Drive) การ์ดต่างๆ เกิดปัญหาในลักษณะ compatible กับตัวโปรแกรมระบบปฏิบัติการ Microsoft Windwos XP ทางแก้ไขก็ให้ทำการถอดอุปกรณ์ที่ Upgrade ออก หากจำเป็นต้องใช้ก็ให้ลง Driver หรือ อัฟเดท firmware ของอุปกรณ์นั้นๆ ใหม่ และให้ปิด anti-virus เนื่องจากในการ Update จะมองว่าเป็นไวรัสทำให้อาจจะเกิดปัญหาขึ้นได้
3. (stop code 0X0000002E) Data Bus Error
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจากการส่งข้อมูลที่เรียกว่า BUS ของ Hardware เกิดเสียหายขึ้น ซึ่งได้แก่ ระบบ RAM , Cache Memory L2 ของ CPU , Memory ของการ์ดจอภาพ, ฮาร์ดดิสก์ทำงานหนักถึงขั้น error เนื่องจากมีอุณหภูมิสูงหรือร้อนเกินไป และบอร์ดหรือแผงวงจรหลักเสีย
4. (stop code 0X000000D1) Driver IRQL Not Less Or Equal
สาเหตุและแนวทางแก้ไข:
อาการ Driver กับ IRQ(Interrupt Request ) ไม่ตรงกัน การแก้ไขก็เหมือนกับ error ข้อที่ 1
5. (stop code 0X0000009F) Driver Power State Failure
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจาก ระบบการจัดการด้านพลังงานกับ Driver หรือ service ขัดแย้งกัน เมื่อคุณให้คอมพิวเตอร์ทำงานแบบ "Hibernate" Mode แนวทางแก้ไข ถ้าวินโดวส์แจ้ง errorตัวไหนก็ให้ uninstall ตัวนั้น หรือจะใช้วิธี Rollback driver หรือ ปิดระบบจัดการพลังงานของ Windows
6. (stop code 0X000000CE) Driver Unloaded Without Cancelling Pending Operations
สาเหตุและแนวทางแก้ไข:
อาการ Driver ปิดตัวเองทั้งๆ ที่โปรแกรมระบบปฏิบัติการ Windows ยังไม่ได้สั่ง การแก้ไขให้ทำเหมือนข้อ 1
7. (stop code 0X000000F2) Hardware Interrupt Storm
สาเหตุและแนวทางแก้ไข:
อาการที่เกิดจากอุปกรณ์ Hardware เช่น USB หรือ SCSI controller จัดตำแหน่งกับ IRQ ผิดพลาด สาเหตุจาก Driver หรือ firmware การแก้ไขเหมือนกับข้อ 1
8. (stop code 0X0000007B) Inaccessible Boot Device
สาเหตุและแนวทางแก้ไข:
อาการนี้จะมักเจอตอน Boot เข้า Windows จะมีข้อความบอกว่าไม่สามารถอ่านข้อมูลของไฟล์ระบบหรือ boot partitions ได้ ให้ตรวจฮาร์ดดิสก์ว่าปกติหรือไม่ สายแพหรือสายไฟที่เข้าฮาร์ดดิสก์หลุดหรือไม่ ถ้าปกติดีก็ให้ตรวจไฟล์ boot.ini อาจจะเสีย หรือไม่ก็มีการทำงานแบบ multi OS ให้ตรวจดูว่าที่ไฟล์นี้อาจเขียน config ของ OS ขัดแย้งกัน
หรืออีกกรณีหนึ่งที่เกิด error นี้ คือเกิดขณะ upgrade วินโดวส์ สาเหตุจากมีอุปกรณ์บางตัวไม่ compatible ให้ลองเอาอุปกรณ์ที่ไม่จำเป็นหรือคิดว่ามีอาจจะปัญหาออก เมื่อทำการ upgrade วินโดวส์ เรียบร้อย ค่อยเอาอุปกรณ์ที่มีปัญหาใส่กลับแล้วติดตั้งด้วย Driver รุ่นล่าสุด
9. (stop code 0X0000007A) Kernel Data Inpage Error
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดมีปัญหากับระบบ virtual memory คือวินโดวส์ไม่สามารถอ่านหรือเขียนข้อมูลที่ swapfile ได้ สาเหตุอาจเกิดจากฮาร์ดดิสก์เกิด bad sector, เครื่องติดไวรัส, ระบบ SCSI ผิดพลาด, RAM เสีย หรือแผงวงจรหลักเสีย
10. (stop code 0X00000077) Kernel Stack Inpage Error
สาเหตุและแนวทางแก้ไข: อาการและสาเหตุเดียวกับข้อ 9
11. (stop code 0X0000001E) Kmode Exception Not Handled
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดการทำงานที่ผิดพลาดของ Driver หรือ service กับ หน่วยความจำ (Memory) และ IRQ ถ้ามีรายชื่อของไฟล์หรือ service แสดงออกมากับ error นี้ให้ทำการ uninstall โปรแกรมหรือทำการ roll back
ถ้ามีการแจ้งว่า error ที่ไฟล์ win32k สาเหตุเกิดจาก การ control software ของบริษัทอื่นๆ (Third-party) ที่ไม่ใช้ของวินโดวส์ ซึ่งมักจะเกิดกับพวก Networking และ Wireless เป็นส่วนใหญ่
Error นี้อาจจะเกิดสาเหตุอีกอย่าง นั้นคือการ run โปรแกรมต่างๆ แต่หน่วยความจำหลักของระบบไม่เพียงพอ
12. (stop code 0X00000079) Mismatched Hal
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดการทำงานผิดพลาดของ HAL (Hardware Abstraction Layer) โดย HAL มีหน้าที่เป็นตัวจัดระบบติดต่อระหว่าง Hardware กับ Software ว่า Application ตัวไหนวิ่งกับอุปกรณ์ตัวไหนให้ถูกต้อง ยกตัวอย่าง คุณมี Software ที่ออกแบบไว้ใช้กับ Dual-Core Processor (CPU) มาใช้กับแผงวงจรหลัก (Motherboard) ที่เป็น Single-Core Processor โปรแกรมระบบปฏิบัติการ Windows ก็จะไม่ทำงาน วิธีแก้คือ reinstall โปรแกรม Windows ใหม่
สาเหตุอีกประการการคือไฟล์ที่ชื่อ NToskrnl.exe หรือ Hal.dll หมดอายุหรือถูกแก้ไข ให้เอา Backup ไฟล์ หรือเอา original ไฟล์ที่คิดว่าไม่เสียหรือเวอร์ชั่นล่าสุด Copy ทับไฟล์ที่เสีย
13. (stop code 0X0000003F) No More System PTEs
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจากระบบ Page Table Entries (PTEs) ทำงานโดย Virtual Memory Manager (VMM) ผิดพลาด ทำให้ Windowsทำงานโดยไม่มี PTEs ซึ่งเป็นสิ่งจำเป็นสำหรับวินโดวส์ อาการนี้มักจะเกิดกับการที่คุณทำงานแบบ multi monitors
ถ้าคุณเกิดปัญหานี้บ่อยครั้ง คุณสามารถปรับแต่ง PTEs ได้ใหม่เอง โดยให้เปิด Registry ขึ้นมาแก้ไข โดยไปที่ Start > Run แล้วพิมพ์คำสั่ง Regedit ไปตามคีย์นี้ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
ดูที่หน้าต่างขวามือ ดับคลิกที่ PagedPoolSize ให้ใส่ค่าเป็น 0 ที่ Value data และคลิก OK
ดับเบิลคลิกที่ SystemPages ถ้าคุณใช้ระบบจอแบบ Multi Monitor ให้ใส่ค่า 36000 ที่ Value data หรือใส่ค่า 40000 ถ้าเครื่องฯ คุณมี RAM ขาดความจุ128 MB และค่า 110000 ในกรณีที่เครื่องมี RAM เกินกว่า 128 MB แล้วคลิก OK แล้ว Restart เครื่องฯ
14. (stop code 0X00000024) NTFS File System
สาเหตุและแนวทางแก้ไข:
อาการนี้สาเหตุเกิดจากการรายงานผิดพลาดของ Ntfs.sys คือ Driver ของ NTFS อ่านและเขียนข้อมูลผิดพลาด สาเหตูนี้รวมถึง การทำงานผิดพลาดของ controller ของ IDE หรือ SCSI เนื่องจากการทำงานของโปรแกรมสแกนไวรัส หรือ พื้นที่ของฮาร์ดดิสก์เสีย คุณๆสามารถทราบรายละเอียดของerror นี้ได้โดยให้เปิดดูที่ Event Viewer วิธีเปิดก็ให้ไปที่ start > run แล้วพิมพ์คำสั่ง eventvwr.msc เพื่อเปิดดู Log file ของการ error โดยให้ดูการ error ของ SCSI หรือ FASTFAT ในหมวด System หรือ Autochk ในหมวด Application
15. (stop code 0X00000050) Page Fault In Nonpaged Area
สาเหตุและแนวทางแก้ไข:
อาการนี้สาเหตุการจากการผิดพลาดของการเขียนข้อมูลในหน่วยความจำ (RAM) การแก้ไขก็ให้ทำความสะอาดหน้าสัมผัสบริเวณขา RAM หรือลองสลับ RAM ดู หรือไม่ก็หาโปรแกรมที่ Memory Test มาตรวจว่า RAM เสียหรือไม่
16. (stop code 0Xc0000221) Status Image Checksum Mismatch
สาเหตุและแนวทางแก้ไข:
อาการนี้สาเหตุมาจาก swapfile เสียหายรวมถึง Driver ด้วย การแก้ไขก็เหมือนข้อ 15
17. (stop code 0X000000EA) Thread Stuck In Device Driver
สาเหตุและแนวทางแก้ไข:
อาการของ error นี้คือการทำงานของเครื่องจะทำงานในแบบวนซ้ำๆ กันไม่สิ้นสุด เช่น จะ Restart ตลอด หรือแจ้ง Error อะไรก็ได้ขึ้นมาไม่หยุด ปัญหานี้ สาเหตุอาจจะเกิดจาก bug ของโปรแกรมหรือสาเหตุอื่นๆ เป็นร้อย การแก้ไขให้พยายามทำตามนี้
ปัญหา Power supply ของคุณว่าจ่ายกำลังไฟฟ้าเพียงพอกับความต้องการของคอมพิวเตอร์หรือไม่ ให้ดูว่าในเครื่องคุณมีอุปกรณ์มากไปไม่เหมาะกับ power supply ก็ให้เปลี่ยนตัวใหม่ให้กำลังวัตต์ที่สูงมากขึ้น
ปัญหาจนได้ก็คือ ตัว Capacitor ที่แผงวจรหลักตัวที่จ่ายไฟฟ้าเลี้ยง CPU บวมหรือน้ำยาหรือตัวถังแตก จะต้องทำการเปลี่ยน Capacitor ตัวใหม่แทน
ตรวจดูการ์ดจอภาพ แผงวงจรหลักว่าเสียหรือไม่ เช่น มีรอยไหม้, ลายวงจรขาด มีชิ้นสวนบางชิ้นหลุดจากตำแหน่งเดิม เป็นต้น
ดูที่การ์ดจอว่าได้ใช้ Driver รุ่นล่าสุด ถ้าแน่ใจว่าใช้ตัวล่าสุดแล้วยังมีอาการ ก็ให้ทำการ Rollback กลับไปตัวก่อนที่จะเกิดปัญหา
ดูที่ BIOS ว่าส่วนของการ์ดจอภาพเลือก AGP Bus Mode 2x, 4x,8x ถูกต้องตามการ์ดจอภาพที่ใช้อยู่หรือไม่
ดูที่ผู้ผลิตแผงวงจรหลักว่ามี Driver รุ่นใหม่หรือไม่ ถ้ามีให้ติดตั้ง
หากมี LAN Card หรือ LAN Onboard อยู่ให้ disable ฟังก์ชั่น "PXE Resume/Remote Wake Up" โดยไปปิดที่ BIOS
18. (stop code 0X0000007F) unexpected Kernel Mode Trap
สาเหตุและแนวทางแก้ไข:
อาการนี้ส่วนใหญ่จะเกิดกับการ Overclock เป็นอาการ RAM ส่งข้อมูลให้ CPU ไม่สัมพันธ์กันคือ CPU วิ่งเร็วเกินไป หรือร้อนเกินไปวิธีแก้ไขก็คือลด Clock ลงมาให้ต่ำลงหรือเป็นปกติ หรือจัดหาระบบการระบายความร้อนจาก CPU
19. (stop code 0X000000ED) Unmountable Boot Volume
สาเหตุและแนวทางแก้ไข:
อาการที่ Windows ตรวจหาฮาร์ดดิสค์ก์ไม่พบ ซึ่งไม่ใช่ฮาร์ดดิสค์ตัวบูตระบบ (Active) ซึ่งเป็นกรณีที่คุณมีฮาร์ดดิสก์หลายๆ ตัว โดยมีฮาร์ดดิสค์บางตัวอาจจะใช้สายแพของฮาร์ดดิสก์ไม่ถูกต้อง เช่น ฮาร์ดดิสก์เป็นแบบ 100MB/s ซึ่งต้องใช้สายแพ 80 pin แต่ใช้แบบ 40 pin ไปต่อแทน
20. (STOP 0x0000008e) error message during Windows XP setup
สาเหตุและแนวทางแก้ไข:
หน่วยความจำ (Memory/RAM) ที่ใช้อยู่มีปัญหาหรือแรมใหม่ที่นำมาใส่เกิดความไม่เข้ากันของ Hardware การแก้ไขให้ลองเปลี่ยนแรมใหม่มาใส่แทน
อย่างไรก็ตามบางกรณีการแก้ไขปัญหาที่เกิดขึ้นก็อาจไม่ได้ตรงกับรหัส แต่ก็สามารถใช้ดูเป็นแนวทางได้ การตรวจสอบโค้ดต่าง ๆ ที่แสดงขึ้นมานั้น สามารถตรวจได้ที่เว็บ http://www.microsoft.com ก็จะบอกสาเหตุและวิธีแก้ไขที่แนะนำให้
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
เป็นสีฟ้า แล้วมีข้อความต่างๆ แสดงเป็นรหัส(Code) อย่างไรก็ตามรหัสที่แจ้งของ Blue Screen จริงๆมีเกินร้อยตัวเลยทีเดียว แต่ได้แสดงตัวอย่างเพียงส่วนได้แก่
1. (stop code 0X000000BE) Attempted Write To Readonly Memory
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจากการลง Driver หรือโปรแกรม หรือ Service ที่ผิดพลาด เช่น มีไฟล์บางไฟล์เสีย หรือDriver ไม่ตรงรุ่นหรือคนละรุ่นกัน ทางแก้ไขให้ทำการ uninstall โปรแกรมตัวที่ลงก่อนที่จะเกิดปัญหานี้ หากเป็น Driver ก็ให้ทำการ Roll back กลับไปตัวเก่ามาใช้ หรือหารุ่นที่ล่าสุดมาลง (กรณีที่มีใหม่กว่า) ส่วนพวก service ต่างๆที่เราเปิดก่อนเกิดปัญหาก็ให้ทำการปิด หรือ disable
2. (stop code 0X000000C2) Bad Pool Caller
สาเหตุและแนวทางแก้ไข:
คล้ายกับตัวข้อ 1 แต่เน้นที่พวก Hardware คือเกิดจาก Upgrade เครื่องคอมพิวเตอร์ต่างๆ เช่น HDD (Hard Disk Drive) การ์ดต่างๆ เกิดปัญหาในลักษณะ compatible กับตัวโปรแกรมระบบปฏิบัติการ Microsoft Windwos XP ทางแก้ไขก็ให้ทำการถอดอุปกรณ์ที่ Upgrade ออก หากจำเป็นต้องใช้ก็ให้ลง Driver หรือ อัฟเดท firmware ของอุปกรณ์นั้นๆ ใหม่ และให้ปิด anti-virus เนื่องจากในการ Update จะมองว่าเป็นไวรัสทำให้อาจจะเกิดปัญหาขึ้นได้
3. (stop code 0X0000002E) Data Bus Error
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจากการส่งข้อมูลที่เรียกว่า BUS ของ Hardware เกิดเสียหายขึ้น ซึ่งได้แก่ ระบบ RAM , Cache Memory L2 ของ CPU , Memory ของการ์ดจอภาพ, ฮาร์ดดิสก์ทำงานหนักถึงขั้น error เนื่องจากมีอุณหภูมิสูงหรือร้อนเกินไป และบอร์ดหรือแผงวงจรหลักเสีย
4. (stop code 0X000000D1) Driver IRQL Not Less Or Equal
สาเหตุและแนวทางแก้ไข:
อาการ Driver กับ IRQ(Interrupt Request ) ไม่ตรงกัน การแก้ไขก็เหมือนกับ error ข้อที่ 1
5. (stop code 0X0000009F) Driver Power State Failure
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจาก ระบบการจัดการด้านพลังงานกับ Driver หรือ service ขัดแย้งกัน เมื่อคุณให้คอมพิวเตอร์ทำงานแบบ "Hibernate" Mode แนวทางแก้ไข ถ้าวินโดวส์แจ้ง errorตัวไหนก็ให้ uninstall ตัวนั้น หรือจะใช้วิธี Rollback driver หรือ ปิดระบบจัดการพลังงานของ Windows
6. (stop code 0X000000CE) Driver Unloaded Without Cancelling Pending Operations
สาเหตุและแนวทางแก้ไข:
อาการ Driver ปิดตัวเองทั้งๆ ที่โปรแกรมระบบปฏิบัติการ Windows ยังไม่ได้สั่ง การแก้ไขให้ทำเหมือนข้อ 1
7. (stop code 0X000000F2) Hardware Interrupt Storm
สาเหตุและแนวทางแก้ไข:
อาการที่เกิดจากอุปกรณ์ Hardware เช่น USB หรือ SCSI controller จัดตำแหน่งกับ IRQ ผิดพลาด สาเหตุจาก Driver หรือ firmware การแก้ไขเหมือนกับข้อ 1
8. (stop code 0X0000007B) Inaccessible Boot Device
สาเหตุและแนวทางแก้ไข:
อาการนี้จะมักเจอตอน Boot เข้า Windows จะมีข้อความบอกว่าไม่สามารถอ่านข้อมูลของไฟล์ระบบหรือ boot partitions ได้ ให้ตรวจฮาร์ดดิสก์ว่าปกติหรือไม่ สายแพหรือสายไฟที่เข้าฮาร์ดดิสก์หลุดหรือไม่ ถ้าปกติดีก็ให้ตรวจไฟล์ boot.ini อาจจะเสีย หรือไม่ก็มีการทำงานแบบ multi OS ให้ตรวจดูว่าที่ไฟล์นี้อาจเขียน config ของ OS ขัดแย้งกัน
หรืออีกกรณีหนึ่งที่เกิด error นี้ คือเกิดขณะ upgrade วินโดวส์ สาเหตุจากมีอุปกรณ์บางตัวไม่ compatible ให้ลองเอาอุปกรณ์ที่ไม่จำเป็นหรือคิดว่ามีอาจจะปัญหาออก เมื่อทำการ upgrade วินโดวส์ เรียบร้อย ค่อยเอาอุปกรณ์ที่มีปัญหาใส่กลับแล้วติดตั้งด้วย Driver รุ่นล่าสุด
9. (stop code 0X0000007A) Kernel Data Inpage Error
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดมีปัญหากับระบบ virtual memory คือวินโดวส์ไม่สามารถอ่านหรือเขียนข้อมูลที่ swapfile ได้ สาเหตุอาจเกิดจากฮาร์ดดิสก์เกิด bad sector, เครื่องติดไวรัส, ระบบ SCSI ผิดพลาด, RAM เสีย หรือแผงวงจรหลักเสีย
10. (stop code 0X00000077) Kernel Stack Inpage Error
สาเหตุและแนวทางแก้ไข: อาการและสาเหตุเดียวกับข้อ 9
11. (stop code 0X0000001E) Kmode Exception Not Handled
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดการทำงานที่ผิดพลาดของ Driver หรือ service กับ หน่วยความจำ (Memory) และ IRQ ถ้ามีรายชื่อของไฟล์หรือ service แสดงออกมากับ error นี้ให้ทำการ uninstall โปรแกรมหรือทำการ roll back
ถ้ามีการแจ้งว่า error ที่ไฟล์ win32k สาเหตุเกิดจาก การ control software ของบริษัทอื่นๆ (Third-party) ที่ไม่ใช้ของวินโดวส์ ซึ่งมักจะเกิดกับพวก Networking และ Wireless เป็นส่วนใหญ่
Error นี้อาจจะเกิดสาเหตุอีกอย่าง นั้นคือการ run โปรแกรมต่างๆ แต่หน่วยความจำหลักของระบบไม่เพียงพอ
12. (stop code 0X00000079) Mismatched Hal
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดการทำงานผิดพลาดของ HAL (Hardware Abstraction Layer) โดย HAL มีหน้าที่เป็นตัวจัดระบบติดต่อระหว่าง Hardware กับ Software ว่า Application ตัวไหนวิ่งกับอุปกรณ์ตัวไหนให้ถูกต้อง ยกตัวอย่าง คุณมี Software ที่ออกแบบไว้ใช้กับ Dual-Core Processor (CPU) มาใช้กับแผงวงจรหลัก (Motherboard) ที่เป็น Single-Core Processor โปรแกรมระบบปฏิบัติการ Windows ก็จะไม่ทำงาน วิธีแก้คือ reinstall โปรแกรม Windows ใหม่
สาเหตุอีกประการการคือไฟล์ที่ชื่อ NToskrnl.exe หรือ Hal.dll หมดอายุหรือถูกแก้ไข ให้เอา Backup ไฟล์ หรือเอา original ไฟล์ที่คิดว่าไม่เสียหรือเวอร์ชั่นล่าสุด Copy ทับไฟล์ที่เสีย
13. (stop code 0X0000003F) No More System PTEs
สาเหตุและแนวทางแก้ไข:
อาการนี้เกิดจากระบบ Page Table Entries (PTEs) ทำงานโดย Virtual Memory Manager (VMM) ผิดพลาด ทำให้ Windowsทำงานโดยไม่มี PTEs ซึ่งเป็นสิ่งจำเป็นสำหรับวินโดวส์ อาการนี้มักจะเกิดกับการที่คุณทำงานแบบ multi monitors
ถ้าคุณเกิดปัญหานี้บ่อยครั้ง คุณสามารถปรับแต่ง PTEs ได้ใหม่เอง โดยให้เปิด Registry ขึ้นมาแก้ไข โดยไปที่ Start > Run แล้วพิมพ์คำสั่ง Regedit ไปตามคีย์นี้ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
ดูที่หน้าต่างขวามือ ดับคลิกที่ PagedPoolSize ให้ใส่ค่าเป็น 0 ที่ Value data และคลิก OK
ดับเบิลคลิกที่ SystemPages ถ้าคุณใช้ระบบจอแบบ Multi Monitor ให้ใส่ค่า 36000 ที่ Value data หรือใส่ค่า 40000 ถ้าเครื่องฯ คุณมี RAM ขาดความจุ128 MB และค่า 110000 ในกรณีที่เครื่องมี RAM เกินกว่า 128 MB แล้วคลิก OK แล้ว Restart เครื่องฯ
14. (stop code 0X00000024) NTFS File System
สาเหตุและแนวทางแก้ไข:
อาการนี้สาเหตุเกิดจากการรายงานผิดพลาดของ Ntfs.sys คือ Driver ของ NTFS อ่านและเขียนข้อมูลผิดพลาด สาเหตูนี้รวมถึง การทำงานผิดพลาดของ controller ของ IDE หรือ SCSI เนื่องจากการทำงานของโปรแกรมสแกนไวรัส หรือ พื้นที่ของฮาร์ดดิสก์เสีย คุณๆสามารถทราบรายละเอียดของerror นี้ได้โดยให้เปิดดูที่ Event Viewer วิธีเปิดก็ให้ไปที่ start > run แล้วพิมพ์คำสั่ง eventvwr.msc เพื่อเปิดดู Log file ของการ error โดยให้ดูการ error ของ SCSI หรือ FASTFAT ในหมวด System หรือ Autochk ในหมวด Application
15. (stop code 0X00000050) Page Fault In Nonpaged Area
สาเหตุและแนวทางแก้ไข:
อาการนี้สาเหตุการจากการผิดพลาดของการเขียนข้อมูลในหน่วยความจำ (RAM) การแก้ไขก็ให้ทำความสะอาดหน้าสัมผัสบริเวณขา RAM หรือลองสลับ RAM ดู หรือไม่ก็หาโปรแกรมที่ Memory Test มาตรวจว่า RAM เสียหรือไม่
16. (stop code 0Xc0000221) Status Image Checksum Mismatch
สาเหตุและแนวทางแก้ไข:
อาการนี้สาเหตุมาจาก swapfile เสียหายรวมถึง Driver ด้วย การแก้ไขก็เหมือนข้อ 15
17. (stop code 0X000000EA) Thread Stuck In Device Driver
สาเหตุและแนวทางแก้ไข:
อาการของ error นี้คือการทำงานของเครื่องจะทำงานในแบบวนซ้ำๆ กันไม่สิ้นสุด เช่น จะ Restart ตลอด หรือแจ้ง Error อะไรก็ได้ขึ้นมาไม่หยุด ปัญหานี้ สาเหตุอาจจะเกิดจาก bug ของโปรแกรมหรือสาเหตุอื่นๆ เป็นร้อย การแก้ไขให้พยายามทำตามนี้
ปัญหา Power supply ของคุณว่าจ่ายกำลังไฟฟ้าเพียงพอกับความต้องการของคอมพิวเตอร์หรือไม่ ให้ดูว่าในเครื่องคุณมีอุปกรณ์มากไปไม่เหมาะกับ power supply ก็ให้เปลี่ยนตัวใหม่ให้กำลังวัตต์ที่สูงมากขึ้น
ปัญหาจนได้ก็คือ ตัว Capacitor ที่แผงวจรหลักตัวที่จ่ายไฟฟ้าเลี้ยง CPU บวมหรือน้ำยาหรือตัวถังแตก จะต้องทำการเปลี่ยน Capacitor ตัวใหม่แทน
ตรวจดูการ์ดจอภาพ แผงวงจรหลักว่าเสียหรือไม่ เช่น มีรอยไหม้, ลายวงจรขาด มีชิ้นสวนบางชิ้นหลุดจากตำแหน่งเดิม เป็นต้น
ดูที่การ์ดจอว่าได้ใช้ Driver รุ่นล่าสุด ถ้าแน่ใจว่าใช้ตัวล่าสุดแล้วยังมีอาการ ก็ให้ทำการ Rollback กลับไปตัวก่อนที่จะเกิดปัญหา
ดูที่ BIOS ว่าส่วนของการ์ดจอภาพเลือก AGP Bus Mode 2x, 4x,8x ถูกต้องตามการ์ดจอภาพที่ใช้อยู่หรือไม่
ดูที่ผู้ผลิตแผงวงจรหลักว่ามี Driver รุ่นใหม่หรือไม่ ถ้ามีให้ติดตั้ง
หากมี LAN Card หรือ LAN Onboard อยู่ให้ disable ฟังก์ชั่น "PXE Resume/Remote Wake Up" โดยไปปิดที่ BIOS
18. (stop code 0X0000007F) unexpected Kernel Mode Trap
สาเหตุและแนวทางแก้ไข:
อาการนี้ส่วนใหญ่จะเกิดกับการ Overclock เป็นอาการ RAM ส่งข้อมูลให้ CPU ไม่สัมพันธ์กันคือ CPU วิ่งเร็วเกินไป หรือร้อนเกินไปวิธีแก้ไขก็คือลด Clock ลงมาให้ต่ำลงหรือเป็นปกติ หรือจัดหาระบบการระบายความร้อนจาก CPU
19. (stop code 0X000000ED) Unmountable Boot Volume
สาเหตุและแนวทางแก้ไข:
อาการที่ Windows ตรวจหาฮาร์ดดิสค์ก์ไม่พบ ซึ่งไม่ใช่ฮาร์ดดิสค์ตัวบูตระบบ (Active) ซึ่งเป็นกรณีที่คุณมีฮาร์ดดิสก์หลายๆ ตัว โดยมีฮาร์ดดิสค์บางตัวอาจจะใช้สายแพของฮาร์ดดิสก์ไม่ถูกต้อง เช่น ฮาร์ดดิสก์เป็นแบบ 100MB/s ซึ่งต้องใช้สายแพ 80 pin แต่ใช้แบบ 40 pin ไปต่อแทน
20. (STOP 0x0000008e) error message during Windows XP setup
สาเหตุและแนวทางแก้ไข:
หน่วยความจำ (Memory/RAM) ที่ใช้อยู่มีปัญหาหรือแรมใหม่ที่นำมาใส่เกิดความไม่เข้ากันของ Hardware การแก้ไขให้ลองเปลี่ยนแรมใหม่มาใส่แทน
อย่างไรก็ตามบางกรณีการแก้ไขปัญหาที่เกิดขึ้นก็อาจไม่ได้ตรงกับรหัส แต่ก็สามารถใช้ดูเป็นแนวทางได้ การตรวจสอบโค้ดต่าง ๆ ที่แสดงขึ้นมานั้น สามารถตรวจได้ที่เว็บ http://www.microsoft.com ก็จะบอกสาเหตุและวิธีแก้ไขที่แนะนำให้
สมัครสมาชิก:
บทความ (Atom)
