After I started my Zimbra server, I had alerte from my server. It told me about my CA was mismatch with my domain. This is example alert : If you want to create new CA for your Zimbra server , you can follow these steps :
How to fix problem when linux guest on vmware has run time fast than host.
by aoddy on February 13, 2008
I have one server, it is installed CentOS5. After I installed Vmware Server program, I installed new Linux guest virtual machine which it is CentOS5 ,too. I found this problem when I started it (Linux guest) about 3 days, I found it had shift time. I try to find root cause of this problem. Ohhh [...]
How to redirect http to https on Zimbra server.
by aoddy on February 8, 2008
I want to redirect from http to https when I type URL in browser . And this is solution : [root@zimbra] # su – zimbra [zimbra@zimbra] $ zmtlsctl mixed [zimbra@zimbra] $ zmcontrol stop [zimbra@zimbra] $ zmcontrol start Work more !!
How to set datetime in Linux system by command line
by aoddy on January 30, 2008
Yesterday, I found problem about date&time system on Linux server virtual machine on VMServer. That virtual machine has shifted time by automatic and this is example how to use command line set date&time in Linux server.
Clone disk by CloneZilla.
by admin on January 1, 2008
ผมมีปัญหากับการ Clone disk ทั้งลูกเป็นอย่างมาก เพราะไอ้เครื่อง Laptop ทีผมดูแล มันต้องลง ทั้ง Windows XP (ถูกกฏหมาย) กับ Ubuntu เวลาผม Ghost ด้วย Norton Ghost 2003 (พันทิพ) มันจะ Restore ไม่ได้ ก็เลยต้องงม หาโปรแกรมมาช่วย ตั้งนาน และแล้วผมก็เจอครับ สวรรค์บรรดาร โปรแกรมที่มีชื่อว่า CloneZilla ครับ
How to install PHP5,Apach2.2,MySQL5 by manual compile.
by admin on December 8, 2007
ได้รับมอบหมายให้ Install OS พร้อม Software จำพวก Apache, PHP5 แล้วก็ MySQL5 เริ่มแรกเราก็ไปหา source file มาก่อน เตรียมๆ เอาไว้ ดังนี้ Apache 2.2 MySQL 5.0.37 PHP 5.2.1 ลำดับการติดตั้ง ก็ตามนี้ครับ การติดตั้ง Apache 2.2 การติดตั้ง MySQL 5.0.37 : http://laffers.net/howtos/howto-install-mysql การติดตั้ง PHP 5.2.1
Count files in sub directory.
by admin on December 8, 2007
ครับตามชื่อ หัวข้อ ผมต้องการนับว่าใน Current Directory ที่ผมอยู่มีไฟล์ทั้งหมดกี่ไฟล์ และถ้าใน Current Directory มี Subdirectory แล้วก็ใน Subdirectory มีไฟล์ซ่อนอยู่ ก็ให้นับรวมมาด้วย โดยไม่นับรวม Subdirectory นั้นๆ คำสั่งเป็นดังนี้ # find . -type f ./a.txt ./b.txt ./aa/aa.txt ./bb/bb.txt # find . -type f | wc -l 4 เป็นอันเสร็จพิธี…ที่มาก็มาจากเจ้ Goo นั้นแหละครับผม
How to create & build new kernel to CD.
by admin on December 8, 2007
เหอะๆๆ เอาอีกแล้วครับผม ได้รับหน้าที่ให้ลง Linux Slackware บนเครื่อง HP ProLiant BL20p G2 server บอกได้เลยว่าลงได้ยากสุดตีน (ก็กูไม่เคยลงนี่หว่า….สาด) เอ้า อย่าเพิ่งบ่นมาก…เพราะเดี๋ยวเราจะทำการ ลงไป บ่นไป แน่นอน… มาว่ากับปัญหากันก่อนครับ ปัญหาที่พบ ไม่สามารถพบ Disk ที่เป็น HP Smart Array ไม่สามารถ Boot จาก CD-Rom ที่ Connect ด้วย USB Port ไม่สามารถเห็น Card Lan ที่ติดตั้ง (มันเป็น card land ที่มีความเร็วเป็น Gigabit) แนวทางการแก้ปัญหา Compile Kernel ใหม่ให้ Support อุปกรณ์เหล่านั้น นำ Kernel ใหม่ที่ได้มา Build ใหม่ลงแผ่น [...]
Compile Kernel 2.6.20
by admin on December 8, 2007
จริงๆแล้วเรื่องนี้มันเกิดขึ้นมานานละ…ตั้งแต่โน้น 16 กุมภาพันธ์ 2550 มาอยู่ที่ทำงานใหม่ เค้าให้เราลง Linux Slackware นึกในใจ ก็ไม่น่าจะยากนะ ไอ้เราก็เคยลงมาบ้างแล้วนี่ ไม่ว่าจะเป็น Redhat, Ubuntu, Sun Solaris (อิๆ เหมือนจะภูมิใจ) แต่ปรากฏว่า งานนี้ ซัดไป 3 – 4 วัน ปัญหาเกิดจากอะไร เหอะๆๆ เท่าที่กลับไปนั่ง ไปนอน คิดดู ก็น่าจะมีสาเหตุดังนี้
Regular Expression on VIM
by admin on December 8, 2007
วันนี้ผมได้มีโอกาสได้ใช้ vim เป็นครั้งแรก หลังจากที่ใช้ vi มานาน แต่บอกตรงๆว่าก็ยังไม่เห็นความแตกต่างเท่าไหร่ แต่คงจะได้เห็นเร็วๆ นี้ มาวันนี้ ก็มีโอกาสได้รื้อฟื้น การใช้ vi ขั้นพื้นฐานต่างๆ ซึ่งบางอย่าง ผมเองก็เพิ่งรู้ เอ้อ..มันมีงี้ด้วยวุ้ย ก็เลยเอามาเล่าให้ฟัง อ่ะมาเริ่มกันเลยดีกว่า ก่อนอื่น เราคงต้องมารู้กันก่อนว่า vi/vim เวลาเราเข้าไปใช้งาน มันจะมีอยู่ด้วยกัน 2 mode คือ command mode อันนี้เป็น default mode เข้าไปปุ๊ป ก็เจอ mode นี้ปั๊ป insert mode อันนี้ก็เอาไว้ พิมพ์อย่างเดียว ในการ สลับการใช้งานระหว่าง cmd | ins mode นั้นก็สามารถสลับได้โดยใช้ ปุ่ม esc เรามาว่ากันที่ command mode กันดีกว่าครับ เพราะ insert [...]