Sep
04
2009
0

ติดตั้ง vsftpd + ssl

795 views

vsftpd ก็คือ FTP (Daemon) Server อีกตัวหนึ่งนั่นเองมี feature ดีๆ หลายอย่างไปอ่านกันเองครับ ที่นี่
การติดตั้งบน FreeBSD นั้นง่ายมากๆ
(more...)

Written by Pipo in: FreeBSD & Linux | Tags: , , ,
Aug
20
2009
0

Mount UFS (FreeBSD) Partition

661 views

sudo mount -r -t ufs -o ufstype=ufs2 /dev/sda1/ /mnt

Written by Pipo in: FreeBSD & Linux | Tags: , ,
May
06
2009
0

Install zint-2.1.2 on FreeBSD 6.2

548 views

zint เป็นโปรแกรม Open source แบบ command line สำหรับสร้าง barcode ครับ support ถึง 50 รูปแบบเลย ซึ่งสุดยอดมากๆ ไม่มีเจ้าใดเทียบได้อีกแล้ว
เขียนด้วยภาษา C จำเป็นต้อง compile ที่เครื่องก่อน ได้เฉพาะฝั่ง Linux นะครับ All POSIX (Linux/BSD/UNIX-like OSes)
วิธีใช้หนะไม่ยากเพราะสั่งแค่บรรทัดเดียวก็สร้าง barcode ได้แล้ว แต่ตอนลงพอดีมันติด compile อยู่มั่วไปมั่วมาจนสำเร็จ
เลยมาบันทึกไว้เผื่อใครติดปัญหาเหมือนกัน

I try to install zint 2.1.2 on my FreeBSD but it have some problem when compile.
This is my way to fix it.

(more...)

Written by Pipo in: FreeBSD & Linux | Tags: , , ,
Oct
15
2008
0

Unable to determine CPU Frequency

909 views

1. Edit file /etc/fstab
linprocfs /compat/linux/proc linprocfs rw 0 0

2. as root run:
kldload linprocfs

3.after this run:
mount /compat/linux/proc

Written by Pipo in: FreeBSD & Linux |
Apr
11
2008
0

MySQL Installation (ports)

530 views
# cd /usr/ports/databases/mysql51-server
# make WITH_CHARSET=utf8 WITH_XCHARSET=all WITH_COLLATION=utf8_unicode_ci
 
# make install && make clean
# mysql_install_db (/usr/local/bin/mysql_install_db)
 
# chown -R mysql /var/db/mysql/
# chgrp -R mysql /var/db/mysql/
 
# /usr/local/bin/mysqld_safe -user=mysql &
 
edit /etc/rc.conf
add this
mysql_enable="YES"
 
Change the password to root user
# /usr/local/bin/mysqladmin -u root password new-password

Optionally, copy either my-huge.cnf, my-large.cnf, my-medim.cnf, my-small.cnf or my-innodb-heavy-4G.cnf (depending on the usage and utilization of MySQL server) as my.cnf
to /var/db/mysql which will enable you to tweak and change the configuration of server-specific MySQL server options by editing the file.

Written by Pipo in: FreeBSD & Linux | Tags: , ,
Apr
10
2008
0

Failed to enable the ‘httpready’ Accept Filter

572 views
# nano /boot/loader.conf

add the following line into

accf_http_load="YES"

Written by Pipo in: FreeBSD & Linux | Tags: ,

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes