CentOS上的SciDB14.3单机安装配置
2015-01-08 14:58
281 查看
1. 打开SciDB的默认端口
修改/etc/sysconfig/iptables文件,添加下边的配置行
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1239 -j ACCEPT
2. 下载源码,修改源码所在的路径为<dev_dir>/scidbtrunk
3. 安装第三方的各种库
cd <dev_dir>/scidbtrunk
deployment/deploy.sh prepare_toolchain localhost
4. 安装postgresql
cd <dev_dir>/scidbtrunk
deployment/deploy.sh prepare_postgres postgres postgres localhost/24 locolhost
postgresql的用户名是postgres,密码是postgres,位置及端口是localhost/24
5. 配置postgres用户可以读取scidb的源码地址
sudo usermod -G root -a postgres
chmod a+rx <dev_dir>
我这里使用的就是root权限,也可以使用一个scidb用户单独做scidb相关的操作
可以测试一下是否postgres用户的权限配好
sudo -u postgres ls <dev_dir>
如果显示的是permission_denied就是没有配置好
6. 环境变量的设置,可以修改~/.bashrc文件
export SCIDB_VER=14.3
export SCIDB_INSTALL_PATH=<dev_dir>/scidbtrunk/stage/install
export PATH=$SCIDB_INSTALL_PATH/bin:$PATH
7.Build过程,这个是出现问题最多的
./run.py setup
如果你的直接通过,恭喜!
问题一,boost库找不到,cmake文件里显示的boost库的版本要求是1.54,从sourceforge下载boost1.54压缩包并解压
安装bzip2-devel如下
sudo yum whatprovide */bzlib.h
sudo yum install bzip2-devel-1.xxxx.x86_64
编译
./bootstrap.sh --prefix=/opt/scidb/14.3/3rdparty/boost
这里我是看到cmake里是按照这个路径寻找的,先这么写吧
安装
./bjam install
增加一个配置文件/etc/ld/so.conf.d/boost-x86_64.conf,内容为/opt/scidb/14.3/3rdparty/boost
配置BOOST_ROOT变量和BOOST_INDLUDEDIR变量
export BOOST_ROOT=/opt/scidb/14.3/3rdparty/boost
export BOOST_INCLUDEDIR=/opt/scidb/14.3/3rdparty/boost/include
修改/etc/sysconfig/iptables文件,添加下边的配置行
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1239 -j ACCEPT
2. 下载源码,修改源码所在的路径为<dev_dir>/scidbtrunk
3. 安装第三方的各种库
cd <dev_dir>/scidbtrunk
deployment/deploy.sh prepare_toolchain localhost
4. 安装postgresql
cd <dev_dir>/scidbtrunk
deployment/deploy.sh prepare_postgres postgres postgres localhost/24 locolhost
postgresql的用户名是postgres,密码是postgres,位置及端口是localhost/24
5. 配置postgres用户可以读取scidb的源码地址
sudo usermod -G root -a postgres
chmod a+rx <dev_dir>
我这里使用的就是root权限,也可以使用一个scidb用户单独做scidb相关的操作
可以测试一下是否postgres用户的权限配好
sudo -u postgres ls <dev_dir>
如果显示的是permission_denied就是没有配置好
6. 环境变量的设置,可以修改~/.bashrc文件
export SCIDB_VER=14.3
export SCIDB_INSTALL_PATH=<dev_dir>/scidbtrunk/stage/install
export PATH=$SCIDB_INSTALL_PATH/bin:$PATH
7.Build过程,这个是出现问题最多的
./run.py setup
如果你的直接通过,恭喜!
问题一,boost库找不到,cmake文件里显示的boost库的版本要求是1.54,从sourceforge下载boost1.54压缩包并解压
安装bzip2-devel如下
sudo yum whatprovide */bzlib.h
sudo yum install bzip2-devel-1.xxxx.x86_64
编译
./bootstrap.sh --prefix=/opt/scidb/14.3/3rdparty/boost
这里我是看到cmake里是按照这个路径寻找的,先这么写吧
安装
./bjam install
增加一个配置文件/etc/ld/so.conf.d/boost-x86_64.conf,内容为/opt/scidb/14.3/3rdparty/boost
配置BOOST_ROOT变量和BOOST_INDLUDEDIR变量
export BOOST_ROOT=/opt/scidb/14.3/3rdparty/boost
export BOOST_INCLUDEDIR=/opt/scidb/14.3/3rdparty/boost/include
相关文章推荐
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0(转)
- 3、单机运行环境搭建之 --CentOS-6.5安装配置Tengine
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0
- Centos下Spark单机版(python)安装配置
- CentOS下 RabbitMQ单机安装配置
- 1、单机运行环境搭建之 --CentOS-6.5安装配置JDK-7
- centos单机安装配置openstack
- 2、单机运行环境搭建之 --CentOS-6.5安装配置Tomcat7
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0
- CentOS 6.4单机环境下安装配置Storm
- 单机运行环境搭建之 --CentOS-6.5安装配置Tengine
- 2、单机运行环境搭建之 --CentOS-6.5安装配置Tomcat8
- 1、单机运行环境搭建之 --CentOS-6.5安装配置JDK-8
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0
- 3、单机运行环境搭建之 --CentOS-6.5安装配置Tengine
- centos7下yum安装mysql5.6.30及单机配置多实例
- Hadoop安装教程_单机/伪分布式配置_CentOS6.4/Hadoop2.6.0