(一)安装drizzle所需的环境:
#CentOS-5.2-x86_64-bin-DVD.iso
由于官方推荐drizzle安装在64位操作系统上,所以需要先在宿主机中创建新的虚拟机并且安装64位centos操作系统。
(二)drizzle安装
http://docs.drizzle.org/installing/redhat.html
方法一:取sourc直接编译安装
#http://docs.drizzle.org/installing/from_source.html#compile-source
./config/autorun.sh #取个最新版本的Source,然后解压缩,里面应该有autorun.sh文件的。
./configure
make
make install
方法二:利用官方提供的rpm包安装手顺安装(推荐)
#redhat和centos是一样的吧
http://docs.drizzle.org/installing/redhat.html
①Install EPEL Repository on 64-bit Linux 5.X:
sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
#远程安装不行的话,可以先下载下来在安装\(^o^)/~
②To add the Drizzle repository to your system you also need to create a /etc/yum.repos.d/drizzle.repo file with the following content:
RedHat→
[drizzle]
name=drizzle
baseurl=http://rpm.drizzle.org/7-dev/redhat/$releasever/$basearch/
enabled=1
gpgcheck=0
[drizzle-src]
name=drizzle-src
baseurl=http://rpm.drizzle.org/7-dev/redhat/$releasever/source
enabled=1
gpgcheck=0
$releasever uses RHEL 5 or RHEL 6, and $basearch is the architecture (i386 or x86_64).
因此对于本系统来说,上述/etc/yum.repos.d/drizzle.repo的内容应该是:
[drizzle]
name=drizzle
baseurl=http://rpm.drizzle.org/7-dev/redhat/5/x86_64/
enabled=1
gpgcheck=0
[drizzle-src]
name=drizzle-src
baseurl=http://rpm.drizzle.org/7-dev/redhat/5/source
enabled=1
gpgcheck=0
③You can then install Drizzle by running the following command:
sudo yum install drizzle7-server drizzle7-client
或者
yum install drizzle7-server drizzle7-client
(三)服务器端和客户端启动
参考:
http://wiki.drizzle.org/Starting_drizzled#Starting_drizzled
http://www.lupaworld.com/article-133135-2.html
利用上述方法二安装好drizzle之后,请按照如下手顺启动drizzle服务:
安装完成后,就要为数据库服务器创建一个非特权组和用户,如下:
shell> groupadd drizzle
shell> useradd -g drizzle drizzle
另外还要创建一个目录以存放数据库文件,并给予适当的权限,如下:
shell> mkdir /usr/local/drizzle
shell> mkdir /usr/local/drizzle/data
shell> cd /usr/local/drizzle
shell> chown -R drizzle .
shell> chgrp -R drizzle .
然后,用以下命令启动Drizzle服务器:
shell> /usr/sbin/drizzled --user=drizzle --basedir=/usr/local/drizzle/ --datadir=/usr/local/drizzle/data/ &
出现错误如下:Plugin 'md5' init function returned error
解决办法:yum install libgcrypt-devel
然后继续启动:
[root@rdb6 include]# /usr/sbin/drizzled --user=drizzle --basedir=/usr/local/drizzle/ --datadir=/usr/local/drizzle/data/ &
[1] 19209
[root@rdb6 include]# InnoDB: Log scan progressed past the checkpoint lsn 48941
110407 11:36:08 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
110407 11:36:09 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
Listening on /tmp/mysql.socket
然后尝试打开客户端:
[root@rdb6 tmp]# /usr/bin/drizzle
Welcome to the Drizzle client.. Commands end with ; or \g.
Your Drizzle connection id is 2
Connection protocol: mysql
Server version: 2011.03.11 Source distribution (drizzle)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
drizzle>
连接成功了,说明启动成功。
Shutting down drizzle
/usr/bin/drizzle --shutdown
Shutting down drizzle on certain port
/usr/bin/drizzle --shutdown --port=<PORT_NUMBER>
分享到:
相关推荐
先决条件您将需要适用于Chrome的Metamask插件,还有其他可用选项,但此处仅介绍Metamask安装全局安装Truffle和Ganache CLI。 如果您愿意,Ganache的图形版本也可以使用! npm install - g trufflenpm install - g ...
如教程中所述,您将需要安装Node.js和Truffle-请参阅“设置开发环境”。 有关在项目中实现钩子的更多详细信息,请参见的ReactJS和 。 要得到这个盒子 创建一个新目录。 在新目录中,运行truffle unbox ...
它包括drizzle , drizzle-react和drizzle-react-components ,使您可以全面了解细雨的功能。 安装 首先,请确保您位于新的空目录中。 运行unbox通过命令npx然后跳到第3步。这将安装所有必要的依赖。 在app目录中...
安装$ npm install --save drizzle-builder用法import drizzle from 'drizzle-builder' ;drizzle ( options ) . then ( drizzleData => { // drizzleData object contains data about the build} ) ;用毛毛雨创作...
受到和启发。 重要的! 该库仍处于实验阶段。这是什么Drizzle-HTTP是一个库,通过... 添加拦截器取消请求安装Drizzle-HTTP分为不同的程序包。 主软件包@drizzle-http/core仅包含核心组件。 您需要安装其他软件包才能
通过NPM安装: npm install @drizzle-utils/core @drizzle-utils/get-web3 用法示例: // import/require the packages you need const getWeb3 = require ( "@drizzle-utils/get-web3" ) ; const ...
与游戏Myst相关的工具集合。 最值得注意的是,它可以将MOUL / Myst5 / Crowthistle数据文件转换为POTS数据文件。 它还允许您下载并安装所有风扇年龄。 有关详细信息,请参见http://myst.dustbird.net/wiki/Drizzle
入门细雨槽命令行进入dapp文件夹cd dapp安装全局安装Truffle和Ganache CLI。 如果您愿意,Ganache的图形版本也可以使用! npm install -g trufflenpm install -g ganache-cli 运行开发区块链,我们建议您传递一个块...
安装松露 是用于开发以太坊dApp的框架: npm install truffle -g 安装Ganache Ganache是以太坊区块链/网络的本地主机模拟器。 我建议将Ganache与GUI一起使用(但如果需要,也可以使用CLI版本): : 。 请...
VueWeb3 Web3 1.0的Vue.js绑定安装在模块环境中,例如CommonJS: npm install vue web3@beta vue-web3 var Vue = require ( 'vue' )var Web3 = require ( 'web3' )var VueWeb3 = require ( 'vue-web3' )// explicit ...
内容: 为了向后兼容,一些代码的IDL实现位于idl /目录中Python代码位于miri3d /目录中/ cubepar /:用于创建管道多维数据集构建参数文件(cubepars)的代码/ drizzle /:基于毛毛雨的多维数据集构建算法的独立实现...
团结互助 ...truffle unbox drizzle # don't forget to install other dependencies in root and app directory # compiles and migrates smart contracts; changes to the smart contract must be manualy
在以太坊上使用Truffle,Drizzle和VueBootstrap的智能婚姻合同。 安装 确保在您的计算机上安装了npm , Truffle和Ganache 。 v5.2.3版要求使用Truffle 。 使用npm下载所有项目依赖项: npm install 发展 首先在...
【插件安装方法】安装方法很简单,按上面的地址下载后先进行解压,然后复制到 X:\Adobe\After Effects 6.5(或7.0)\Plug-ins\文件夹下即可 请大家注意一下:“Tiler.aex (瓦盖、瓦片效果)插件”没有汉化,因为...
阿尔法优势项目 项目报告可以在看到项目介绍可以在看到我们旨在为初学者创建一个简单实用的工具来检查库存。... 安装所需的软件包 pip install -r requirements.txt export FLASK_APP=app.py export FLASK_ENV=deve
该软件在HST数据上的使用情况在以下位置进行了说明: http://drizzlepac.stsci.edu/可以在以下位置找到代码本身中记录的接口的完整说明: http://drizzlepac.readthedocs.io安装conda(推荐) $ conda config --add...