1 / 10

Cấu hình Samba & NTP

Cấu hình Samba & NTP. samba share add windows printer ntp configuration. linux samba. Chia sẻ tài nguyên với windows /etc/samba/sbm.conf Step 1 : System settings->Server Settings -> Samba Step 2 : Preferences -> Server Settings Nhập Workgroup :

Download Presentation

Cấu hình Samba & NTP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cấu hình Samba & NTP • samba share • add windows printer • ntp configuration

  2. linux samba • Chia sẻ tài nguyên với windows • /etc/samba/sbm.conf Step 1 : System settings->Server Settings -> Samba Step 2 : Preferences -> Server Settings Nhập Workgroup : Step 3 : Preferences -> Samba users -> Add user Nhập Windows Username Samba Password Step 4 : Add a Samba Share : Thư mục cần add Step 5 : Applications -> System Settings -> Server Settings ->Services Chọn smb service sau đó save và Restart

  3. Linux 2 Windows printer • System Settings -> Printing, chonj New • Add a new print queue , chọn Forward • Queue name , chọn printer ( default ) • Select a queue type , chọn Networked Windows (SMB) • Bấm Specify... • Workgroup : Khai báo Workgroup (AMSC) • Server : điạ chỉ máy in mạng • Share : Tên máy in được share trên máy Win • Username/Password : Trên máy win • Printer Model : chọn Raw Print Queue

  4. Linux 2 Windows printer • lpq : Hiển thị trạng thái printer queue • lprm : Huỷ bỏ tác vụ in

  5. NTP Server site ( LINUX BOX) • file /etc/ntp.conf restrict 127.0.0.1 restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift broadcastdelay 0.008 authenticate yes keys /etc/ntp/keys • Start ntpd service

  6. NTP Server site ( LINUX BOX) • Date/Time Properties • uncheck Enable Network time Protocol • Timezone : Europe/London Great Britain • profile : export TZ=UTC

  7. NTP Client site • setup achron5.exe • hosts : server ip address • protocol : SNTP v1 • Date/Time properties • timezone = (GMT)

  8. NTP Client site

  9. NTP Client site

  10. NTP Client site • setup Timesync

More Related