buy online retin-a overnight without rx, and buy cheap amoxil purchased online without prescription, and buying cheap premarin with free fedex overnight, and buying cheap diflucan (fluconazole) cod saturday delivery, and buy online taking too much synthroid medication, and cheap pharmacy clomid twin, and purchase with no prescription order zovirax (acyclovir) creditcard, and order online buy generic wellbutrin cheap no membership, and cheap online will generic available valtrex in toronto, and cheap pharmacy order cheap order propecia online, and order online no prescription hydrochlorothiazide online pharmacy, and pharmacy cheapest accutane ultrum, and pharmacy cheapest cheap doxycycline without rx, and ordering online where to buy norvasc, and buy cheapest prozac for sale cod, and buy online where can i buy flagyl online, and buying cheap acyclovir xr purchase online cheap, and purchase with no prescription forum paxil, and ordering online best buy lipitor, and buy cheapest arimidex buy without a prescription, and pharmacy cheapest bactrim overnight delivery cheap, and generic medications buy neurontin online no membership, and order cheap baclofen side effects, and order online price zithromax, and pharmacy cheapest where to buy lasix without a prescription, and

存档

‘FreeBSD & BSD*’ 分类的存档

FreeBSD 7.0 正式发布

2008年2月28日 没有评论

继 FreeBSD 6.3 之后, FreeBSD 7.0 正式发布, 7.0的主要亮点有:

  • 性能的大幅提升: 相对FreeBSD 6.X来讲在一般情况下有近350%的性能提升, 在高负载的情况下甚至达到了1500%的性能提升;
  • 同比目前Linux kernel (2.6.22 or 2.6.24) 有近15%性能优势;
  • ULE调度器有很大改进,  将成为FreeBSD 7.1的默认调度器, 目前仍默认延用4BSD的调度器;
  • 开始试验性支持 ZFS 文件系统;
  • 开始只读方式支持 XFS 文件系统;
  • iSCSI initiator;
  • freebsd-update 的二进制升级方式;
  • X.Org 7.3, KDE 3.5.8, GNOME 2.20.2;
  • GNU C compiler 4.2.1.

FreeBSD加大了对文件系统的支持, FreeBSD有望成为存储系统的首选 :)

本地下载

分类: FreeBSD & BSD* 标签:

OpenBSD 4.1 发布

2007年5月1日 没有评论

五一黄金周的第一天,OpenBSD 4.1 正式发布 :)OpenBSD 4.1 增加了一款新的硬件平台支持: OpenBSD/landisk , 增强了对 64bit Sun UltraSPARC 平台的支持, 取消了对 OpenBSD/cats 平台的支持。

此外, 很多软件包也进行了相应的版本升级。

BT种子: http://www.torrentportal.com/download/1048693/openbsd-4.1-i386.iso.torrent

分类: FreeBSD & BSD* 标签:

在 Ubuntu 5.04(FreeBSD 5.5)上安装 Ruby, Rails, Lighttpd, MySQL

2006年7月7日 2 条评论

此方法也适用于其它Linux,UNIX和BSD系统, 大家只需要修改其中的一些步骤。

// 安装 readline
wget ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
tar xzvf readline-5.1.tar.gz
cd readline-5.1
./configure –prefix=/usr/local
make
sudo make install
cd ..

// 安装 ruby
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz
tar xzvf ruby-1.8.4.tar.gz
cd ruby-1.8.4
./configure –prefix=/usr/local –enable-pthread –with-readline-dir=/usr/local
make
sudo make install
cd ..

// 安装 ruby-zlib
wget http://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz
tar zxvf ruby-zlib-0.6.0.tar.gz
cd ruby-zlib-0.6.0
/usr/local/bin/ruby extconf.rb
make
sudo make install

// 安装 rubygems
wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz
tar xzvf rubygems-0.8.11.tgz
cd rubygems-0.8.11
sudo /usr/local/bin/ruby setup.rb
cd ..

// 安装 Ruby on Rails
sudo /usr/local/bin/gem install rails –include-dependencies

// install FastCGI
wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
tar xzvf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure –prefix=/usr/local
make
sudo make install
cd ..

// 添加 Ruby-FastCGI 绑定
wget http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz
tar xzvf ruby-fcgi-0.8.6.tar.gz
cd ruby-fcgi-0.8.6
/usr/local/bin/ruby install.rb config –prefix=/usr/local
/usr/local/bin/ruby install.rb setup
sudo /usr/local/bin/ruby install.rb install
cd ..

