Skip to content


Install Portaudit dan Portupgrade untuk Memudahkan Manajemen Ports

Install portaudit

server# cd /usr/ports/ports-mgmt/portaudit
server# make
server# make install
server# make clean

Install portupgrade

server# cd /usr/ports/ports-mgmt/portupgrade
server# make config
server# make


Ikuti gambar berikut saat dikonfirmasi.

install-portupgrade-01

install-portupgrade-02

install-portupgrade-03

install-portupgrade-04

server# make install
server# make clean


server# /usr/local/sbin/pkgdb -F

—> Checking the package registry database
[Rebuilding the pkgdb
in /var/db/pkg ... - 17 packages found (-0 +17) ................. done]

server# /usr/local/sbin/portaudit -Fda

auditfile.tbz 100% of 57 kB 39 kBps
New database installed.
Database created: Mon Sep 7 19:25:02 WIT 2009
0 problem(s) in your installed packages found.

server# pkg_version -v | grep need

Melihat paket-paket yang telah ter-install :

server# pkg_info

autoconf-2.62 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1 GNU Standards-compliant Makefile generator (1.10)
automake-wrapper-20071109 Wrapper script for GNU automake
cvsup-without-gui-16.1h_4 File distribution system optimized for CVS (non-GUI version
ezm3-1.2_1 Easier, more portable Modula-3 distribution for building CV
gettext-0.17_1 GNU gettext package
gmake-3.81_3 GNU version of ‘make’ utility
help2man-1.36.4_3 Automatically generating simple manual pages from program o
libiconv-1.13.1 A character set conversion library
libtool-2.2.6a Generic shared library support script
m4-1.4.13,1 GNU m4
p5-gettext-1.05_2 Message handling functions
perl-5.8.9_3 Practical Extraction and Report Language
portaudit-0.5.13 Checks installed ports against a list of security vulnerabi
portupgrade-2.4.6_3,2 FreeBSD ports/packages administration and management tool s
ruby-1.8.7.160_4,1 An object-oriented interpreted scripting language

Install Portaudit dan Portupgrade selesai.


Merawat dan Melakukan Update Paket-Paket

server# postsnap fetch
server#  portsnap update
server#  pkgdb -F
server#  portaudit -Fda
server#  pkg_version -v | grep "needs updating"

Akan terlihat ports-ports mana saja yang telah ada update versi terbarunya, contoh:

mhash-0.9.9 < needs updating (port has 0.9.9.9)
python26-2.6.2_2 < needs updating (port has 2.6.2_3)

Lakukan update ports tersebut dengan perintah:

server# portupgrade -R mhash python26

Setelah update selesai, bersihkan Ports Tree

server# portsclean -C

Dan hapus ports source yang di-donwload

server# rm -fR /usr/ports/distfiles/*

Selesai, proses perawatan dan updating ports dapat dilakukan setiap hari. Sehingga aplikasi yang berjalan di server adalah aplikasi-aplikasi yang sudah stable dan terbaru.

Share

Posted in FreeBSD.

Tagged with , , , .

The On Demand Global Workforce - oDesk


4 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Install dan Konfigurasi Bash Shell pada FreeBSD » devilbox.info - linked to this post on April 20, 2011

    [...] Lakukan update Ports Tree terlebih dahulu seperti pada bagian Install Portaudit dan Portupgrade untuk Memudahkan Manajemen Ports [...]

  2. Instalasi Free BSD « Sinichireina Blog's linked to this post on May 25, 2011

    [...] Install Portaudit dan Portupgrade untuk Memudahkan Manajemen Ports [...]

  3. Instalasi Free BSD « Share Knowledge linked to this post on July 4, 2011

    [...] print? [...]

  4. Instalasi Free BSD « Share Knowledge linked to this post on July 4, 2011

    [...] portupgrade view source [...]



Some HTML is OK

or, reply to this post via trackback.