I have Grails project in which I have added elastic search dependencies.
Now I want to install head plugin .
According to documentation of head plugin, command for this is:
elasticsearch/bin/plugin -install mobz/elasticsearch-head
But I am not able to find bin directory of ES.
So where is the elasticsearch installed in Grails ?
Do :
cd /usr/share
and
elasticsearch/bin/plugin -install mobz/elasticsearch-head
You have a Car with Satellite radio in it. If there is a request to add a new channel to the satellite radio service, then that has to be done in the broadcasting station instead of installing any kind of component/tool in your Car. :)
Similarly, When you say you added elastic search dependencies to a Grails project that does not mean you have a elastic server running in the same application.
The documentation for head plugin (here plugin means an add-on to elastic server, instead of a Grails plugin) refers to elastic server (where you can find a bin directory).
Your best approach would be Running as a standalone webapp if you have elastic server running in your localhost during development. Or run it as a plugin to elastic server installation wherever it is installed. I hope I was able to convey. :)
Do:
cd /usr/share
and
elasticsearch/bin/plugin install mobz/elasticsearch-head
Related
I tried to install Cloud Foundary cfdev plugin to setup pivotal cloud environment in local machine (MacOS Big Sur).
~ % cf install-plugin -r CF-Community cfdev
Searching CF-Community for plugin cfdev...
Plugin cfdev 0.0.18 found in: CF-Community
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin cfdev? [yN]: y
Starting download of plugin binary from repository CF-Community...
Get https://d3p1cc0zb2wjno.cloudfront.net/cfdev/cfdev-v0.0.18-rc.36-darwin: dial tcp: lookup d3p1cc0zb2wjno.cloudfront.net: no such host
FAILED
Looks like unable to reach d3p1cc0zb2wjno.cloudfront.net host and even I tried hitting https://d3p1cc0zb2wjno.cloudfront.net/cfdev/cfdev-v0.0.18-rc.36-darwin endpoint in browser but no luck.
Any suggestion to try out, or resolution please?
The link is simple broken. I was building the cfdev plugin with the generate-plugin.sh script in scripts folder. But be careful you need a go version 1.16.xx 1.17.xx is not working due to an bug on macos!
After building the plugin locally you can install the plugin with
cf install-plugin cfdev
The next problem you will get is that the certificates from bosh/director are expired and cfdev will not start :( I'm still searching for a solution for this.
I found a workaround by adjusting the time on the host machine for 01.2021 - in theory, could be any date less than 10.04.2021. I managed to get the full installation + apps-manager and scs. After that, the auto-sync of time could be restored.
Has anybody encountered any issues using forge with AWS for a laravel project?
I've recently followed instructions but I've encountered various errors too many to comment.
After opening a SSH connection to my AWS EC2 instance I've then run the command provided by Taylor on Forge but I get cannot find folder errors etc?
I got a lot of problems with Forge + AWS.
Some of them were:
You should specify correct snapshot for AWS instance - use ubuntu, not Amazon Linux.
You should open SSH for whole world (or get Forge IP address)
Other, a LOT of problems :)
But in the End, I managed to install it.
I've searched the whole internet for this. I have a website that is run by a hosting company. All the tutorials to install Jenkins assume I'm running my own Linux machine and can perform various commands.
Is there a way I can install Jenkins on this website using only FTP?
Thanks.
Maybe. If your hosting company provides Tomcat (or another servlet container/J2EE server like JBoss) then you can install Jenkins as a webapp inside of Tomcat. Typically it just involves placing the jenkins.war file in $TOMCAT_BASE/webapps.
If your hosting company does not provide Tomcat and doesn't allow you to run Java yourself from a shell then AFAIK you can't run Jenkins.
I am trying to setup multiple Ruby on Rails apps on my local machine with Phusion Passenger and Nginx. Unfortunately I can't seem to find a good solution for doing this with a google search. Some solutions I've seen included creating a symlink but essentially what I would like to do is have a different nginx.conf per project and have Phusion Passenger load that file up from perhaps ~/Sites/project/config/nginx.conf in my Ruby on Rails app. Is this possible? If so, how can I achieve that? and If not, what other solutions are there that might point me in the right direction?
Thanks for your help!
==========
Possible Solution
==========
Using RVM I created a new gemset, I then installed the phusion passenger gem under that gemset and during the installation of nginx, I specified the nginx to be installed under ~/Sites/project/config/
This essentially created the following directories:
project
config
conf
sbin
Inside of the project/config/conf exists the nginx.conf file which /project/config/sbin/nginx uses to create its own virtual host. Although I'm sure I can use my centralized nginx configuration at /opt/nginx , the difference is that this helps create a project that can be easily distributable to other devs who are working on the project as well. Any thoughts/concerns?
Since you're on Mac, try out http://pow.cx/
To create a new project/site
cd ~/.pow
ln -s /path/to/myapp
Then you'll access via http://myapp.dev
This looks like it might do it for you (see the sections starting with "upstream ..."). What this basically does is point the incoming requests to different server clusters (even if running locally) based on the request URL.
http://purab.wordpress.com/2009/11/18/how-to-host-multiple-rails-site-on-nginx/
This example uses Mongrel clusters on the back end, but just compare it to your current config, and make adjustments for your specific back end.
Does anyone have done the rails application deployment on EC2 using poolpary gems and Chef server(not Chef solo). Please share your experiences if you know some blogs or code links(except poolpartyrb.com and related to it).
The poolparty script must be able to launch an selected AMI instance with two EBS blocks(data and DB) use one elastic ip,fetch code repo and install Chef server on selected instance. Or if you have used Chef server for rails deployment please share your exp.
Thanks,
Pravin
How far did you get with your pool party script?
launching EC2 instances is explained in this detailed example
the EBS part is explained in this github issue
to deploy an application from git, use chef's deploy resource
installing chef is done using gem install chef
Maybe you can share what you have and where exactly you're currently stuck.