ข่าว: ข่าวประกาศ

  • 05 พฤษภาคม 2024, 15:26:24

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ผู้เขียน หัวข้อ: มาศึกษาโปรแกรม Plawan Central Log กัน  (อ่าน 24660 ครั้ง)

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
มาศึกษาโปรแกรม Plawan Central Log กัน
« เมื่อ: 11 กรกฎาคม 2008, 22:38:06 »
วันนี้ก็ได้ทดลองโหลด Plawan Central Log มาลงติดตั้งเล่นดู

เห็นไฟล์ตอน download ก็รู้สึกแปลกใจอยู่

http://203.149.32.15/iso/plawan-8.04tls-beta1.iso

เดาเอาว่าน่าจะเป็น Linux 8.04 LTS ก็ลองติดตั้งดูก็ใช่เลย เหมือน Ubuntu เลย

ก็ดูแล้วน่าจะใช้ตัว ebox เป็นตัวช่วยจัดการ ใว้ศึกษาได้ผลอย่างไรจะนำมาวิเคราะห์อีกทีครับ
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
Re: มาศึกษาโปรแกรม Plawan Central Log กัน
« ตอบกลับ #1 เมื่อ: 11 กรกฎาคม 2008, 22:49:20 »
วิธีติดตั้ง ebox

apt-get install ebox
apt-get install ^ebox-.*

*** ebox-network รองรับ vlan ด้วยครับ
« แก้ไขครั้งสุดท้าย: 11 กรกฎาคม 2008, 23:45:18 โดย admin »
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
Re: มาศึกษาโปรแกรม Plawan Central Log กัน
« ตอบกลับ #2 เมื่อ: 11 กรกฎาคม 2008, 23:23:46 »
น่าใช้ดีครับ ตัว ebox รู้สึกสะดวกกว่า webmin

ตัว version WebInterface ก็คงออกมาประมาณนี้แหละครับ

ศึกษาการติดตั้ง ebox เพิ่มเติมได้จาก

https://help.ubuntu.com/community/eBox
« แก้ไขครั้งสุดท้าย: 11 กรกฎาคม 2008, 23:43:34 โดย admin »
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
Re: มาศึกษาโปรแกรม Plawan Central Log กัน
« ตอบกลับ #3 เมื่อ: 14 กรกฎาคม 2008, 07:31:42 »
สำหรับผู้ที่เคยติดตั้ง Plawan แล้วนั้น จะเห็นว่า Plawan จะนำ Ubuntu 8.04 มาพัฒนาเป็นโปรแกรมติดตั้งของตัวเอง

ผมเลยนำวิธีทำแผ่นติดตั้ง หรือ Custom Ubuntu distro มาฝากกัน 
พอดีผมกำลังศึกษานำมาพัฒนาใน version WebInterface

How to create a custom Ubuntu distro

Reff : http://www.theyagar.com/2006/12/31/how-to-create-a-custom-ubuntu-distro/

Posted on 31st December 2006 by Taggy 1

*Get the packaged you need
sudo apt-get install squahfs-tools mkisofs

*Load the squashfs
sudo modproble squashfs

create a iso image of Dapper CD
* confirm that cdrom is not mounted ,if it is then
sudo umount /cdrom

* dd if /dev/hdc of=/pathtoiso/image.iso
else dd if /dev/cdrom of=/pathtoiso/image.iso

* Create a working directory
mkdir ~/custom

* move the iso to custom
mv /pathtoiso/image.iso ~/custom
cd ~/custom

* mount the image.iso
mkdir mnt
sudo mount -o loop image.iso mnt

* get the contents of iso in to a local dir
mkdir extract
rsync –exclude=/casper/filesystem.squashfs -a mnt/ extract

*Mount squashfs
mkdir squahfs
sudo mount -t squashfs -o loop mnt/casper/filesystem.squashfs squashfs
mkdir tmp
sudo cp -r squashfs/* edit

*Mount the root
sudo chroot edit
mount -t proc none /proc
mount -t sysfs none /sys
export HOME=/root

*Customization
Now you have all the settings ready and you can readily customise by apt-get
for eg, to add mplayer
sudo apt-get install mplayer

*The default backgrounds and splashscreens can be simpley copied .

*Edit LiveCD user
sudo vi edit/usr/share/initramfs-tools/scripts/casper-bottom/10adduser
sudo vi edit/usr/share/initramfs-tools/scripts/casper

*Cleanup
rm -rf /tmp/*
umount /proc
umount /sys
exit

chmod +w extraxt/casper/filesystem.manifest
sudo chroot edit dpkg-query -W –showformat=’${Package} ${Version}\n’ > extract/casper/filesystem.manifest
sudo cp extract/casper/filesystem.manifest extract/casper/filesystem.manifest-desktop
sudo sed -ie ‘/ubiquity/d’ extract/casper/filesystem.manifest-desktop
sudo mksquashfs edit extract/casper/filesystem.squashfs
sudo vim extract-cd/README.diskdefines

*Generate new md5sum
sudo -s
rm extract/md5sum.txt
(cd extract && find . -type f -print0 | xargs -0 md5sum > md5sum.txt)
exit

*Create the iso
cd extract
sudo mkisofs -r -V “$IMAGE_NAME” -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../custom.iso .

*You can test the cd by
qemu -cdrom custom.iso -boot d

*Burn the iso using k3b or nautilus-cd-burner
or
cdrecord dev=/dev/hdc custom.iso


เพิ่มเติมสำหรับเวป ubuntu

Reff : https://help.ubuntu.com/community/LiveCDCustomization?action=show&redirect=LiveCDCustomization%2F6.06

Reff : https://help.ubuntu.com/community/InstallCDCustomization

หรือใช้โปรแกรม Reconstructor 2.7 น่าจะง่ายกว่า เป็น Graphic Mode
« แก้ไขครั้งสุดท้าย: 14 กรกฎาคม 2008, 09:48:17 โดย admin »
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>