我的實驗機是裝在 vmware 裡的
目前的版本是 ver.0726
2008.0726
內含套件有
OS: Gentoo 2.6.24.x
FS : reiserfs
pagkages : mysql (with senna), postfix , apache
pptp VPN (可連 Microsoft MPPE )
samba
# uname -a
Linux lab 2.6.24-gentoo-r7 #3 SMP PREEMPT Sat Jul 26 05:17:06 CST 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
# apache2 -v
Server version: Apache/2.2.9 (Unix)
Server built: Jul 23 2008 21:55:39
# mysqladmin -uroot -p version
Server version 5.0.51a-log with senna search engine
# php –version
PHP 5.2.6-pl2-gentoo (cli) (built: Jul 23 2008 23:20:20)
mail-mta/postfix
2.4.6-r2
net-fs/samba
3.0.28a-r1
File system 如下
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 8.0G 1.8G 6.2G 23% /
udev 10M 2.6M 7.5M 26% /dev
shm 251M 0 251M 0% /dev/shm
/dev/sdc1 4.0G 35M 4.0G 1% /root
/dev/sdd1 8.0G 75M 8.0G 1% /m1
# ls -l /m1
total 1
drwxr-x— 4 mysql mysql 744 Jul 26 18:51 mysql
drwxr-xr-x 16 root root 424 Jul 23 23:34 postfix
drwxr-xr-x 2 apache apache 48 Jul 26 18:20 share
drwxr-xr-x 4 apache apache 104 Jul 26 16:58 www
BUG TO FIX:
- php.ini ( apache , cli) , allow_url_fopen = On
- 改 crontab /root/bin/set_my_dn.sh , 改成一個設 local address , 另一是外網 IP address
- php 的
USE="apache2 calendar cjk cli crypt ctype gd hash iconv mysql mysqli nls pcre pdo reflection session sockets spl tidy tokenizer truetype unicode xml xmlreader xmlwriter zlib json simplexml curl"
-
# cat /etc/make.conf CFLAGS="-O2 -march=nocona -pipe" CXXFLAGS="${CFLAGS}" CHOST="x86_64-pc-linux-gnu" MAKEOPTS="-j9" USE="-ipv6 iconv apache2 gd jpeg gif libwww cjk gif ncurses nls zlib mysql ssh pcre session nicode postfix curl xml mysqli json simplexml curl calendar" GENTOO_MIRRORS="http://ftp.isu.edu.tw/pub/Linux/Gentoo"
- 加裝package : emerge cronolog net-mail/mpack app-arch/sharutils unzip
- php 要加
USE="apache2 berkdb cjk cli crypt curl gd gdbm hash iconv mysql mysqli ncurses nls pcre readline reflection session spell spl ssl truetype unicode xml zlib calendar ctype json simplexml soap oci8-instant-client" emerge -av php
- ….