Install Dan Update Ports Collection dengan Portsnap

Oleh : Ogev Gustav        Pada artikel terdahulu, Saya pernah menulis menganai upgrade ports menggunakan cvsup, dimana cara tersebut tidak t...

Oleh : Ogev Gustav
   
   Pada artikel terdahulu, Saya pernah menulis menganai upgrade ports menggunakan cvsup, dimana cara tersebut tidak terlalu mudah untuk dilakukan, terutama bagi mereka yang masih baru belajar FREEBSD. Setelah sekian lama Saya perhatikan di sela sela kesibukan pekerjaan , Saya mencoba kembali berbagi kepada semua FreeBSD user, bagaimana cara install ports collection dan mengupdate nya dengan cara yang sederhana dan simple.
Baiklah Kita mulai tahapan tahapan nya.

1. Login sebagai root ke mesin anda ( login sebagai root hanya bisa dilakukan langsung pada mesin atau bukan menggunakan ssh, jika menggunakan ssh login sebagai user biasa yang satu group dengan wheel dan lakukan lah su ) Dalam tahapan ini Saya mencontohkan login menggunakan ssh dan melakukan su
ogevs-MacBook-Pro:~ OgevCakralintas$ ssh ogev@indofreebsd.or.id
Password:SayaOrangGantengCoy2590

Last login: Tue Oct 16 11:32:55 2012 from this.isplud.net
FreeBSD 9.0-RELEASE (GENERIC) #0: Tue Jan  3 07:15:25 UTC 2012

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc package has been installed
   (or fetched via pkg_add -r lang-freebsd-doc, where lang is the
   2-letter language code, e.g. en), they are also available formatted
   in /usr/local/share/doc/freebsd.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
Edit /etc/motd to change this login announcement.


$ su -
Password:SayaOrangGantengCoy2590
root:indofreebsd pts/0 [~]:
setelah login dan melakukan su menjadi root / super user baru kita lakukan langkah berikutnya
2. Buatlah direktori ports tersebut dengan cara mengetikan command :
root:indofreebsd pts/0 [~]: mkdir /usr/ports
3. Setelah membuat Ports direktori , anda bisa mendowload ports collection menggunakan portsnap dengan mengetikan command :
root:indofreebsd pts/0 [~]: portsnap fetch

Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching public key from ec2-ap-southeast-1.portsnap.freebsd.org... done.
Fetching snapshot tag from ec2-ap-southeast-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sun Mar 24 08:00:50 HKT 2013:
41e1395706668388affda1b954f12d79ecefb9619e019b100% of   68 MB 2136 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from ec2-ap-southeast-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Sun Mar 24 08:00:50 HKT 2013 to Sun Mar 24 12:45:48 HKT 2013.
Fetching 3 metadata patches.. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 10 patches.....10 done.
Applying patches... done.
Fetching 0 new ports or files... done.

Setelah selesai mendownload ports collection, kita harus mengekstraknya ke /usr/ports direktori
4. Untuk mengekstrak ports collection yang telah kita download ke ports direktory, anda harus mengetikan command :
root:indofreebsd pts/0 [~]: portsnap extract
/usr/ports/CHANGES
/usr/ports/COPYRIGHT
/usr/ports/GIDs
/usr/ports/KNOBS
/usr/ports/Keywords/info.yaml
/usr/ports/LEGAL
/usr/ports/MOVED
/usr/ports/Makefile
/usr/ports/Mk/Uses/
/usr/ports/Mk/bsd.apache.mk
-----snif----- di potong karena kepanjangan :)
/usr/ports/x11/xwininfo/
/usr/ports/x11/xwinwrap/
/usr/ports/x11/xwit/
/usr/ports/x11/xwud/
/usr/ports/x11/xxkb/
/usr/ports/x11/xzoom/
/usr/ports/x11/yad/
/usr/ports/x11/yakuake-kde4/
/usr/ports/x11/yakuake/
/usr/ports/x11/yalias/
/usr/ports/x11/yeahconsole/
/usr/ports/x11/yelp/
/usr/ports/x11/zenity/
Building new INDEX files... done.
anda telah berhasil menginstall Ports collection ke server anda. Setelah anda berhasil menginstall ports Collection ke server, anda perlu memastikan bahwa ports collection yang ada di server uptodate.
5. Untuk memastikan ports collection uptodate atau mengupdate ports collection, caranya adalah dengan mengetikan command :
root:indofreebsd pts/0 [~]:portsnap update
Ports tree is already up to date. Demikianlah tahapan tahapan install ports collection dan mengupdate nya dengan menggunakan portsnap.
Salam,
Ogev Gustav

COMMENTS

BLOGGER: 1
  1. In the calculator you'll be able to enter your revenue and debts then we're going to automatically calculate the next:. mortgage payment calculator canada This typically takes effect in the first 3 to 5 years of the loan. canada mortgage calculator

    ReplyDelete

Name

Application Support,19,database server,1,Desktop/XWindow,1,DNS Server,2,Email Server,3,Firewall,1,FTP Server,2,General,2,IPFilter,1,Kernel,2,Networking,8,Proxy Server,4,Security,6,Tips and Trick,5,Web Server,2,
ltr
item
IndoFreeBSD: Install Dan Update Ports Collection dengan Portsnap
Install Dan Update Ports Collection dengan Portsnap
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioTnY3wko9bmehm2IFMxd-V26JW3mWhEmb4GckGoW8n-y_-FQjXOIQF-YGdGqxU-NVGiTqRWrNsQDsVRGI0uC4ZsvcAj_7Ndnsk_Ghgc_ZMwmIZ45HgDq9TmIjaUCE5nH71DEbogoWKtLh/s1600/portsnap-fetch.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioTnY3wko9bmehm2IFMxd-V26JW3mWhEmb4GckGoW8n-y_-FQjXOIQF-YGdGqxU-NVGiTqRWrNsQDsVRGI0uC4ZsvcAj_7Ndnsk_Ghgc_ZMwmIZ45HgDq9TmIjaUCE5nH71DEbogoWKtLh/s72-c/portsnap-fetch.jpg
IndoFreeBSD
http://www.indofreebsd.or.id/2015/02/install-dan-update-ports-collection.html
http://www.indofreebsd.or.id/
http://www.indofreebsd.or.id/
http://www.indofreebsd.or.id/2015/02/install-dan-update-ports-collection.html
true
1901051463523757307
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content