Ardianto’s Junkyard

April 25, 2008

Instalasi Software di FreeBSD

Cara instalasi software di FreeBSD, berikut langkah-langkahnya..
0. Login sebagai root

1. Cari tempat port atau package
gunakan perintah

# whereis

biasanya ada pada direktori /usr

2. Masuk ke direktori /usr

# cd /usr/ports

3. Ketikkan nama paket seperti berikut:

# make search name=”package-name?”

Atau bisa juga gunakan locate command, seperti:

# locate php

4. Install
Setelah file yang dicari ditemukan (dengan make misalnya), akan timbul ouput. Kali ini kita ambil contoh kita akan install lighttpd :

output :

Port: lighttpd-1.4.13_2
Path: /usr/ports/www/lighttpd
Info: A secure, fast, compliant, and very flexible Web Server
Maint: mnag@FreeBSD.org
B-deps: autoconf-2.59_2 libtool-1.5.22_4 m4-1.4.8_1 pcre-7.0_1 perl-5.8.8
R-deps: pcre-7.0_1
WWW: http://www.lighttpd.net/

Masuklah ke direktori yang telah tertera pada output tersebut:

# cd /usr/ports/www/lighttpd

Mulai install dengan perintah :

# make; make install

Buy geek and gamer themed T-Shirts and Hats @ SplitReason.com!

«« Previous Page  

Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham