Huihoo FreeBSD Applications

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(Database)
第17行: 第17行:
 
==Database==
 
==Database==
 
*PostgreSQL
 
*PostgreSQL
 +
以FreeBSD 8.0为例:取得
 +
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/databases/postgresql-client-9.0.3.tbz
 +
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/databases/postgresql-server-9.0.3.tbz
 +
然后#pkg_add postgresql-server-9.0.3.tbz
 +
设置 postgresql_enable to YES in /etc/rc.conf
 +
su pgsql
 +
/usr/local/etc/rc.d/postgresql initdb
 +
/usr/local/etc/rc.d/postgresql start
 +
 
*MySQL
 
*MySQL
 
编译 mysql ports
 
编译 mysql ports

2011年3月1日 (二) 15:17的版本

Huihoo FreeBSD Applications 为 FreeBSD 应用软件包的安装、版本更新、迁移提供支持。

目录

SAP ERP

Oracle ERP

Java

Middleware

  • GlassFish
  • Geronimo
  • JBoss
  • Tomcat

Database

  • PostgreSQL

以FreeBSD 8.0为例:取得

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/databases/postgresql-client-9.0.3.tbz
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/databases/postgresql-server-9.0.3.tbz
然后#pkg_add postgresql-server-9.0.3.tbz 
设置 postgresql_enable to YES in /etc/rc.conf
su pgsql
/usr/local/etc/rc.d/postgresql initdb
/usr/local/etc/rc.d/postgresql start
  • MySQL

编译 mysql ports

Install MySQL server:

# cd /usr/ports/databases/mysql50-server/
# make
# make install
# make clean

Also install mysql client support

# /usr/ports/databases/mysql50-client
# make
# make install
# make clean

Finally install mysql scripts:

# cd /usr/ports/databases/mysql50-scripts
# make
# make install
# make clean
# /usr/local/etc/rc.d/mysql-server start

or vi /etc/rc.conf

mysql_enable="YES"

More Detail: http://www.cyberciti.biz/tips/howto-install-lighttpd-on-freebsd.html

手工编译安装后

/usr/local/bin/mysqld_safe &
  • Berkeley DB

Freeware

Lighttpd

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

点击 Install Ruby Rails Lighttpd MySQL on Ubuntu or FreeBSD

多操作系统

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