命令操作依次是:
sudo apt-get install xinetd
- fupeng@ubuntu:/etc$ cd xinetd.d
- fupeng@ubuntu:/etc/xinetd.d$ ls
- chargen daytime discard echo time
- fupeng@ubuntu:/etc/xinetd.d$ vi daytime
- fupeng@ubuntu:/etc/xinetd.d$ gedit daytime
- fupeng@ubuntu:/etc/xinetd.d$ chmod 777 daytime
- chmod: changing permissions of `daytime': Operation not permitted
- fupeng@ubuntu:/etc/xinetd.d$ sudo chmod 777 daytime
- fupeng@ubuntu:/etc/xinetd.d$ gedit daytime
- fupeng@ubuntu:/etc/xinetd.d$ sudo /etc/init.d/xinetd start
- * Starting internet superserver xinetd [fail]
- fupeng@ubuntu:/etc/xinetd.d$ sudo /etc/init.d/xinetd start
- [sudo] password for fupeng:
- * Starting internet superserver xinetd [fail]
- fupeng@ubuntu:/etc/xinetd.d$ sudo /etc/init.d/xinetd restart
- * Stopping internet superserver xinetd [ OK ]
- * Starting internet superserver xinetd [ OK ]
- fupeng@ubuntu:/etc/xinetd.d$
- fupeng@ubuntu:/etc/xinetd.d$ gedit daytime
是将此文件中的两个 disable 的值 yes 改为 no 。
本文介绍在Ubuntu系统中如何通过Xinetd配置daytime服务。具体步骤包括安装Xinetd、修改daytime配置文件使其启用,并重启Xinetd服务。
2336

被折叠的 条评论
为什么被折叠?



