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. ·Î À̵¿ÇÏ¿© µð·ºÅ丮 ¹× ½ÇÇà "À» ¼³Ä¡Çϴ û¼Ò"¸¦ ¼³Ä¡ÇÕ´Ï´Ù.
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 - 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. ÇÑÆí, portauditÀÌ À¯Æ¿¸®Æ¼°¡ µ¥ÀÌÅͺ£À̽º¿¡ ´ëÇØ Æ÷Æ®¸¦ ¼³Ä¡¸¦ È®ÀÎÇÕ´Ï´Ù ÃâÆÇ º¸¾È Ãë¾àÁ¡ÀÇ º¸¾ÈÀ» º¸ÀåÇϱâ À§ÇØ Å¸ÇùÀÌ ½Ã½ºÅÛÀº ¾ø´Ù.
To install portaudit, use the following commands: portauditÀ» ¼³Ä¡ÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ¸í·É :
To install the port: cd /usr/ports/security/portaudit/ && make install clean ¸¦ ¼³Ä¡ÇÏ´Â Æ÷Æ® : cd / usr / Æ÷Æ® / º¸¾È / portaudit / & &À» ¼³Ä¡Çϴ û¼Ò
To add the package: pkg_add -r portaudit ¸¦ Ãß°¡ÇÏ´Â ÆÐŰÁö : pkg_add - ¿¬±¸ 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. portaudit¿Í portmanagerÇϰí, ¼³Ä¡ Æ÷Æ® ¹× ÀÀ¿ë ÇÁ·Î±×·¥À» ½±°Ô ¾÷µ¥ÀÌÆ®ÇÒ ¼öÀÖ½À´Ï´Ù º¸Àå 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 freebsd Æ÷Æ®¸¦ ¾÷µ¥ÀÌ Æ®¸¦ »ç¿ëÇÏ¿© Æ®¸® Ä÷º¼Ç portsnap
- 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 freebsd 6.0°ú ¾ÆÆÄÄ¡ À¥ ¼¹ö¿¡ ¼³Ä¡ÇÏ´Â 2.2, mysql 5.0°ú php 5 - Á¦ 3
- Portdowngrade - Downgrade to Previous Version of FreeBSD¡¯s Ports portdowngrade - freebsdÀÇ Æ÷Æ®ÀÇ ÀÌÀü ¹öÀüÀ¸·Î ´Ù¿î ±×·¹À̵å
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 freebsd 6.0°ú ¾ÆÆÄÄ¡ À¥ ¼¹ö¿¡ ¼³Ä¡ÇÏ´Â 2.2, 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 ¾÷µ¥ÀÌ Æ®¸¦ ¼³Ä¡ÇÏÁö ¸øÇß½À´Ï´Ù 905474, 913446¿Í ¿À·ù Äڵ带 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ÀÏ 05:55
@ medigeek @ medigeek
A reboot wouldn¡¯t have been necessary. ¸¦ ´Ù½Ã ºÎÆÃÀ̵ÇÁö ¾Ê¾ÒÀ» ÇÊ¿äÇÕ´Ï´Ù. The shell only needed to update its path cache. ±× °æ·Î¸¦ ij½Ã¸¦ ¾÷µ¥ÀÌ Æ® ½©¿¡¸¸ ÇÊ¿äÇÕ´Ï´Ù. A ¡°rehash¡± would have done just that. "°³ÀÛ"´Â ÇÑ ´ÜÁö.
December 31st, 2007 13:44 2007³â 12¿ù 31ÀÏ 13:44
THANX for you info on portmanager ! °í¸¿½À´Ï´ÙÀ» Á¤º¸¸¦ portmanager! It works GREAT ! È¿°ú°¡ ÃÖ°íÀÔ´Ï´Ù! Check my Linux , BSD blog ! üũ ³ªÀÇ ¸®´ª½º, bsd ºí·Î±×!
Website up above ! À¥»çÀÌÆ® À§¿¡¼!