`
xiaolaogong
  • 浏览: 68420 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

配置文件

 
阅读更多

httpd
./configure --prefix=/opt/server/apache/httpd --enable-so --enable-module=shared --enable-modules=all --enable-mods-shared=all --with-apr=/opt/server/lib/apache/apr --with-apr-

util=/opt/server/lib/apache/apr-util/ --with-z=/opt/server/lib/zlib/ --with-ssl=/opt/server/openssl/

 

resin

./configure --prefix=/opt/server/resin --with-apache=/opt/server/apache/httpd/ --with-apxs=/opt/server/apache/httpd/bin/apxs --with-apache-

include=/opt/server/apache/httpd/include/ --with-apache-conf=/opt/server/apache/httpd/conf/

 

./configure --prefix=/opt/server/resin --enable-ssk --with-resin-root=/var/www/resin/web --with-resin-conf=/etc/resin --with-resin-log=/var/log/ --with-resin-init.d=/etc/init.d/ --with-java-home=/usr/local/jdk/ --with-apxs=/opt/server/apache/httpd/bin/apxs --with-openssl=/usr/local/lib/openssl/ --with-openssl-include=/usr/local/lib/openssl/include/ --with-openssl-lib=/usr/local/lib/openssl/lib/ --with-perl=/usr/local/lib/perl5/

 

 

env CPPFLAGS="-I /usr/local/BerkeleyDB.4.2/include" LDFLAGS="-L /usr/local/BerkeleyDB.4.2/lib"

 

mysql-5.1.32

./configure --prefix=/opt/server/db/mysqlcluster --with-server-suffix=-appdb --with-max-indexes=128 --with-big-tables --with-charset=utf8 --with-collation=utf8_general_ci --

with-zlib-dir=/opt/server/lib/zlib/ --with-ssl=/opt/server/openssl/lib --with-

plugins=partition,blackhole,federated,ftexample,archive,csv,heap,myisam,myisammrg,innobase,ndbcluster

 

./configure --prefix=/usr/local/db/mysql --with-charset=utf8 --with-collation=utf8_general_ci --with-extra-charsets=all --with-server-suffix=test-db --with-mysqld-user=mysql --with-big-tables --with-ssl=/usr/local/lib/openssl/ --with-zlib-dir=/usr/local/lib/zlib/ --with-plugins=partition,blackhole,federated,ftexample,archive,csv,heap,myisam,myisammrg,innobase

 

./configure --prefix=/opt/server/db/mysqlcluster/clusterdb/mysqlone/ --with-charset=utf8 --with-collation=utf8_general_ci --with-system-type=testserver --with-server-suffix=-

clusterdb-ndb-admin --with-zlib-dir=/opt/lib/zlib/ --with-comment=clusterdb-server-ndb-admin --with-big-tables --with-ssl=/opt/lib/openssl --with-ndb-port-base=9000 --with-

plugins=partition,federated,blackhole,innodb_plugin,archive,csv,heap,innobase,myisam,myisammrg,ndbcluster

 

php

./configure --prefix=/opt/server/phpexe --mandir=/usr/share/man/ --with-apxs2=/opt/server/apache/httpd/bin/apxs --enable-safe-mode --enable-sigchild --enable-magic-quotes --with-libxml-dir=/usr/lib --with-openssl=/usr/local/lib/openssl/ --with-zlib-dir=/usr/lib --enable-calendar --enable-ftp --with-openssl-dir=/usr/local/lib/openssl/ --with-gd=/usr/lib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/local/lib/libzip/ --with-xpm-dir=/usr/lib --with-freetype-dir=/usr/lib --enable-gd-native-ttf -enable-gd-jis-conv --with-gettext=/usr/lib --enable-mbstring=all --with-mysqli=/opt/server/db/mysqldb/bin/mysql_config --with-pdo-mysql=/opt/server/db/mysqldb/ --enable-shmop --enable-soap --enable-zip

 

./configure --prefix=/usr/local/lib/libgettext --with-included-gettext --with-libxml2-prefix=/usr/lib --with-libncurses-prefix=/usr/lib --with-libcurses-prefix=/usr/lib --with-libexpat-prefix=/usr/lib

 

./configure --prefix=/usr/local/lib/libfontconfig --with-expat=/usr/lib --with-expat-include=/usr/include/ --with-expat=/usr/lib --with-freetype=/usr/local/lib/libfreetype/

 

libpng

export LDFLAGS="-L $HOME/lib/zlib/lib"

export CPPFLAGS="-I $HOME/lib/zlib/include"

 

libjpeg

mkdir -p /usr/local/lib/jpeg/bin

mkdir -p /usr/local/lib/jpeg/include

mkdir -p /usr/local/lib/jpeg/mam/man1

--enable-share

--enable-static

 

shell#autoreconf --force --install
shell#aclocal; autoheader
shell#libtoolize --automake --force
shell#automake --force --add-missing; autoconf

 

# autoreconf --force --install
# libtoolize --automake --force
# automake --force --add-missing

 

 

gd jpeg

mkdir -p /prefix/include

mkdir -p /prefix/bin

mkdir -p /prefix/lib

mkdir -p /prefix/man/man1

 

export PKG_CONFIG_PATH=/usr/local/libxml2/lib/pkgconfig:$PKG_CONFIG_PATH

 

vi Makefile CFLAGS= -O2 -I$(srcdir) -->CFLAGS= -O2 -I$(srcdir) –fPIC

make

make install-lib

make intall

 

 

libxml2

./configure --prefix=/usr/local/lib/libxml2 --with-ftp --with-html --with-http --with-output --with-pattern --with-push --with-reader --with-regexps --with-sax1 --with-schemas --with-schematron --with-threads --with-thread-alloc --with-tree --with-valid --with-writer --with-xinclude --with-xpath --with-xptr --with-zlib=/usr/local/lib/libzip/

 

gd lib

./configure --prefix=/usr/local/lib/gdlib --with-png=/usr/local/lib/libpng/ --with-freetype=/usr/local/lib/libfreetype/ --with-fontconfig=/usr/local/lib/libfontconfig/ --with-jpeg=/usr/local/lib/libjpeg/

 


[root@bogon bin]# ./mysql_install_db --user=mysql
Installing MySQL system tables...
110903 11:47:09 [Warning] Forcing shutdown of 3 plugins
OK
Filling help tables...
110903 11:47:09 [Warning] Forcing shutdown of 3 plugins
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/opt/server/db/cluster/dbone/bin/mysqladmin -u root password 'new-password'
/opt/server/db/cluster/dbone/bin/mysqladmin -u root -h bogon password 'new-password'

Alternatively you can run:
/opt/server/db/cluster/dbone/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /opt/server/db/cluster/dbone ; /opt/server/db/cluster/dbone/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /opt/server/db/cluster/dbone/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /opt/server/db/cluster/dbone/bin/mysqlbug script!

The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/

 

mysql-5.5.8
cmake -DCMAKE_INSTALL_PREFIX=/opt/server/db/mysql5 -DMYSQL_UNIX_ADDR=/tmp/mysql5.sock -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_MYISAM_STORAGE_ENGINE=1

-DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_MEMORY_STORAGE_ENGINE=1 -DWITH_READLINE=1 -DENABLED_LOCAL_INFILE=1 -DMYSQL_USER=mysql -DMYSQL_TCP_PORT=4306 -DWITH_SSL=bundled -

DSYSCONFDIR=/opt/server/db/mysql5/etc -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1

 

 

 

./configure --prefix=/usr/local/resin
--with-resin-root=/var/www/resin
--with-resin-log=/var/log/resin
--with-resin-conf=/etc/resin
--with-resin-init.d=/etc/init.d/
--with-java-home=/usr/local/jdk/
--with-apache=/usr/local/httpd/
--with-apxs=/usr/local/httpd/bin/apxs
--with-openssl=/usr/local/lib/opensll/
--with-openssl-include=/usr/local/lib/opensll/include/
--with-openssl-lib=/usr/local/lib/opensll/lib/

分享到:
评论

相关推荐

    mac的颜色配置文件_苹果颜色配置文件下载 操作系统.zip

    从给定的文件信息来看,这个压缩包似乎包含了与苹果操作系统中Mac颜色配置文件相关的内容。在苹果的MacOS操作系统中,颜色配置文件是用于确保不同设备间颜色显示一致性的关键组件。这些配置文件能够定义显示设备、...

    保存INI配置文件和读取配置文件

    INI 配置文件的保存和读取 INI 配置文件是一种常见的文件格式,用于存储程序的配置信息。它是一种简单的持久化机制,允许程序在启动时初始化配置信息。INI 文件由多个节(Section)组成,每个节中可以有多个键名...

    sourceinsight4 风格配置文件

    **SourceInsight 4 风格配置文件详解** SourceInsight 4 是一款深受程序员喜爱的源代码分析和编辑工具,它提供了强大的代码浏览、查找、跳转和编辑功能。在SourceInsight中,用户可以根据个人喜好和工作需求定制...

    Android读写配置文件

    在Android开发中,读写配置文件是常见的任务,主要用于存储应用程序的设置、用户偏好或者其他持久化数据。配置文件通常以XML或JSON格式存在,因为它们结构清晰,易于解析。本实例将详细介绍如何在Android中进行读取...

    Spring Boot多模块配置文件读取

    在Spring Boot应用中,多模块配置文件的读取是一个重要的实践,它有助于提高代码的可维护性和模块化。本文将详细探讨如何在Spring Boot的多模块项目中管理和使用不同的配置文件,以实现低耦合的设计。 首先,了解...

    C# winform 读取修改配置文件

    在C#编程中,Windows Forms(Winform)应用程序经常需要与配置文件进行交互,以便存储和检索应用设置。本文将详细讲解如何在Winform中读取和修改配置文件,特别是`appSettings`部分,这对于大多数桌面应用来说是至关...

    C#读写配置文件(附源代码)

    在C#编程中,配置文件是用于存储应用程序运行时所需的设置和参数的重要工具。这些设置可以包括数据库连接字符串、API密钥、应用路径等。本教程将深入探讨如何使用C#进行配置文件的读写操作,并提供源代码供学习者...

    Hikvision配置文件解码器.zip

    标题中的“Hikvision配置文件解码器.zip”指出,这是一个与解码Hikvision视频监控设备配置文件相关的工具或程序。Hikvision是全球知名的安防监控设备制造商,其产品广泛应用于各种场所,如家庭、商业设施、公共安全...

    Linux C语言的配置文件操作库

    在Linux系统中,C语言作为底层编程的主要工具,其对配置文件的操作往往涉及到繁琐的文件I/O操作。然而,为了简化这一过程,开发者通常会利用特定的库来处理配置文件,比如读取、写入、解析键值对等。本文将深入探讨...

    vSphere 主机配置文件 5.5

    vSphere 主机配置文件是VMware vSphere虚拟化平台的一个重要组成部分,它允许IT管理员创建、管理和应用配置文件来标准化和自动化vCenter Server中的ESXi主机配置。使用vSphere主机配置文件可以提高效率并减少重复...

    海康威视配置文件解码专用工具器.rar

    本文将详细讲解海康威视配置文件解码的专业知识,以及如何利用“海康威视配置文件解码专用工具器”进行操作。 首先,了解什么是配置文件。在海康威视的设备中,配置文件通常包含了摄像头、NVR(网络视频录像机)或...

    LabVIEW 写入与读取配置文件

    在LabVIEW中,配置文件是用于存储应用程序设置、参数或状态的关键元素。这些文件通常以.ini或.xml格式存在,允许程序在运行时根据这些配置进行自定义行为。本教程将深入探讨如何在LabVIEW中进行配置文件的写入与读取...

    linux c 配置文件读写

    在Linux系统中,C语言开发过程中,经常需要与配置文件打交道,进行读取和写入操作。配置文件通常用于存储程序的设置或用户偏好,使其能够根据不同的环境或需求进行定制。下面我们将深入探讨如何在C语言中实现对配置...

    MACBook颜色配置文件Apple-MAC-OS-Color LCD.rar

    标题中的“MACBook颜色配置文件Apple-MAC-OS-Color LCD.rar”指的是为苹果MacBook设计的一种特定的颜色配置文件,这种文件通常以ICC(International Color Consortium)格式存在,用于优化显示器的色彩表现,确保...

    mac的颜色配置文件

    "mac的颜色配置文件",也就是苹果的ICC(International Color Consortium)配色文件,是这个过程中的重要组成部分。 ICC配色文件是一种标准化的方式,用来描述显示器、打印机、扫描仪等设备如何解释和再现颜色。这些...

    C++读写ini配置文件

    在C++编程中,处理配置文件通常是为了存储和读取应用程序的设置或用户偏好。ini文件是一种常见的配置文件格式,其结构简单,易于理解和操作。本文将深入探讨如何使用C++来读写ini配置文件,主要参考提供的"rwconfig....

    pore5.0配置文件

    **Pore5.0配置文件详解** 在3D建模和产品设计领域,Pro/E(现称为Creo Parametric)是一款广泛使用的软件,其最新版本为Creo 5.0,简称Pore5.0。配置文件对于Pro/E的运行至关重要,它定义了软件的各种参数和设置,...

    分享BigemapPro地图配置文件

    分享BigemapPro地图配置文件

    foobar 均衡器 最强配置文件

    "foobar 均衡器 最强配置文件"指的是在音乐播放软件Foobar2000中使用的高级音频调整工具——均衡器的一种优化设置。Foobar2000是一款深受音乐爱好者喜爱的高质量音频播放器,它支持各种音频格式,并允许用户自定义...

Global site tag (gtag.js) - Google Analytics