Huihoo Debian Enterprise Guide

来自开放百科 - 灰狐
跳转到: 导航, 搜索

Debian Inside, Debian Everywhere :)

Huihoo-debian.gif

目录

简介

Huihoo Enterprise Debian Guide - 灰狐企业Debian指南, 并逐步演变成 HDE Huihoo Debian Enterprise,

努力推动 Debian 使其成为 Python, C++, Java, Cloud Computing, P2P, Grid 运行的理想平台。

Huihoo Debian Mobile 是Debian 在移动领域的扩展.

Huihoo Debian Desktop 是Debian 在桌面领域的扩展. 让Debian的桌面更好用,更友好.

对于媒体服务,我们有 Huihoo Debian Media Server 的计划

对于GIS服务,我们有DebianGis计划

有关 Debian 分发版,请参考: http://wiki.debian.org/CustomDebian

Debian Packages: http://packages.debian.org/stable/

以下内容主要针对 Debian 4.0 Etch , 建议大家安装或升级到 4.0 // 下一步更新到 Debian 5

建议: 在 Debian 下安装企业开源软件, 最好自己下载二进制安装或编译源码安装.

哲学

围绕一些核心目标构建软件栈和解决方案,如:open devops stack

可采用类似 CentOS Special Interest Groups 构建自动化、解决方案和主流软件包维护。

OpenOffice

Virtualization

apt-get install  xen-hypervisor-3.0.3-1-i386 
apt-get install xen-tools  xen-utils-3.0.3-1

Install Xen On Debian

Database Servers

apt-cache search postgresql-9.1 // Debian 7

postgresql-9.1-ip4r - IPv4 and IPv4 range index types for PostgreSQL 9.1
postgresql-9.1-orafce - Oracle support functions for PostgreSQL 9.1
postgresql-9.1-pgfincore - set of PostgreSQL functions to manage blocks in memory
postgresql-9.1-pgmemcache - PostgreSQL interface to memcached
postgresql-9.1-pgpool2 - connection pool server and replication proxy for PostgreSQL - modules
postgresql-9.1-plr - Procedural language interface between PostgreSQL and R
postgresql-9.1-postgis - Geographic objects support for PostgreSQL 9.1
postgresql-9.1 - object-relational SQL database, version 9.1 server
postgresql-9.1-dbg - debug symbols for postgresql-9.1
postgresql-client-9.1 - front-end programs for PostgreSQL 9.1
postgresql-contrib-9.1 - additional facilities for PostgreSQL
postgresql-9.1-debversion - Debian version number type for PostgreSQL
postgresql-9.1-pgmp - arbitrary precision integers and rationals for PostgreSQL 9.1
postgresql-9.1-pljava-gcj - Java procedural language for PostgreSQL 9.1
postgresql-9.1-pllua - Lua procedural language for PostgreSQL 9.1
postgresql-9.1-plproxy - database partitioning system for PostgreSQL 9.1
postgresql-9.1-plsh - PL/sh procedural language for PostgreSQL 9.1
postgresql-9.1-prefix - Prefix Range module for PostgreSQL
postgresql-9.1-preprepare - Pre Prepare your Statement server side
  • 安装 PostgreSQL
apt-get install postgresql-7.4 // 可同时安装多个版本:如一个 port=5432
apt-get install postgresql-8.1 // port=5433
apt-get install postgresql-8.1-postgis 
apt-get install postgresql-8.1-slony1
apt-get install pgadmin3
apt-get install postgresql-8.1-plruby // ruby for postgresql

Debian 5.0

mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/lib/postgresql/8.3/bin/initdb -D /usr/local/pgsql/data
/usr/lib/postgresql/8.3/bin/postgres -D /usr/local/pgsql/data & 
/usr/lib/postgresql/8.3/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
  • 安装 MySQL
apt-get install mysql-server-4.1 
apt-get install mysql-server-5.0 mysql-client-5.0

因为目前IBM只提供了RPM格式的安装包,所以无法直接在Debian上安装。

