日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

freebsd7.0 安裝記錄

##最小化安裝FreeBSD7.0
##用sysinstall安裝perl5.8.8、bash、ports和設(shè)置網(wǎng)絡(luò)
##通過ssh登錄
##添加用戶web、svn、mysql
[root@fb7 /home/ximi]# su
[root@fb7 /home/ximi]# cd /usr/src/
[root@fb7 /usr/src]# ls
[root@fb7 /usr/src]# mkdir /usr/server
[root@fb7 /usr/src]# ln -s /usr/server/ /server
##安裝mysql
[root@fb7 /usr/src]# fetch http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.51a.tar.gz/from/http://mirror.mysql-partners-jp.biz/
【freebsd7.0 安裝記錄】[root@fb7 /usr/src]# tar zxvf fetch.out
[root@fb7 /usr/src]# cd mysql-5.0.51a/
[root@fb7 /usr/src/mysql-5.0.51a]# ./configure --prefix=/server/mysql
[root@fb7 /usr/src/mysql-5.0.51a]# make
[root@fb7 /usr/src/mysql-5.0.51a]# make install
[root@fb7 /usr/src/mysql-5.0.51a]# cd /server/mysql/
#編輯/etc/my.cnf加入2行
basedir = /usr/local/mysql5
datadir = /home/mysql/data
[root@fb7 /server/mysql]# bin/mysql_install_db --user=mysql
[root@fb7 /server/mysql]# bin/mysqld_safe &
[root@fb7 /server/mysql]# bin/mysqladmin -u root passWord 'new password'
[root@fb7 /server/mysql]# cp share/mysql/mysql.server /usr/local/etc/rc.d/mysql.sh
##安裝apache
[root@fb7 /usr/src]# ls /server
[root@fb7 /usr/src]# tar zxvf httpd-2.2.8.tar.gz
[root@fb7 /usr/src]# cd httpd-2.2.8
[root@fb7 /usr/src/httpd-2.2.8]# ./configure --prefix=/server/http --enable-so --enable-rewrite --enable-dav
[root@fb7 /usr/src/httpd-2.2.8]# make
[root@fb7 /usr/src/httpd-2.2.8]# make install
[root@fb7 /usr/src/httpd-2.2.8]# cp /server/http/bin/apachectl /usr/local/etc/rc.d/http.sh
##安裝gd
[root@fb7 /usr/src]# pkg_add -r gd
##安裝libxml2
[root@fb7 /usr/src]# pkg_add -r libxml2
##安裝t1lib
[root@fb7 /home/ximi/src]# pkg_add -r t1lib
##安裝ImageMagick
#安裝對tiff
[root@fb7 /usr/src]# pkg_add -r tiff
[root@fb7 /usr/src]# fetch http://www.imagemagick.com.cn/download/ImageMagick-6.2.7-6.tar.gz
[root@fb7 /usr/src]# tar zxvf ImageMagick-6.2.7-6.tar.gz
[root@fb7 /usr/src]# cd ImageMagick-6.2.7
[root@fb7 /usr/src/ImageMagick-6.2.7]# ./configure --prefix=/server/ImageMagick
[root@fb7 /usr/src/ImageMagick-6.2.7]# make
[root@fb7 /usr/src/ImageMagick-6.2.7]# make install
##安裝memcached
#安裝必須libevent
[root@fb7 /usr/src]# pkg_add -r libevent
[root@fb7 /usr/src]# fetch http://www.danga.com/memcached/dist/memcached-1.2.5.tar.gz
[root@fb7 /usr/src]# tar zxvf memcached-1.2.5.tar.gz
[root@fb7 /usr/src]# cd memcached-1.2.5
[root@fb7 /usr/src/memcached-1.2.5]# ./configure --prefix=/server/memcached
[root@fb7 /usr/src/memcached-1.2.5]# make
[root@fb7 /usr/src/memcached-1.2.5]# make install
##安裝subversion
#安裝必須berkeley db
[root@fb7 /usr/src]# pkg_add -r db42
#安裝必須apr-db42
[root@fb7 /usr/src]# pkg_add -r apr-db42
[root@fb7 /usr/src]# fetch http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
[root@fb7 /usr/src]# tar zxvf subversion-1.4.6.tar.gz
[root@fb7 /usr/src]# cd subversion-1.4.6
[root@fb7 /usr/src/subversion-1.4.6]# ./configure --prefix=/server/svn --with-apxs=/server/http/bin/apxs
[root@fb7 /usr/src/subversion-1.4.6]# make
[root@fb7 /usr/src/subversion-1.4.6]# make install
##安裝pdflib php擴展pdf必須
[root@fb7 /usr/src]# fetch http://www.pdflib.com/binarIEs/PDFlib/702/PDFlib-Lite-7.0.2p8.tar.gz
[root@fb7 /usr/src]# tar zxvf PDFlib-Lite-7.0.2p8.tar.gz
[root@fb7 /usr/src]# fetch http://www.pdflib.com/binaries/PDFlib/702/PDFlib-7.0.2-FreeBSD6.tar.gz
[root@fb7 /usr/src]# tar zxvf PDFlib-7.0.2-FreeBSD6.tar.gz
[root@fb7 /usr/src]# cp -r PDFlib-7.0.2-FreeBSD6/bind/c PDFlib-Lite-7.0.2p8/bind/
##安裝autoconf 2.13創(chuàng)建php configure必須
[root@fb7 /usr/src/]# pkg_add -r autoconf213

推薦閱讀