แสดงบทความที่มีป้ายกำกับ Samba แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Samba แสดงบทความทั้งหมด

วันพฤหัสบดี, สิงหาคม 16, 2550

ติดตั้ง Webmin ใน Solaris 10 เพื่อความสะดวกในการคอนฟิก Samba

วันนี้คุยกับเด็กรุ่นน้องที่ำทำงานด้วยกัน เรื่องการลงแซมบ้าใน Solaris 10 ซึ่งใน Solaris 10 นั้นมันมี Samba มาให้อยู่แล้ว เพียงแต่คอนฟิกยากเล็กน้อยเพราะยังไม่ได้ศึกษา SMF เท่าไหร่
สรุปก็คือใช้ Webmin ง่ายดี ใช้แอ๊ดมินได้หลายๆอย่างด้วย

บันทึกการติดตั้ง
ref: http://www.webmin.com/solaris.html

  1. ดาวน์โหลดแพคเกจของ Solaris มาซะ
  2. # pkgadd -d webmin-1.360.pkg
  3. แล้วก็คอนฟิกอีกเล็กน้อย โดยเพิ่ม user หรือ sync มันมาจาก unix account ซะ
  4. แล้วก็เพิ่มไดเรคทอรี่ที่จะแชร์ลงไป
  5. คอนฟิก อื่นๆ ตามสมควร อาจดูที่ smb.conf เพื่อความชัวร์
  6. คลิก รีสตาร์ท Samba server

วันศุกร์, เมษายน 13, 2550

ว่าด้วยเรื่อง Samba บน OpenSolaris or Solaris 10

นึกอยากจะใช้ ๏แซมบ้า๛ บนเครื่อง๏โอเพ่นโซลาริส๛ เลยลองจัดการดูจนเวิร์ค
สรุปสั้นๆ ดังนี้
  • Solaris 10 and opensolaris already include Samba. No need to get it from sunfreeware.
  • The init process has been changed from Solaris 9 and previous versions. Sun introduced SMF (Service Management Facility) which is believed that, once mastered, it'll be better than the old one. I havn't mastered that so I can't tell anything about it.
  • Samba's binaries are in /usr/sfw/bin
  • Samba's config is in /etc/sfw/smb.conf
  • What you need is create smbpasswd for user(s) and edit smb.conf for your needs.
  • Use inetconv -i /etc/inet/inetd.conf to convert the inetd configuation to SMF service manifest, and import them to smf repository
Other related commands:
  • svcs -vx can be used to check the status of a service
  • svcconfig import .xml : to import a manifest for a service
  • svcadm enable : to enable a service
Memo:
- You can view installed files of a package by : less /var/sadm/pkg/SMCsamba/.......