May
06
2009
0

Install zint-2.1.2 on FreeBSD 6.2

1,244 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

2,924 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)

1,049 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

962 views
# nano /boot/loader.conf

add the following line into

accf_http_load="YES"

Written by Pipo in: FreeBSD & Linux | Tags: ,
Feb
24
2008
0

ยกเลิก (internal dummy connection) ใน log ของ apache

1,162 views
SetEnvIf Remote_Addr "::1" dontlog
CustomLog /var/log/apache2/access.log combined env=!dontlog

Written by Pipo in: FreeBSD & Linux |
Jan
25
2008
0

ProFTPd Configuration ให้ user chmod ได้

1,433 views
 
# nano /usr/local/etc/proftpd.conf

Allow CHMOD

# Bar use of SITE CHMOD by default
< Limit SITE_CHMOD >
AllowAll
# DenyAll
< /Limit>

Written by Pipo in: FreeBSD & Linux | Tags:
Page 2 of 3123

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