1 使用代理连接Internet(如果服务器可直接访问Internet,忽略此步骤.)(确保代理服务器能访问Internet以及正确解析域名.)
export http_proxy=http://xxx.xxx.xxx.xxx:3128
2 添加zypper源,并搜索包.
linux-z3zj:/etc/zypp # zypper addrepo -G http://widehat.opensuse.org/opensuse/repositories/network:/utilities/SLE_11_SP4/ ssssss
Adding repository 'ssssss' [done]
Repository 'ssssss' successfully added
Enabled: Yes
Autorefresh: No
GPG check: No
URI: http://widehat.opensuse.org/opensuse/repositories/network:/utilities/SLE_11_SP4/
*********************************
2019年7月5日检查以上repository发现URL竟然失效,不靠谱.
重新搜索了opensuse官方源,贴如下.亲测可用.-------------------------------------强烈推荐
[home_aginies]
name=aginies's Home Project (SLE_11_SP4)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/aginies/SLE_11_SP4/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/aginies/SLE_11_SP4/repodata/repomd.xml.key
enabled=1
以下repository亲测可用,可用包更丰富,-----------------强烈推荐.
-------------------------------------------2019-08-27更新-----
zypper addrepo -G http://download.opensuse.org/repositories/home:/pclo:/uyuni-client-sles11/SLE_11_SP4 SLE11SP4
----------------------------------------
在此不得不吐槽一下 www.baidu.com 这样一个神奇的网站.搜索了两个小时无法找到可靠的repository地址.
一分钟google搜索,便获取到了如上地址....
*********************************
linux-z3zj:/etc/zypp #
linux-z3zj:/etc/zypp # zypper ls
# | Alias | Name | Enabled | Refresh | Type
--+--------+--------+---------+---------+-----
1 | ssssss | ssssss | Yes | No | NONE
linux-z3zj:/etc/zypp #
linux-z3zj:/etc/zypp # zypper search dsniff
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+--------------------+-------------------------------------------------+-----------
| dsniff | Sniffing Utilities for Network Security Testing | package
| dsniff | Sniffing Utilities for Network Security Testing | srcpackage
| dsniff-debuginfo | Debug information for package dsniff | package
| dsniff-debugsource | Debug sources for package dsniff | package
linux-z3zj:/etc/zypp #
3 安装dsndiff包.
linux-z3zj:/etc/zypp # zypper install dsniff
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
dsniff
The following package is not supported by its vendor:
dsniff
1 new package to install.
Overall download size: 99.0 KiB. After the operation, additional 346.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package dsniff-2.4_0.1-6.1.x86_64 (1/1), 99.0 KiB (346.0 KiB unpacked)
Retrieving: dsniff-2.4_0.1-6.1.x86_64.rpm [done (13.3 KiB/s)]
Installing: dsniff-2.4_0.1-6.1 [done]
linux-z3zj:/etc/zypp #
4 检查tcpkill包是否能被正常找到 tcp 接 tab键.
linux-z3zj:/etc/zypp # tcp
tcpd tcpdchk tcpdmatch tcpdump tcpkill tcpnice
linux-z3zj:/etc/zypp # tcp