sudo /usr/local/bin/gem install fcgi

// 安装 PCRE
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.6.tar.gz
tar xzvf pcre-6.6.tar.gz
cd pcre-6.6
./configure –prefix=/usr/local CFLAGS=-O1
make
sudo make install
cd ..

// 安装 lighttpd
wget http://lighttpd.net/download/lighttpd-1.4.11.tar.gz
tar xzvf lighttpd-1.4.11.tar.gz
cd lighttpd-1.4.11
./configure –prefix=/usr/local –with-pcre=/usr/local
make
sudo make install
cd ..

// 安装 mysql
省略 MySQL 的安装

// 绑定 mysql
sudo gem install mysql — –with-mysql-dir=/usr/local/mysql
Select which gem to install for your platform (i686-linux)
1. mysql 2.7.1 (mswin32)
2. mysql 2.7 (ruby)
3. mysql 2.6 (ruby)
4. mysql 2.5.1 (ruby)
5. Cancel installation

> 2 // 选择2

make install
mkdir -p /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib
/usr/bin/install -c -m 0755 mysql.so /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib
Successfully installed mysql-2.7

// 创建第一个Ruby on Rails应用
sudo mkdir /usr/local/ruby
sudo /usr/local/bin/rails usr/local/ruby/application
cd usr/local/ruby/application
sudo /usr/local/bin/ruby script/server

cp usr/local/lib/ruby/gems/1.8/gems/rails-1.1.4/configs/lighttpd.conf to /usr/local/ruby/application/config 并修改 lighttpd.conf

启动 ruby
ruby script/server
=> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)
=> Rails application started on http://127.0.0.1:80
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)

此时启动了 Lighttpd web server
http://localhost

OK 一切顺利,Ruby 的环境安装好了。

——————————–
在 FreeBSD 5.5 上主要是 FastCGI 的安装有些不同,其它步骤和方法均保持不变

Install fcgi-devkit:
cd /usr/ports/www/fcgi
make install

cd ruby-fcgi-0.8.6
ruby install.rb config — \
–with-fcgi-include=/usr/local/include \
–with-fcgi-lib=/usr/local/lib
ruby install.rb setup
ruby install.rb install

这些步骤也在 FreeBSD 5.5 测试通过 :)
参考:Building Ruby, Rails, LightTPD, and MySQL on Tiger

在 FreeBSD 5.5, 6.1 上安装 Lighttpd,PHP,MySQL

2006年6月22日 没有评论

今天在一台跑 FreeBSD 5.5 的 Intel 至强服务器上成功安装 MySQL,PHP,Lighttpd等软件包, 现整理如下与大家分享. 随后还有在FreeBSD 上 Java 系统的安装等. (注意: 在FreeBSD下有 Packages , Ports 两种安装软件包的方式供用户选择)
1. install mysql 4.1 mysql41-client // version is 4.1.18

pkg_add -r mysql41-server
pkg_add -r mysql41-client

/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 &
/usr/local/bin/mysqladmin -u root password ‘newpassword’

2. install php4,并support fastcgi
cd /usr/ports/distfiles
fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/php-4.4.2.tar.bz2
or http://download.freelamp.com/LAMP/
bunzip2 php-4.4.2.tar.bz2
tar xvf php-4.4.2.tar
./configure –enable-fastcgi –enable-force-cgi-redirect
make
make install

php -v
PHP 4.4.2 (cgi-fcgi) (built: Jun 23 2006 01:26:36)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

3. bind php4 and mysql (这步有问题,mysql的库总加载不上)
cd /usr/ports/databases/php4-mysql
make
make install

The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
extension=mysql.so

4. install lighttpd
pkg_add -r lighttpd

touch /var/log/lighttpd.error.log
touch /var/log/lighttpd.access.log
chown www:www /var/log/lighttpd.*

config php.ini, lighttpd.conf
# cd /usr/local/etc/
# cp lighttpd.conf.sample lighttpd.conf
# cp php.ini-recommended php.ini
修改 lighttpd.conf
server.modules = (
“mod_access”,
“mod_fastcgi”,
“mod_accesslog” )

server.document-root = “/usr/local/www/demo/”

fastcgi.server = ( “.php” =>
( “localhost” =>
(
“socket” => “/tmp/php-fastcgi.socket”,
“bin-path” => “/usr/local/bin” )))

测试:
touch test.php
phpinfo();
?>

