YUKI Hiroshi
null+****@clear*****
Tue Jul 22 19:31:57 JST 2014
YUKI Hiroshi 2014-07-22 19:31:57 +0900 (Tue, 22 Jul 2014) New Revision: b1ffac35a02561554be70ebf9a6053e204c02b88 https://github.com/droonga/droonga.org/commit/b1ffac35a02561554be70ebf9a6053e204c02b88 Message: Add steps to install CentOS 6.5 Modified files: tutorial/1.0.5/basic/index.md tutorial/1.0.5/groonga/index.md Modified: tutorial/1.0.5/basic/index.md (+14 -3) =================================================================== --- tutorial/1.0.5/basic/index.md 2014-07-11 12:55:04 +0900 (48f4c16) +++ tutorial/1.0.5/basic/index.md 2014-07-22 19:31:57 +0900 (c7fe40e) @@ -12,7 +12,7 @@ Learning steps to setup a Droonga based search system by yourself, with low-laye ## Precondition -* You must have basic knowledge and experiences to setup and operate an [Ubuntu][] Server. +* You must have basic knowledge and experiences to setup and operate an [Ubuntu][] or [CentOS][] Server. * You must have basic knowledge and experiences to develop applications based on the [Ruby][] and the [Node.js][]. ## Abstract @@ -67,7 +67,7 @@ For example, let's try to build a database system to find [Starbucks stores in N ## Prepare an environment for experiments Prepare a computer at first. This tutorial describes steps to develop a search service based on the Droonga, on an existing computer. -Following instructions are basically written for a successfully prepared virtual machine of the `Ubuntu 13.10 x64` on the service [DigitalOcean](https://www.digitalocean.com/), with an available console. +Following instructions are basically written for a successfully prepared virtual machine of the `Ubuntu 13.10 x64` or `CentOS 6.5 x64` on the service [DigitalOcean](https://www.digitalocean.com/), with an available console. NOTE: Make sure to use instances with >= 2GB memory equipped, at least during installation of required packages for Droonga. Otherwise, you may experience a strange build error. @@ -77,10 +77,20 @@ Assume that the host is `192.168.0.10`. Install packages required to setup a Droonga engine. +Ubuntu: + # apt-get update # apt-get -y upgrade # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy npm +CentOS: + + # yum -y groupinstall development + # curl -L get.rvm.io | bash -s stable + # source /etc/profile.d/rvm.sh + # rvm reload + # rvm install 2.1.2 + ## Build a Droonga engine The part "Droonga engine" stores the database and provides the search feature actually. @@ -1072,12 +1082,13 @@ For more details of the Droonga HTTP Server, see the [reference manual][http-ser ## Conclusion -In this tutorial, you did setup both packages [droonga-engine][] and [droonga-http-server][] which construct [Droonga][] service on a [Ubuntu Linux][Ubuntu]. +In this tutorial, you did setup both packages [droonga-engine][] and [droonga-http-server][] which construct [Droonga][] service on a [Ubuntu Linux][Ubuntu] or [CentOS][] computer. Moreover, you built a search system based on an HTTP protocol adapter with a Droonga engine, and successfully searched. [http-server]: ../../reference/http-server/ [Ubuntu]: http://www.ubuntu.com/ + [CentOS]: https://www.centos.org/ [Droonga]: https://droonga.org/ [droonga-engine]: https://github.com/droonga/droonga-engine [droonga-http-server]: https://github.com/droonga/droonga-http-server Modified: tutorial/1.0.5/groonga/index.md (+14 -3) =================================================================== --- tutorial/1.0.5/groonga/index.md 2014-07-11 12:55:04 +0900 (2fc0320) +++ tutorial/1.0.5/groonga/index.md 2014-07-22 19:31:57 +0900 (84cf469) @@ -12,7 +12,7 @@ Learning steps to run a Droonga cluster by your hand, and use it as a [Groonga][ ## Precondition -* You must have basic knowledge and experiences to set up and operate an [Ubuntu][] Server. +* You must have basic knowledge and experiences to set up and operate an [Ubuntu][] or [CentOS][] Server. * You must have basic knowledge and experiences to use the [Groonga][groonga] via HTTP. ## What's Droonga? @@ -31,7 +31,7 @@ For example, let's try to build a database system to find [Starbucks stores in N Prepare a computer at first. This tutorial describes steps to set up a Droonga cluster based on existing computers. -Following instructions are basically written for a successfully prepared virtual machine of the `Ubuntu 13.10 x64` on the service [DigitalOcean](https://www.digitalocean.com/), with an available console. +Following instructions are basically written for a successfully prepared virtual machine of the `Ubuntu 13.10 x64` or `CentOS 6.5 x64` on the service [DigitalOcean](https://www.digitalocean.com/), with an available console. NOTE: Make sure to use instances with >= 2GB memory equipped, at least during installation of required packages for Droonga. Otherwise, you may experience a strange build error. @@ -54,10 +54,20 @@ Assume that you have two computers: `192.168.0.10` and `192.168.0.11`. 1. Install required platform packages, *on each computer*. + Ubuntu: + # apt-get update # apt-get -y upgrade # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy npm + CentOS: + + # yum -y groupinstall development + # curl -L get.rvm.io | bash -s stable + # source /etc/profile.d/rvm.sh + # rvm reload + # rvm install 2.1.2 + 2. Install a gem package `droonga-engine`, *on each computer*. It is the core component provides most features of Droonga system. @@ -299,7 +309,7 @@ Of course you can specify conditions via the `query` option: ## Conclusion -In this tutorial, you did set up a [Droonga][] cluster on [Ubuntu Linux][Ubuntu] computers. +In this tutorial, you did set up a [Droonga][] cluster on [Ubuntu Linux][Ubuntu] or [CentOS][] computers. Moreover, you load data to it and select data from it successfully, as a [Groonga][] compatible server. Currently, Droonga supports only some limited features of Groonga compatible commands. @@ -308,6 +318,7 @@ See the [command reference][] for more details. Next, let's learn [how to backup and restore contents of a Droonga cluster](../dump-restore/). [Ubuntu]: http://www.ubuntu.com/ + [CentOS]: https://www.centos.org/ [Droonga]: https://droonga.org/ [Groonga]: http://groonga.org/ [command reference]: ../../reference/commands/ -------------- next part -------------- HTML����������������������������...Download