Web Servers

Nginx

Lighttpd

Apache

TUX

BOA

boa - Lightweight and High Performance WebServer

apt-get install boa

AOL Web Server

Python

Debian 4.0 已安装 Python 2.4.4-

C++

Install GCC and G++

apt-get install gcc
apt-get install g++

libstdc++.so.5: cannot open shared object file: No such file or directory

#apt-get install libstdc++5

ACE/TAO

apt-cache search ace tao

/usr/include for compiling C programs with gcc

apt-get install libc6-dev

GTK+

apt-get install emacs22-gtk // GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
./emacs22-gtk &  
apt-cache search gtk2.0
or 
tar zxvf gtk+-2.12.12.tar.gz   
cd gtk+-2.12.12
./configure --prefix=/opt/gtk212  //  error: The pkg-config script could not be found or is too old. 
apt-get install pkg-config
No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found
make
make install
export LD_LIBRARY_PATH="/opt/gtk212/lib"

Java

apt-get install openjdk-7-jdk // debian 7
or wget http://download.huihoo.com/java/javase/5.0/linux/jdk-1_5_0_07-linux-i586.bin
./jdk-1_5_0_07-linux-i586.bin
vi etc/profile or /home/$USER/.bash_profile or /root/.profile
export JAVA_HOME=/usr/local/jdk1.5.0_07
export PATH=/usr/local/jdk1.5.0_07/bin:$PATH
ln -s /usr/local/jdk1.5.0_07/jre/plugin/i386/ns7/libjavaplugin_oji.so 
/usr/lib/iceweasel/plugins/libjavaplugin_oji.so

切换Java环境

update-alternatives --config java

Middleware

Jetty

Tomcat

#apt-get instal tomcat5.5 - Java Servlet 2.4 engine with JSP 2.0 support
#apt-get instal tomcat5.5-admin 
#apt-get instal tomcat5.5-webapps 

GlassFish, SUN AS

#apt-get install libstdc++5 // gcc 3.3 
get http://download.huihoo.com/glassfish/v2/
or http://download.huihoo.com/java/javaee/java_ee_sdk-5-linux.bin
./java_ee_sdk-5-linux.bin // 进入图形化安装
admin/adminadmin // store in .asadminpass file 
Admin Port: 4848
HTTP Port: 8080
HTTPS Port: 8181
./asadmin start-domain domain1
./asadmin stop-domain domain1 
get http://download.huihoo.com/jboss/jboss-as/

Debian Server Hardware

http://linux.dell.com/distributions.shtml

Virtual Machine

相关链接

Debian Hosting

Desktop Environments

  • Debian XFCE
  • Debian Gnome
  • Debian KDE
  • Debian GNUstep

System administration

Security Servers

Directory Servers

Cluster Servers

目的: 使用 Debian 建立高可用集群服务器。

HP在Debian上的扩展工作包括基本软件包扩展,HP 电信级Linux扩展,和集群扩展。目前摩托罗拉和爱立信均采用了HP电信级Linux扩展,用于下一代交换机和Scalable Control Platform。

Storage Servers

Grid

Globus

get ttp://www-unix.globus.org/ftppub/gt4/
如: gt4.0.4-x86_deb_3.1-installer.tar.gz

Required software

  • JDK 1.4.2+
  • Ant 1.5+ (do not use the ant in Fedora Core 2)
  • C compiler. If gcc, avoid version 3.2. 3.2.1 and 2.95.x are okay.
  • C++ compiler. Pick whichever version matches your C compiler.
  • GNU tar
  • GNU make
  • GNU sed
  • zlib 1.1.4+
  • JDBC compliant database. For instance, postgres 7.1+
./configure --prefix=/home/allen/globus
make
make install

SUN Grid Engine

Linux Kernel

Debian Developers Resources

Debian development overview diagram

Debian Mailing List

Notebook

Development Tools

参考资料

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

变换
操作
导航
工具箱