新版本的fedora16服务配置指令已经发生了改变
例如ftp服务配置
service vsftpd start时出错信息如下
Redirecting to /bin/systemctl start vsftpd.service Failed toissue method call: Unit vsftpd.service failed to load: No such fileor directory. See system logs and 'systemctl status vsftpd.service'for details.
$ sudo systemctl enable vsftpd@.service
$ sudo systemctl status vsftpd@vsftpd.service
$ sudo systemctl start vsftpd@vsftpd.service
此外如果出现了某些错误,可以到ftp脚本配置目录下去查看配置脚本(切换到root状态下)
# cd
vsftpd.conf 配置文件
参考网页
http://ask.fedoraproject.org/question/242/unable-to-start-vsftpd-on-fedora-16
启动nfs服务时总是挂载不上,出现错误很多,如下
开nfs服务时,Failed to issue method call: Unit nfs.service failed toload: No such file or directory. See system logs and 'systemctlstatus nfs.service' for details.
mount时,mount.nfs: Connection timed out
showmount时,clnt_create: RPC: Timed out
解决方法,由于fedora 16下好多服务的配置已改变方法。如下命令
# systemctl statart nfs-server.service
# systemctl status nfs-server.service //服务状态
上面才是开启了nfs服务
之后就可以正常挂载了
参考网页
http://forums.fedoraforum.org/archive/index.php/t-272648.html
samba服务配置
# systemctl status smb.service //服务状态
# systemctl statart smb.service //启动服务
配置文件所在目录
图形化配置samba目录
桌面->application->other->samba