关闭

查看apt-get install文件安装到哪里

225人阅读 评论(0) 收藏 举报

背景:ECN4上做数据收集包括hddtemp,之前都是apt-get install hddtemp来完成的,然后ECN4上的网口用外网连接都无效,内网就可以,很是奇怪,但是内网可以通。这个问题暂时先不管,当前就是要ECN4上能读取hddtemp


方法:在ECN2上查看命令执行下载了哪些文件,然后通过内网从ECN2上拷贝到ECN4上。


ubuntu@cm1:~$ dpkg -L hddtemp
/.
/etc
/etc/default
/etc/logcheck
/etc/logcheck/ignore.d.server
/etc/logcheck/ignore.d.server/hddtemp
/etc/init.d
/etc/init.d/hddtemp
/etc/hddtemp.db
/usr
/usr/share
/usr/share/doc
/usr/share/doc/hddtemp
/usr/share/doc/hddtemp/contribs
/usr/share/doc/hddtemp/contribs/crash.c
/usr/share/doc/hddtemp/contribs/wminfo
/usr/share/doc/hddtemp/contribs/README
/usr/share/doc/hddtemp/contribs/hddtemp-all.sh
/usr/share/doc/hddtemp/contribs/analyze
/usr/share/doc/hddtemp/contribs/analyze/plot-field.pl
/usr/share/doc/hddtemp/contribs/analyze/graph-field.sh
/usr/share/doc/hddtemp/contribs/analyze/hddtemp_monitor.sh
/usr/share/doc/hddtemp/copyright
/usr/share/doc/hddtemp/README
/usr/share/doc/hddtemp/TODO
/usr/share/doc/hddtemp/changelog.Debian.gz
/usr/share/doc/hddtemp/README.Debian
/usr/share/locale
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/hddtemp.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/hddtemp.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/hddtemp.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/hddtemp.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/hddtemp.mo
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/hddtemp.8.gz
/usr/sbin
/usr/sbin/hddtemp

最后在ECN4上验证:hddtemp -n /dev/sda

输出29.

有效~哦也~

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:25372次
    • 积分:579
    • 等级:
    • 排名:千里之外
    • 原创:32篇
    • 转载:8篇
    • 译文:1篇
    • 评论:0条
    文章分类