# /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf
或者
Usage: /usr/local/etc/rc.d/lighttpd [fast|force|one](start|stop|restart|rcvar|status|poll)
http://localhost/test.php
OK :)

————————————
在 FreeBSD 6.1 上安装 Lightttpd,PHP, MySQL 过程异常简单
1. install mysql 5
# cd /usr/ports/databases/mysql5-server
# make install
后面步骤同上
2. install php5
下载ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/php-5.1.2.tar.bz2
后面步骤同上
3. bind php5 and mysql (mysql的库加载成功)
cd /usr/ports/databases/php5-mysql
make
make install
4. install lighttpd (同上)

FreeBSD 基金会发布基于 FreeBSD 的 Java JDK , JRE 1.5 二进制发行版

2006年6月22日 1 条评论

FreeBSD 基金会已发布基于 JDK 1.5 并可工作在 官方 FreeBSD 5.4 和 FreeBSD 6.0 i386 平台上的二进制版本. 这也为 FreeBSD 进入企业级市场奠定了基础。

目前,大家可直接下载 JDK 1.5, JRE 1.5 的二进制版本.

下载后通过 pkg_add 命令进行安装.

diablo-jdk-freebsd5-1.5.0.06.00.tbz (52M)
diablo-jdk-freebsd6-1.5.0.06.00.tbz (52M)

diablo-jre-freebsd5-1.5.0.06.00.tbz (22M)
diablo-jre-freebsd6-1.5.0.06.00.tbz (22M)

分类: FreeBSD & BSD*, Java 标签: ,

FreeBSD 下安装 lighttpd+php+mysql+openssl

2006年6月18日 1 条评论

从16hot的播客上装载了这篇文章, 最近也将继续完善 FreeBSD 下Web环境的构建.

1 安装MySQL
这里是自己使用源码编译安装。
需要下载MySQL-4.0.25源码包。

cd /opt/distfiles
wget xxx
tar -zxvf mysql-4.0.25.tar.gz -C src
cd src/mysql-4.0.25/
./configure –prefix=/opt/modules/mysql
–enable-assembler
–with-mysqld-ldflags=-all-static
–with-charset=gb2312
–without-debug

make
make install
/opt/modules/mysql/bin/mysql_install_db
chown -R mysql.mysql /opt/modules/mysql/var
chgrp mysql /opt/modules/mysql

2 安装PHP
./configure
–prefix=/opt/modules/phpcgi
–enable-fastcgi
–enable-force-cgi-redirect
–enable-bcmath
–enable-inline-optimization
–enable-magic-quotes
–enable-wddx–disable-debug
–enable-sysvmsg
–enable-sockets
–enable-mbstring
–enable-calendar
–with-trans-sid
–with-ldap
–with-ldap-sasl
–with-mysql=/opt/modulels/mysql

3 安装lighttpd

cd /usr/ports/www/lighttpd/
make install clean

执行后,将会提示一些选项只要选中OPENSSL 就可以了,其他的不用选。

4 整合配置

4.1 修改默认网站文件路径
server.document-root = “/opt/data/www/”

4.2 打开fastcgi模块支持
将 #”mod_fastcgi”, 的#去掉

4.3 设定PHP支持
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( “.php” =>
( “localhost” =>
(
“socket” => “/tmp/php-fastcgi.socket”,
“bin-path” => “/opt/modules/phpcgi/bin/php”,
# 如果你的网站很繁忙,可以加入如下设置
#”bin-environment” => (
# “PHP_FCGI_CHILDREN” => “16”,
# “PHP_FCGI_MAX_REQUESTS” => “10000”
#)

#”bin-path” => “/usr/local/bin/php”
)))

4.4 创建日志文件及设置权限

touch /var/log/lighttpd.error.log
touch /var/log/lighttpd.access.log
chown www:www /var/log/lighttpd.*

4.5 设置SSL支持
4.5.1 创建证书
cd /opt/etc/
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
4.5.2 打开SSL支持
#### SSL engine
ssl.engine = “enable”
ssl.pemfile = “/opt/etc/server.pem”

4.6 设置监听端口
默认的监听端口是 80,如果需要更改端口,可以修改配置设定。
## bind to port (default: 80)
#server.port = 81

5 启动
5.1 设置自动启动
vi /etc/rc.conf
lighttpd_enable=”YES”
5.2 手工启动
/usr/local/etc/rc.d/lighttpd.sh start
注意,如果没有在/etc/rc.conf添加 /etc/rc.conf ,是不能启动的。所以需要先添加。