Bernu Dwi Andika

Icon

explain what this blog is about.

Konfigurasi Awal FreeBSD

0. melihat status ethenet komputer :
# ifconfig -a

1. buat IP di mesin
# ifconfig nve0 inet 167.205.xxx.xxx netmask 255.255.255.224 up

2. mengatur gateway
# route add default 167.205.xxx.xxx

3. mengatur rc.conf
# cd /etc
# vi rc.conf
, lakukan konfigurasi awal :

usbd_enable=”YES”
ifconfig_nve0=”inet 167.205.xxx.xxx netmask 255.255.255.192″
hostname=”bernu.xxx.com”
sshd_enable=”YES”

* sshd_enable berfungsi awal mesin dapat kita lakukan ssh

4. mengatur resolv.conf
# cd /etc
# vi resolv.conf
, lakukan konfigurasi awal :

domain xxx.com
nameserver 167.205.xxx.xxx

5. mengatur make.conf
# cd /etc
# vi make.conf
, lakukan konfigurasi awal :

#CFLAGS= -O -pipe
#COPTFLAGS= -O -pipe
#NOPROFILE= true
NO_PF=true
FETCH_ENV= ftp_proxy=http://cache.xxx.com:8080/
FETCH_ENV= http_proxy=http://cache.xxx.com:8080/
#FETCH_ENV= HTTP_PROXY=http://167.205.xxx.xxx:8888/
MASTER_SITE_OVERRIDE=ftp://ftp.itb.ac.id/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
#MASTER_SITE_OVERRIDE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

BATCH=YES
WITHOUT_X11=YES
SKIP_DNS_CHECK=YES
CRYPT_DES=0
PORT_REPLACES_BASE_BIND8=YES
PORT_REPLACES_BASE_BIND9=YES
WITHOUT_ALT_CONFIG_PREFIX=YES
WITH_OPENSSL_PORT=YES

#*REMOVE* OPENSSL_OVERWRITE_BASE=NO

# added by use.perl 2005-11-29 16:28:51
PERL_VER=5.8.7
PERL_VERSION=5.8.7

6. restart konfigurasi di /etc/rc.conf
# sh /etc/rc

7. memeriksa koneksi jaringan
# ping www.itb.ac.id

Advertisements

Filed under: FreeBSD

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: