readme

来自「一个开源的NTP客户端程序」· 代码 · 共 63 行

TXT
63
字号
vsntp SysV init.d start-up scripts READMETABLE OF CONTENTS  * Preface  * Debian Based Systems  * Red Hat Based SystemsPREFACE    Two SysV-styled init.d scripts are supplied with vsntp from 2.0.0,together with one configuration file.  One of them is for Debian basedsystems (Knoppix, Ubuntu... etc.)  The other is for Red Hat based systems(Fedora, Mandriva... etc.)  They are not installed by default.  You mayinstall them so that vsntp will start as a daemon after each reboot.    Installion is easy.  You have to be root.DEBIAN BASED SYSTEMS    Copy the files to their appropriate directory:      # cp vsntp.debian /etc/init.d/vsntp      # cp vsntp /etc/default/vsntp    Edit /etc/default/vsntp to accommodate your environment.  Rememberto uncomment the line with "SERVER=" and change it to your local NTPserver.  Once finished, run:      # /etc/init.d/vsntp start    And watch the syslog.  vsntp shall start working.    To run it every time the system boots, use updat-rc.d:      # update-rc.d vsntp defaults 23    23 is taken from the start/stop order of the Debian ntp package.You may set it to your preferred order.RED HAT BASED SYSTEMS    Copy the files to their appropriate directory:      # cp vsntp.redhat /etc/init.d/vsntp      # cp vsntp /etc/sysconfig/vsntp    Edit /etc/sysconfig/vsntp to accommodate your environment.  Rememberto uncomment the line with "SERVER=" and change it to your local NTPserver.  Once finished, run:      # /etc/init.d/vsntp start    And watch the syslog.  vsntp shall start working.    To run it every time the system boots, use chkconfig:      # chkconfig --add vsntpimacatimacat@mail.imacat.idv.tw2007-03-30

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?