Category Archives: FreeBSD
FreeBSD 7.2: Apache httpready filter – Failed to enable the ‘httpready’ Accept Filter
Setelah install apache22 webserver di FreeBSD 7.2 di VMware. Muncul tulisan Failed to enable the ‘httpready’ Accept Filter pada saat menjalankan apachenya.
Ternyata ini muncul karena modul accf_http (accept filter http) belum diload oleh kernel freebsd. Jadi ya harus di load secara manual. ada 2 cara untuk meload modul ini
1. dengan menggunakan command
kldload accf_filter
2. menambahkan accf_http_load=”YES” pada file /boot/loader.conf
accf_http ditempatkan pada socket untuk menyetujui menerima request HTTP. Digunakan untuk mencegah aplikasi menerima koneksi sampai head HTTP penuh atau GET request sudah diterima kernel. Ini berfungsi untuk mengurangi kerja CPU.
link
Mengatur Route di FreeBSD
A. Route command untuk mengubah tabel routing di freebsd secara manual biasanya terdapat enam perintah :
=> add : Add a route.
=> flush :Remove all routes.
=> delete : Delete a specific route.
=> change : Change aspects of a route (such as its gateway).
=> get : Lookup and display the route for a destination.
=> monitor : Continuously report any changes to the routing information base, routing lookup misses, or suspected network partitionings.
Install PhpMyadmin in Apache webserver on FreeBSD
Sunday 10.13 pm after ate friedrice..nyummy..
this time i want to share how to install phpmyadmin. i use freebsd operating sytem 7.2 version. phpmyadmin is one of tools that handles mysql administration to quickly and easy. look at the picture below :
we can create database, privileges setting, DDL,and DML easier. OK…this time going to install phpmyadmin. Firstly make sure that mysql server is installed correctly.
[root@motte89 /usr/home/motte89]# pkg_info|grep mysql mysql-client-5.0.77_1 Multithreaded SQL database (client) mysql-server-5.0.77_1 Multithreaded SQL database (server) php5-mysql-5.2.9 The mysql shared extension for php php5-mysqli-5.2.9 The mysqli shared extension for php
if you sure now we just installed phpmyadmin . we will install from freebsd ports:
1.
[root@motte89 /usr/home/motte89]# cd /usr/ports/databases/phpmyadmin [root@motte89 /usr/ports/databases/phpmyadmin]# make install
2. choose config that you like
3. wait until installation finished
4. after instalation phpmyadmin will be installed in folder /usr/local/www/phpmyadmin
5. open httpd.conf
[root@motte89 /usr/local/www/phpMyAdmin]# ee /usr/local/etc/apache22/httpd.conf
6. create alias for phpmyadmin in httpd.conf
Alias /phpmyadmin “/usr/local/www/phpMyAdmin/”
<Directory “/usr/local/www/phpMyAdmin/”>
Options none
AllowOverride Limit
Order allow,deny
Allow from all
</Directory>
7. edit file config.default.php
[root@motte89 /usr/local/www/phpMyAdmin]# ee /usr/local/www/phpMyAdmin/libraries/config.default.php
8.
On entry $ cfg ['Servers'] [$ i] ['auth_type'] = ‘config’;
change it to:
$ Cfg ['Servers'] [$ i] ['auth_type'] = ‘http’;
Empty entry $ cfg ['Servers'] [$ i] ['user'] = ‘root’;
thus becomes:
$ Cfg ['Servers'] [$ i] [' user '] =”;
9. then open in web browser
http://localhost/phpmyadmin/
10. then insert your username and password for mysql server.
thanks

