红联Linux门户
Linux帮助

怎么知道自己的系统有没有装上samba,要是没装上去哪里下载?

发布时间:2008-04-09 21:57:20来源:红联作者:gxwbj20
或者怎么把原有的删除掉,重新安装一次...

[ 本帖最后由 gxwbj20 于 2008-4-9 22:08 编辑 ]
文章评论

共有 4 条评论

  1. gxwbj20 于 2008-04-09 23:38:06发表:

    [root@localhost ~]# ps -aux | grep smb
    Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
    root 3508 0.0 0.0 5416 676 pts/0 S+ 23:31 0:00 grep smb
    [root@localhost ~]# setup
    [root@localhost ~]# /etc/rc.d/init.d/smb start
    启动 SMB 服务: [确定]
    哈哈!虽然不懂Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ是什么意思,可是SMB是启动了,原来刚没有转到etc/rc.d/init.d/smb目录下。希望这样可以搭建好,继续努力中,大虾们有空的话帮忙解析下Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ这是什么意思,感谢了。

  2. gxwbj20 于 2008-04-09 23:00:01发表:

    我查询显示结果是这样的
    [root@localhost ~]# rpm -qa samba*
    samba-common-3.0.26a-6.fc8
    samba-client-3.0.26a-6.fc8
    我查了帖子说要运行它的命令,我输入了结果是这样的:
    [root@localhost ~]# ps -aux | grep smb
    Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
    root 2766 0.0 0.0 5416 672 pts/0 S+ 22:57 0:00 grep smb
    这是什么意思阿。。。。。。是我命令打错了?

  3. gxwbj20 于 2008-04-09 22:54:16发表:

    3Q 我试下。

  4. 奶茶dsk 于 2008-04-09 22:34:46发表:

    查询:rpm -qa samba*
    删除:rpm -e filename(要删除的软件包名称,不要后缀)
    安装:rpm -ivh filename(要安装的软件包)