文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Ubuntu安装samba-swat

Ubuntu安装samba-swat

时间:2007-03-14  来源:zrover

1、apt-get install xinetd swat依赖xineed才能正常工作
2、sudo apt-get samba samba-common smbfs smbclient swat
3、修改inetd.conf
将 #<off># swat stream tcp nowait.400 root /usr/sbin/tcpd \ /usr/sbin/swat
改为
swat stream tcp nowait.400 root /usr/sbin/tcpd \ /usr/sbin/swat
4、新建swat文件 sudo vi /etc/xinetd.d/swat
内容如下:
代码:

# description: SAMBA SWAT
service swat
{
disable = no
socket_type = stream
protocol = tcp
#should use a more limited user here
user = root
wait = no
server = /usr/sbin/swat
}

5、sudo dpkg-reconfigure xinetd
6、查看swat是否运行
运行命令: netstat -lt
如果出现tcp 0 0 *:swat *:* LISTEN,表示swat配置运行成功,正在监听
7、 http://localhost:901 大功告成!
相关阅读 更多 +
排行榜 更多 +
汉房手机版

汉房手机版

生活实用 下载
瓜子二手车检瓜子评估检测系统

瓜子二手车检瓜子评估检测系统

生活实用 下载
电e宝

电e宝

生活实用 下载