Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit Cập nhật FreeBSD Ports Bộ sưu tập cho Phiên bản mới nhất với Security Update với Portmanager và 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 là một tiện ích FreeBSD rằng tự động hóa quá trình nâng cấp và quản lý các cảng mà không cần cài đặt FreeBSD hoặc hầu như không có sự can thiệp của người dùng khi cập nhật. Portmanager ensures that FreeBSD installed ports accurately reflect and update as of those available in the ports tree. Portmanager đảm bảo rằng FreeBSD cài đặt cổng phản ánh chính xác và cập nhật như của những người có sẵn trong cây cổng.
To use portmanager, the FreeBSD ports collection tree needs to be updated with Để sử dụng portmanager, các FreeBSD cổng bộ sưu tập cây cần phải được cập nhật với CVSup CVSup or hoặc Portsnap Portsnap . .
If your system hasn't have portmanager installed, portmanager can be found at /usr/ports/sysutils/portmanager. Nếu hệ thống của bạn đã không có portmanager cài đặt, portmanager có thể được tìm thấy tại / usr / cổng / sysutils / portmanager. Just go to the directory and run “make install clean” to install it. Chỉ cần đi đến thư mục và chạy "làm cho sạch sẽ cài đặt" để cài đặt nó.
To check the status of all ports and ports' dependencies installed on your system: Để kiểm tra tình trạng của tất cả các cảng biển và cảng 'phụ thuộc cài đặt trên hệ thống của bạn:
portmanager -s portmanager-s
To update all ports installed to up to date with your ports tree: Để cập nhật tất cả các cổng được cài đặt cho đến ngày với cây cổng của bạn:
portmanager -u portmanager-u
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. Trong khi đó, portaudit là một tiện ích để kiểm tra các cổng được cài đặt với một cơ sở dữ liệu của các lỗ hổng bảo mật được công bố để đảm bảo tính bảo mật của hệ thống là không bị tổn hại.
To install portaudit, use the following commands: Để cài đặt portaudit, sử dụng các lệnh sau đây:
To install the port: cd /usr/ports/security/portaudit/ && make install clean Để cài đặt cổng: cd / usr / ports / security / portaudit / & & make install sạch
To add the package: pkg_add -r portaudit Để thêm các gói: portaudit pkg_add-r
After installation, portaudit will fetch and update the security database automatically and include its reports in the output of the FreeBSD daily security run. Sau khi cài đặt, portaudit sẽ lấy và cập nhật cơ sở dữ liệu bảo mật tự động và bao gồm các báo cáo của nó tại đầu ra của chạy FreeBSD an ninh hàng ngày. Beside, before any ports installation or update, portaudit will check the ports' versions against any vulnerabilities and alerts you if there any security implications. Bên cạnh đó, trước khi cài đặt hoặc cập nhật các cảng, portaudit sẽ kiểm tra phiên bản của các cảng chống lại những rủi ro và sẽ cảnh báo bạn nếu có bất kỳ tác động bảo mật.
With portmanager and portaudit, the installed ports and applications in FreeBSD system can be updated easily and ensured of always free of security holes. Với portmanager và portaudit, các cổng được cài đặt và ứng dụng trong FreeBSD hệ thống có thể được cập nhật một cách dễ dàng và bảo đảm của luôn luôn miễn lỗ hổng bảo mật.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- Update FreeBSD Ports Collection Up to Date and Latest Cập nhật FreeBSD Ports Bộ sưu tập Tính đến ngày và mới nhất
- Using Portsnap to Update FreeBSD Ports Tree Collection Sử dụng Portsnap để cập nhật cây FreeBSD Ports Bộ sưu tập
- Searching for Application in FreeBSD's Ports Collection Tìm kiếm các ứng dụng trong FreeBSD Ports của Bộ sưu tập
- Portdowngrade – Downgrade to Previous Version of FreeBSD's Ports Portdowngrade - Downgrade đến trước Phiên bản của Ports của FreeBSD
- Easy Way to Upgrade FreeBSD's Ports Easy Way để nâng cấp của FreeBSD Ports
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) WordPress để tự động cập nhật Phiên bản mới nhất với tự động nâng cấp Plugin (WPAU)
- iPhone Firmware Software Update Version 1.0.2 Cập nhật phần mềm iPhone Firmware Phiên bản 1.0.2
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Cài đặt Web Server trong FreeBSD 6,0 với 2,2 Apache, MySQL 5.0 và PHP 5 - Phần 3
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Cài đặt Web Server trong FreeBSD 6,0 với 2,2 Apache, MySQL 5.0 và PHP 5 - Phần 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Cài đặt Web Server trong FreeBSD 6,0 với 2,2 Apache, MySQL 5.0 và PHP 5 - Phần 5










































April 19th, 2009 07:11 19 Tháng Tư 2009 07:11
This is the best site EVA! Đây là trang web tốt nhất EVA!
December 31st, 2007 13:44 Ngày 31 Tháng Mười Hai 2007 13:44
THANX for you info on portmanager ! THANX cho bạn thông tin về portmanager! It works GREAT ! It works GREAT! Check my Linux , BSD blog ! Kiểm tra của tôi Linux, BSD blog!
Website up above ! Website lên trên!
December 11th, 2007 05:55 Ngày 11 tháng 12 2007 05:55
@ medigeek @ Medigeek
A reboot wouldn't have been necessary. Một khởi động lại sẽ không có được cần thiết. The shell only needed to update its path cache. Trình bao này chỉ cần thiết để cập nhật bộ nhớ cache con đường của nó. A “rehash” would have done just that. Một rehash "" đã có thể thực hiện điều đó.
October 13th, 2007 20:41 Ngày 13 tháng 10 năm 2007 20:41
Well, after installing portmanager, I had to reboot the system in order to use the command, otherwise it said “command not found” Vâng, sau khi cài đặt portmanager, tôi đã phải khởi động lại hệ thống để sử dụng lệnh, nếu không nó nói "không tìm thấy lệnh"
Love the article! Love the article! thanks cảm ơn