วันศุกร์, เมษายน 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/.......

ไม่มีความคิดเห็น: