This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ruby-rails-1gb-nyc3-01:/home/search_app# bundle exec solr_wrapper | |
Starting Solr 7.0.0 on port 8983 ... solr-7.0.0.zip: |===========================================================================| 100% (Time: 00:00:02 ) | |
solr-7.0.0.zip.md5: |=======================================================================| 100% (Time: 00:00:00 ) | |
/usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/lib/solr_wrapper/instance.rb:322:in `exec': Failed to execute solr start: WARNING: Starting Solr as the root user is a security risk and not considered best practice. Exiting. (RuntimeError) | |
Please consult the Reference Guide. To override this check, start with argument '-force' | |
. Further information may be available in /tmp/solr-7.0.0/logs | |
from /usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/lib/solr_wrapper/instance.rb:75:in `start' | |
from /usr/local/rvm/gems/ruby-2.4.0/gems/solr_wrapper-1.1.0/lib/solr_wrapper/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ruby-rails-1gb-nyc3-01:/home/search_app# rake solr:marc:index_test_data | |
rake aborted! | |
Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) for "127.0.0.1" port 8983 (127.0.0.1:8983) | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
* | |
FROM | |
sierra_view.order_record AS o | |
JOIN | |
sierra_view.order_record_paid AS orp | |
ON | |
o.id = orp.order_record_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# copy the downloaded file into /opt directory | |
cp gitkraken-amd64.tar.gz /opt/gitkraken | |
cd /opt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# In order to access RStudio server via the web interface, you must log on with | |
# a user account that allows password access. This script does not add that user | |
# by default. You may either ssh as root into the server and `adduser` as | |
# normal, or script a user addition here: | |
# users: | |
# - name: # username # | |
# lock-passwd: false # allow login with password |
NewerOlder