YUKI Hiroshi
null+****@clear*****
Thu Nov 29 13:02:29 JST 2012
YUKI Hiroshi 2012-10-22 13:47:43 +0900 (Mon, 22 Oct 2012) New Revision: 8913ecd8adf9280b43948cd29812672c6e7253f8 https://github.com/groonga/gcs.groonga.org/commit/8913ecd8adf9280b43948cd29812672c6e7253f8 Merged bc41cf6: Merge branch 'master' into gh-pages Log: Update descriptions about custom privileged IP ranges for services Modified files: docs/tutorial/index.md Modified: docs/tutorial/index.md (+16 -17) =================================================================== --- docs/tutorial/index.md 2012-10-22 13:00:47 +0900 (3b41dad) +++ docs/tutorial/index.md 2012-10-22 13:47:43 +0900 (cee194a) @@ -247,26 +247,22 @@ can work for any host. You can specify the host name and the port number via the $ gcs-describe-domain --base-host=192.168.0.123:7575 -If you omit the option, gcs-commands will work for localhost:7575. And, if you -want to configure Groonca CloudSearch on a remote server, Preliminarily, you -have to start the service on the server with `--privilege` option to allow -acesses from other computers, like: +If you omit the option, gcs-commands will work for localhost:7575. - $ gcs --privilege "127.0.0.1/8,192.168.0.1/24" +And, if you want to configure a Groonca CloudSearch service on a remote server, +preliminarily you have to start the service on the server with `--privilege` +option to allow acesses from other computers, like: -By default it is "127.0.0.0/8", so you can configure the service only from the -computer itself. + $ gcs --privilege "127.0.0.1/8,192.168.0.1/24" -If the server is running as a service, currently you cannot change the IP range -and it is fixed to the default one. (It will be configurable in the future.) +If the server is running as a service, you have to configure the IP range via +an environment variable `GCS_PRIVILEGED_RANGES` and restart the service, like: -to start the service on the server with `--privilege` option to accept accesses -from other computers, like: + $ export GCS_PRIVILEGED_RANGES=127.0.0.1/8,192.168.0.1/24 + $ sudo service gcs restart - $ gcs --privilege "127.0.0.1/8,192.168.0.1/24" - -By default it is "127.0.0.0/8", so you can configure the service only from the -computer. +By default the privileged IP range is "127.0.0.0/8", so you can configure the +service only from the computer itself. By the way, the `gcs-import-example` command is written as a shell script with these gcs-commands. @@ -374,8 +370,11 @@ IP range. By default it is "127.0.0.0/8", and you can change it by the $ gcs --privilege "127.0.0.1/8,192.168.0.1/24" -If the server is running as a service, currently you cannot change the IP range -and it is fixed to the default one. (It will be configurable in the future.) +If the server is running as a service, you have to configure the IP range via +an environment variable `GCS_PRIVILEGED_RANGES` and restart the service, like: + + $ export GCS_PRIVILEGED_RANGES=127.0.0.1/8,192.168.0.1/24 + $ sudo service gcs restart By the way, the `gcs-import-example-http` command is written as a shell script with these APIs. -------------- next part -------------- HTML����������������������������... Descargar