|
- [root@instructor ~]# date +%s
- 1576415246
复制代码
- [root@instructor ~]# bc
- bc 1.06.95
- Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
- This is free software with ABSOLUTELY NO WARRANTY.
- For details type `warranty'.
- scale=5
- 5/3
- 1.66666
复制代码- [root@instructor ~]# service dhcpd status
- dhcpd (pid 2447) is running...
- [root@instructor ~]# service xinetd status
- xinetd (pid 2418) is running...
- [root@instructor ~]# service named status
- rndc: neither /etc/rndc.conf nor /etc/rndc.key was found
- named (pid 1750) is running...
- [root@instructor ~]# service nfs status
- rpc.svcgssd is stopped
- rpc.mountd (pid 2134) is running...
- nfsd (pid 2131 2130 2129 2128 2127 2126 2125 2124) is running...
- rpc.rquotad (pid 2118) is running...
- [root@instructor ~]# service rpcbind status
- rpcbind (pid 1773) is running...
- [root@instructor ~]# service httpd status
- httpd (pid 2550) is running...
- [root@instructor ~]# service vsftpd status
- vsftpd (pid 2437) is running...
复制代码- [root@instructor dhcp]# service dhcpd restart
- Shutting down dhcpd: [ OK ]
- Starting dhcpd: [ OK ]
- [root@instructor dhcp]# tail -f /var/log/messages
- Dec 15 21:48:42 instructor dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Dec 15 21:48:42 instructor dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in.
- Dec 15 21:48:42 instructor dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
- Dec 15 21:48:42 instructor dhcpd: Wrote 0 class decls to leases file.
- Dec 15 21:48:42 instructor dhcpd: Wrote 0 deleted host decls to leases file.
- Dec 15 21:48:42 instructor dhcpd: Wrote 0 new dynamic host decls to leases file.
- Dec 15 21:48:42 instructor dhcpd: Wrote 13 leases to leases file.
- Dec 15 21:48:42 instructor dhcpd: Listening on LPF/br0/00:0c:29:e6:58:98/192.168.0.0/24
- Dec 15 21:48:42 instructor dhcpd: Sending on LPF/br0/00:0c:29:e6:58:98/192.168.0.0/24
- Dec 15 21:48:42 instructor dhcpd: Sending on Socket/fallback/fallback-net
- ^[[B^C
- [root@instructor dhcp]# tail -n 30 -f /var/log/messages
复制代码- /var/lib/tftpboot/pxelinux.cfg
- [root@instructor pxelinux.cfg]#
复制代码- /var/www/html
- [root@instructor html]# ls
- course kick lab multiks.php rhce vremote.cfg workstation.cfg
- courses ksupload.html leaser printers rhsurvey vremote.php
- ipa ksupload.php metadestroy.cfg pub small.cfg vserver.php
- [root@instructor html]# vim workstation.cfg
复制代码
|
|