Install a single-node Hadoop on Ubuntu (ubuntu-14.04.3-desktop-amd64)

Install Hadoop 2.7.1 on Ubuntu (ubuntu-14.04.3-desktop-amd64) แล้วเข้าใช้งานด้วย putty บน Windows8.1

Hadoop สามารถติดตั้งได้ 3 แบบ (ในบทความนี้ติดตั้งแบบ Pseudo-Distributed Mode)

– Local (Standalone) Mode
– Pseudo-Distributed Mode
– Fully-Distributed Mode

1. สร้าง User และติดตั้งโปรแกรมพื้นฐาน

1.1 LXDE
1.2 putty
1.3 Java
1.4 Hadoop user
1.5 SSH
1.6 SSH Certificates

2. Install Hadoop

2.1 Download Hadoop
2.2 Setup Configuration Files

2.2.1 ~/.bashrc:
2.2.2 hadoop-env.sh
2.2.3 core-site.xml
2.2.4 mapred-site.xml
2.2.5 hdfs-site.xml

2.3 Starting Hadoop
2.4 Stopping Hadoop
2.5 Hadoop Web Interfaces

Continue reading

How to Move an Open Window with the Keyboard

Method #1

NOTE:  Method #1 won’t work with a maximized Window.

  • Alt-Tab or Click On the Window
  • Press “Alt & Space”
  • Press “M”
  • Use your arrow keys to move the Window
  • Press Enter to exit

Method #2

NOTE: Method #2 will move your Window to the right or left half of the screen in the same manner as dragging a window to the right or left of the screen will. Method #2 won’t work with Android Emulator.

  • Press the Windows Key & Right Arrow or Left Arrow

sevenforums.com

ปัญหาทุกครั้งที่เปิด MS Word จะมีหน้าเปล่าเปิดแถมขึ้นมา

ตั้งแต่ไปอบรม E-Thesis กลับมา ก็มีปัญหากวนใจคือทุกครั้งที่เปิดไฟล์ MS Word ขึ้นมา จะมีการาเปิดหน้าต่างที่สองขึ้นมาเป็นหน้าว่าง ๆ ซึ่งมันก็ไม่ได้มีอะไรเสียหาย แต่มันกวนใจมาก เลยลอง search หาดู เจอเว็บนี้
Opening Word/Excel document opens second blank document as well
http://answers.microsoft.com/en-us/office/forum/office_2007-office_install/opening-wordexcel-document-opens-
second-blank/2eadcb0c-7d87-4c89-bf94-496e2c8a6a62?auth=1

แนะนำให้ใช้คำสั่ง winword /r และ excel /o เพื่อเป็นการ reset the default setting แต่ลองแล้วไม่หาย
จากนั้นให้เข้าไปลบภายใน folder ต่อไปนี้ (อย่าลืมโชว์ Hidden items ก่อน)
C:\Program Files\Microsoft Office\Office15\STARTUP
C:\Program Files\Microsoft Office\Office15\XLSTART
C:\Users\phais_000\AppData\Roaming\Microsoft\Word\STARTUP
C:\Users\phais_000\AppData\Roaming\Microsoft\Excel\XLSTART
แต่เข้าไปแล้วว่างเปล่า หมดเลย เลยไม่ได้ลบอะไรเลย

เอาใหม่ search หาอีกรอบ ทีได้ไปเจอที่ stackoverflow
http://stackoverflow.com/questions/1739073/word-opens-extra-blank-document
บอกว่าอาจเป็นปัญหาที่ Add-ins เลยนึกถึง E-Thesis ขึ้นมาเลย

เลยลองเอา E-Thesis ออก โดยไปที่ File -> Options จะปรากฏหน้าจอ Word Options ขึ้นมา

 Word Options

เลือกที่แท็บ Add-ins จากนั้นทางขวาจะเห็น GNRU E-THESIS Word Addin ให้เตรียมเอาออก

โดยไปที่ด้านล่างเลือกตรง Manage เป็น COM Add-ins คลิก Go.. จะปรากฏหน้าจอ COM Add-ins ให้เลือกเครื่องหมายถูกหน้า GNRU E-THESIS Word Addin ออก จากนั้นกด OK แค่นี้ปัญหาก็จะหายไป

COM Add-ins

Windows 8.1, x64, MS Word 2013