Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Buku Saku 3 v7
Buku Saku 3 v7
www.belajarfreebsd.or.id
www.andyh.id
instalasi WebServer FreeBSD
buku saku 3
buku saku 3
2. Repo Ekstrak
# cd /usr/home/andy
# tar -zxvf portsnap84-09112014.zip -C /var/db/
# portsnap extract
# tar -zxvf distfiles84-ldap-09112014-full.zip -C /usr/ports/
# cp /usr/share/examples/etc/make.conf /etc/
# ee /etc/make.conf
# Tambahkan baris di bawah ini :
MASTER_SITE_OVERRIDE=http://repo.belajarfreebsd.com/distfiles/${DIST_SUBDIR}/
buku saku 3
3. Preparing System
# ee /etc/fstab
# tambahkan baris :
proc
/proc
procfs
rw
buku saku 3
4. Install Apache22
# ee /etc/rc.conf
tambahkan baris :
# Apache22 Service
apache22_enable="YES"
apache22_http_accept_enable="YES"
# ee /usr/local/etc/apache22/httpd.conf
edit baris :
ServerAdmin {emailanda}
ServerName
{domainanda} | hilangkan tanda {#}
# service apache22 start
# Cek Browser dengan mengetikkan ip server
# It Works !
buku saku 3
5. Install MariaDB55-Server
# ee /etc/rc.conf
tambahkan baris :
# MariaDB55 Service
mysql_enable="YES"
# service mysql-server start
# mysqladmin -u root password PasswordAnda
# mysql -u root -p
mariaDB [(none)] >
buku saku 3
6. Install PHP5
# ee php.ini
edit baris :
date.timezone = Asia/Jakarta | hilangkan tanda {;}
session.save_path = "/tmp" | hilangkan tanda {;}
# ee /usr/local/etc/apache22/httpd.conf
tambahkan baris :
date.timezone = Asia/Jakarta | hilangkan tanda {;}
session.save_path = "/tmp" | hilangkan tanda {;}
buku saku 3