六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 16|回复: 0

linux下mysql-5.5安装 配置 选项

[复制链接]

升级  17%

73

主题

73

主题

73

主题

举人

Rank: 3Rank: 3

积分
251
 楼主| 发表于 2013-1-31 10:48:21 | 显示全部楼层 |阅读模式
近段安装mysql-5.5,发现需要用cmake安装了,安装步骤基本一样,不过配置变太大了,终于在官方文档上找到了,记录一下:
Installation Layout Options

The CMAKE_INSTALL_PREFIX option indicates the base installation directory. Other options with names of the form INSTALL_xxx that indicate component locations are interpreted relative to the prefix and their values are relative pathnames. Their values should not include the prefix.

    -DCMAKE_INSTALL_PREFIX=dir_name

    The installation base directory.

    This value can be set at server startup with the --basedir option.

    -DINSTALL_BINDIR=dir_name

    Where to install user programs.

    -DINSTALL_DOCDIR=dir_name

    Where to install documentation.

    -DINSTALL_DOCREADMEDIR=dir_name

    Where to install README files.

    -DINSTALL_INCLUDEDIR=dir_name

    Where to install header files.

    -DINSTALL_INFODIR=dir_name

    Where to install Info files.

    -DINSTALL_LAYOUT=name

查看更多http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html#cmake-general-options
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表