Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit更新FreeBSD的港口收集到最新版本,与安全性更新与portmanager和portaudit
Portmanager is an FreeBSD utility that automates the process of upgrading and managing installed FreeBSD ports without or almost without user intervention when updating. portmanager是一个FreeBSD的实用工具,自动化升级过程和管理安装FreeBSD的港口,没有或几乎无需用户干预时,敬请谅解! Portmanager ensures that FreeBSD installed ports accurately reflect and update as of those available in the ports tree. portmanager确保FreeBSD的安装港口,准确地反映和更新这些可在港口的树。
To use portmanager, the FreeBSD ports collection tree needs to be updated with使用portmanager , FreeBSD的港口收集树需要更新与 CVSup cvsup or或 Portsnap portsnap . 。
If your system hasn’t have portmanager installed, portmanager can be found at /usr/ports/sysutils/portmanager.如果你的系统有没有portmanager安装, portmanager可以发现在/ usr /港口/ sysutils / portmanager 。 Just go to the directory and run “make install clean” to install it.刚去的目录并运行“ make install的干净”来安装它。
To check the status of all ports and ports’ dependencies installed on your system:检查的地位,所有港口和港口的相依性安装在您的系统:
portmanager -s portmanager -
To update all ports installed to up to date with your ports tree:要更新所有港口安装直至目前为止,与您的港口树:
portmanager -u portmanager铀
Meanwhile, portaudit is a utility that checks the installed ports against a database of published security vulnerabilities to ensure the security of the system is not compromised.与此同时, portaudit是一种实用工具,检查安装港口对一个数据库,出版的安全漏洞,以确保系统的安全性是不会受到损害。
To install portaudit, use the following commands:安装portaudit ,请使用以下命令:
To install the port: cd /usr/ports/security/portaudit/ && make install clean安装端口:裁谈会在/ usr /港口/安全/ portaudit / & & make install的清洁
To add the package: pkg_add -r portaudit添加包: pkg_add - R的portaudit
After installation, portaudit will fetch and update the security database automatically and include its reports in the output of the FreeBSD daily security run.安装完毕后, portaudit将市值和更新安全数据库自动和包括在其报告中输出的FreeBSD的日常安全运行。 Beside, before any ports installation or update, portaudit will check the ports’ versions against any vulnerabilities and alerts you if there any security implications.旁边,之前的任何港口安装或更新, portaudit将检查港口的版本,反对任何的脆弱性和提醒您如果有任何安全方面的影响。
With portmanager and portaudit, the installed ports and applications in FreeBSD system can be updated easily and ensured of always free of security holes.与portmanager和portaudit ,已安装的港口和应用在FreeBSD的系统可以更新容易,并确保永远免费的安全漏洞。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article原来的英语文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Easy Way to Upgrade FreeBSD’s Ports简单的方法来升级的FreeBSD的港口
- Using Portsnap to Update FreeBSD Ports Tree Collection使用portsnap更新FreeBSD的港口树收集
- Searching for Application in FreeBSD’s Ports Collection搜寻的应用在FreeBSD上的港口收集
- Update FreeBSD Ports Collection Up to Date and Latest更新FreeBSD的港口收集到的日期和最新
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5 -第3部分
- Portdowngrade - Downgrade to Previous Version of FreeBSD’s Ports portdowngrade -降级为以前版本的F reeBSD上的港口
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4安装Web服务器在FreeBSD的6.0与2.2的Apache , MySQL 5.0的和PHP 5 -第4部分
- Sony PS3 Firmware Version 1.92索尼PS3的固件版本1.92
- iPhone Firmware Software Update Version 1.0.2 iphone固件软件更新版本1.0.2
- Windows Update KB905474 and KB913446 Installation Failed with Error Code 0×80242006在Windows Update 905474和KB913446发布安装失败,错误码0 × 80242006

































October 13th, 2007 20:41 2007年10月13日20时41分
Well, after installing portmanager, I had to reboot the system in order to use the command, otherwise it said “command not found”那么,安装后portmanager ,我不得不重新启动系统,才能使用该命令,否则它说: “命令没有发现”
Love the article!爱的文章! thanks谢谢
December 11th, 2007 05:55 2007年12月11日5时55分
@ medigeek @ medigeek
A reboot wouldn’t have been necessary.重新开机便不会被必要的。 The shell only needed to update its path cache.蚬壳公司只需要更新其路径缓存。 A “rehash” would have done just that. “翻版”这样做,只是。
December 31st, 2007 13:44 2007年12月31日13时44分
THANX for you info on portmanager ! thanx为您的信息portmanager ! It works GREAT !它的伟大工程! Check my Linux , BSD blog !检查我的Linux , BSD的博客!
Website up above !网站之上!