null+****@clear*****
null+****@clear*****
2012年 7月 3日 (火) 18:01:08 JST
Kouhei Sutou 2012-07-03 18:01:08 +0900 (Tue, 03 Jul 2012) New Revision: c4d4a012c07ad63e3ccca3d67a62a22963f9751a https://github.com/groonga/gcs.groonga.org/commit/c4d4a012c07ad63e3ccca3d67a62a22963f9751a Log: install: add descriptions Modified files: install/index.md Modified: install/index.md (+101 -10) =================================================================== --- install/index.md 2012-07-03 15:27:37 +0900 (3d214c2) +++ install/index.md 2012-07-03 18:01:08 +0900 (9a6e832) @@ -5,24 +5,115 @@ layout: default # Install -## Mac OS X +Groonga CloudSearch can be installed easily on the following platforms: + +* [Mac OS X](#mac-os-x) +* [CentOS 5/6](#centos) +* [Ubuntu 12.04 LTS (Precise Pangolin)](#ubuntu) + +How to install on [other platforms](#others) is described at the last. + +## Mac OS X {#mac-os-x} + +All-in-one package is provided for Mac OS X. You just download and +extract it. You don't need to install Xcode and so on. curl -O http://packages.groonga.org/macosx/gcs/gcs-1.0.0.tar.gz tar xvzf gcs-1.0.0.tar.gz - cd gcs-1.0.0 - ./gcs -## Debian +You have `gcs` command that starts Groonga CloudSearch servile in +`gcs-1.0.0/` directory. + +To confirm that Groonga ClouldSearch is installed successfully, type +the following command: - sudo apt-get install groonga npm - sudo npm install -g gcs - gcs + % gcs-1.0.0/gcs + 1.0.0 -## CentOS +If you got 1.0.0, Groonga CloudSearch is installed successfully! Yey! + +## CentOS 5/6 {#centos} + +There are yum repositories that provide softwares required by Groonga +CloudSearch. Here are instructions to install required softwares: + +Add yum repositories for Node.js and groonga: sudo rpm -ivh http://nodejs.tchol.org/repocfg/el/nodejs-stable-release.noarch.rpm sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-0.noarch.rpm sudo yum makecache + +Install required softwares: + sudo yum install -y groonga-devel nodejs-compat-symlinks npm - sudo npm install -g gcs - gcs + +Install Groonga CloudSearch: + + sudo npm install -y -g gcs + +You have `gcs` command that starts Groonga CloudSearch servile in +`/usr/bin/` directory. + +To confirm that Groonga ClouldSearch is installed successfully, type +the following command: + + % gcs + 1.0.0 + +If you got 1.0.0, Groonga CloudSearch is installed successfully! Yey! + +## Ubuntu 12.04 LTS (Precise Pangolin) {#ubuntu} + +There is apt repositories that provide softwares required by Groonga +CloudSearch. Here are instructions to install required softwares: + +To add apt repository for groonga, create +`/etc/apt/sources.list.d/groonga.list` file with the following content: + + deb http://packages.groonga.org/ubuntu/ precise universe + deb-src http://packages.groonga.org/ubuntu/ precise universe + +Install GPG key for the apt repository: + + sudo apt-get update + sudo apt-get -y --allow-unauthenticated install groonga-keyring + sudo apt-get update + +Install required softwares: + + sudo apt-get install -y libgroonga-dev npm + +Install Groonga CloudSearch: + + sudo npm install -y -g gcs + +You have `gcs` command that starts Groonga CloudSearch servile in +`/usr/local/bin/` directory. + +To confirm that Groonga ClouldSearch is installed successfully, type +the following command: + + % gcs + 1.0.0 + +If you got 1.0.0, Groonga CloudSearch is installed successfully! Yey! + +## Others {#others} + +Groonga CloudSearch can be installed on other platforms by +[npm](http://npmjs.org/). npm is a package manager for Node.js and +bundled in Node.js. To install Node.js on your platform, see [install +document for Node.js](http://nodejs.org/#download). Type the following +command after you install Node.js: + + sudo npm install -y -g gcs + +You have `gcs` command that starts Groonga CloudSearch servile. + +To confirm that Groonga ClouldSearch is installed successfully, type +the following command: + + % gcs + 1.0.0 + +If you got 1.0.0, Groonga CloudSearch is installed successfully! Yey! -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... 下载