
Configure SSH Keys authentication with PuTTY
Putty เป็นโปรแกรมที่ใช้ในการ remote ไปยัง linux ที่ได้รับความนิยมอย่างสูง การใช้งานทั่วไปจะนิยมใช้ username และ password ในการ authen เข้าใช้งาน แต่ยังมี feature…
How to update dell server firmware with Dell Unified Server Configurator
คนที่ใช้งาน Dell Server และต้องการ update firmware ของ Bios, network card, IDRAC, RAID controller และอื่นๆ สามารถใช้…
Monitor apache Virtualhosts real-time activity with apache-top
การดูแล web server ที่มีการทำ virtual host ด้วย tool พื้นฐาน เช่นคำสั่ง top เพื่อดูโหลดและ apache process อาจจะไม่เพียงพอ…
How to convert all MyISAM tables to InnoDB in a MySQL Database
วิธีการเปลี่ยน storage engine จาก MyISAM เป็น InnoDB ทีละหลายๆ table สามารถทำได้โดยรันคำสั่ง SELECT CONCAT... เพื่อสร้างคำสั่งในการ convert storage…
Add SPDY support to Apache web server with mod_spdy
SPDY (speedy) เป็น networking protocol สำหรับเวปที่ถูกพัฒนาโดย Google เพื่อช่วยลดเวลาการโหลดหน้าเวปและเพิ่มความปลอดภัยให้กับเวป SPDY กำลังถูกพลักดันให้เป็น standard protocol และในปัจจุบันก็เป็น Internet Draft…
Fix missing dependency libmysqlclient.so.15 when installing MySQL-python via yum
สำหรับเครื่อง centos 5 ที่ใช้งาน MySQL ที่สูงกว่า version ที่มาพร้อมกับ OS อาจประสบปัญหาการลง MySQL-python ไม่ว่าจะผ่าน yum หรือ rpm…
How to limit SCP bandwidth
คำสั่ง scp เป็นคำสั่งที่ใช้สำหรับการ copy file ข้ามเครื่อง หากเราสั่งให้มีการ copy ข้ามระหว่าง site อาจทำให้ bandwidth เต็มได้ ดังนั้นหากเราต้องการควบคุม bandwidth…
MySQL server hardware, OS and configuration tuning tips
MySQL server hardware, OS and configuration tuning tips (more…)
Mass killing MySQL connections
เมื่อเกิดเหตุการ MySQL มีจำนวน connection มากเกินไปจนทำให้เครื่องทำงานช้า หรือเกิดเหตุการ Table ใน database เกิดการ Lock ขึ้นมา จากเหตุการณ์เช่นนี้เราจำเป็นต้องทำให้ระบบกลับมาให้สามารถทำงานได้โดยเกิด down time…
How to redirect stderr and stdout to a file
การจัดการ output ใน linux ไม่ใช่เรื่องที่ไกลตัว เนื่องจากบ่อยครั้งที่เราจะเห็นคำสั่งต่างๆ มีการ redirect error และ output ไปยังไฟล์ เพื่อทำการจัดเก็บและสามารถนำไปตรวจสอบได้ภายหลัง โดยเฉพาะอย่างยิ่งคำสั่งหรือโปรแกรมที่เมื่อรันแล้วมีการแสดงข้อมูลมากทำให้เราไม่สามารถอ่านได้ทันจำเป็นต้องทำการ redirect…