sudo mount -r -t ufs -o ufstype=ufs2 /dev/sda1/ /mnt
04
2009
20
2009
Mount UFS (FreeBSD) Partition
661 views06
2009
Install zint-2.1.2 on FreeBSD 6.2
548 viewszint เป็นโปรแกรม 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.
15
2008
Unable to determine CPU Frequency
909 views1. 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
11
2008
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.
10
2008
Failed to enable the ‘httpready’ Accept Filter
572 views# nano /boot/loader.conf
add the following line into
accf_http_load="YES"