1EdTech / casa-ref

Other
1 stars 0 forks source link

Documentation additions for Installation #12

Open StillSlippery opened 10 years ago

StillSlippery commented 10 years ago
  1. Does CASA need to be run as root or with other special privileges?
    1. are there any dangers running it as root?
  2. While installing the CASA gem as a "standard daemon" (UID 103) I get the following error:
Fetching: casa-0.1.5.dev.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/local/rvm/gems/ruby-2.1.0 directory.
  1. "gem install casa --pre" must be run as root and then "casa engine setup" can be run as unprivileged user.
  2. Add mysql2 gem in the "Requires" section if using MySQL it is stated farther down but only after completing the step that needs it.
    1. mysql2 gem requires mysql-devel to be installed on the system
  3. Need to probably break up the parts for "Installing CASA gem" and "Configuring and running CASA"
    1. Installing the gem requires privileges to write into the local gem repository
    2. Configuring and running CASA only requires privileges to write the CASA config file (as far as I can tell). True??
  4. How do I know if this was successful? I ran casa engine start and got:
W, [2014-07-15 16:10:58#23234]  WARN -- Initialize - Index: Could not initialize Elasticsearch - advanced search functions will not be available
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Publisher: Loaded casa/engine/module/publisher/configure
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Receiver: Loaded casa/engine/module/receiver/configure
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Local: Loaded casa/engine/module/local/configure
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Publisher: Loaded casa/engine/module/publisher/routes
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Local: Loaded casa/engine/module/local/routes
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Admin/engine: Loaded casa/engine/module/admin/engine/routes
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Receiver: Loaded casa/engine/module/receiver/start
I, [2014-07-15 16:10:58#23234]  INFO -- Module - Local: Loaded casa/engine/module/local/start

Looks like elastic search isn't working.

StillSlippery commented 10 years ago

Elasticsearch 1.2.0 requires Java 1.7.0_55 or better