Posts Under Linux Category
banner คือป้ายแสดง ป้ายข้อความ บน linux ก็สามารถทำได้เช่นกัน จะมาหาอะไรทำสนุกบน linux ครับ ภายใต้การใช้งาน terminal ซึ่งตัวอย่าง banner text เป็นแบบนี้ครับ
Mostly backup command in linux use tar command and if you want to backup directory and not need several sub-directory in root directory, you can use this tar -cvzfp ./dirctoryname-backup.tar.gz –exclude=/folderA/foldera
บางครั้งอาจหงุดหงิดในการ SSH ไปยัง Server และมีการตัดการเชื่อมต่อถ้าเราไม่ได้ทำอะไรหรือ Idle บางครั้งมันก็น่ารำคาญที่จะต้องมาคอย login ใหม่ การแก้ไขสามารถใส่ลงไปในค่า config ของ ssh ส่วนตัวของเราได้ ด้วยการแก้ไขไฟล์
ห่างหายการเขียนบล็อคไปเกือบครึ่งปี เหตุเกิดมาจากติดเกมงอมแงม ในโพสต์นี้จะนำเสนอทริคเล็กๆ น้อยๆ ในการ search และ replace string ลักษณการใช้งานจะเป็นอย่างนี้ครับ
Comand line key Functions
Ctrl + a Move the cursor to the beginning of the current line
Ctrl + e Move the cursor to the end of the current line
Alt + b Move the cursor to the beginning of the current or previous word
Alt + f Move the cursor to the end of the next word
เมื่อใช้โปรแกรม vim ใน ubuntu 10.04 แล้วพบว่าเมื่อกดปุ่มลูกศร มันกลายเป็นตัวอักษร A, D,….. ออกมา แล้ว cursor ก้ไม่ยอมเลื่อนไปตามที่กำหนด การแก้ไขสามารถทำได้ดังนี้ครับ
Subversion (SVN) คือเครื่องมือชนิดหนึ่งที่จะช่วยให้เราสามารถเก็บ source code เป็นเวอร์ชั่นๆ ถ้าอยากแก้ไขอะไรก็สามารถย้อนกลับไปใช้ version ที่ต้องการได้ SVN อาจถึือว่าเป็นโปรแกรมที่ไว้ใช้ Backup source-code ได้เหมือนกัน ในบทความนี้จะเขียนถึงการติดตั้ง SVN บนระบบปฏิบัติการ Linux
If you use Fedora, CentOS or Redhat and when you need to update or install package via yum package manager and have “HTTP Error 416″ error like this
how to install tomcat webserver in Fedora
assume your server installed “Development Tools” and “Legacy Software Developement”, I will explain in 2 mainly parts
จากบทความที่แล้ว ได้ทำการ Clone harddisk เอาไว้แล้ว แล้วจะมีประโยชน์อะไรถ้าเรา Clone ได้แต่ Restore ไม่ได้ แม๋เสียชื่อโปรแกรมฟรีๆ ดีๆ หมดหน่ะสิ บทความนี้จะแสดงตัวอย่างและวิธีการ Restore กลับมาจากส่วนที่ได้จากบทความที่แล้วนะครับ ขั้นตอนก็ไม่มีอะไรมากมาย สิ่งที่จำเป็นก็คือ Clonezilla พร้อมเผาใส่แผ่นและเครื่องว่างๆ สักเครื่องที่สำคัญขนาด Harddisk ต้องไม่น้อยกว่าเครื่องที่ได้ทำการ Clone มานะครับ