mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-07-01 02:43:45 -04:00
parent
2c0dc09548
commit
9af04eba99
1 changed files with 11 additions and 4 deletions
|
@ -129,7 +129,7 @@ scopes=compute-rw
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
Failing to set this will result in unauthorized messages when starting Elasticsearch.
|
Failing to set this will result in unauthorized messages when starting Elasticsearch.
|
||||||
See [Machine Permissions](#machine-permissions).
|
See <<cloud-gce-usage-discovery-tips-permissions>>.
|
||||||
==============================================
|
==============================================
|
||||||
|
|
||||||
|
|
||||||
|
@ -142,8 +142,15 @@ sudo apt-get update
|
||||||
# Download Elasticsearch
|
# Download Elasticsearch
|
||||||
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.0.0.deb
|
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.0.0.deb
|
||||||
|
|
||||||
# Prepare Java installation
|
# Prepare Java installation (Oracle)
|
||||||
sudo apt-get install java8-runtime-headless
|
sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/webupd8team-java.list
|
||||||
|
sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/webupd8team-java.list
|
||||||
|
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install oracle-java8-installer
|
||||||
|
|
||||||
|
# Prepare Java installation (or OpenJDK)
|
||||||
|
# sudo apt-get install java8-runtime-headless
|
||||||
|
|
||||||
# Prepare Elasticsearch installation
|
# Prepare Elasticsearch installation
|
||||||
sudo dpkg -i elasticsearch-2.0.0.deb
|
sudo dpkg -i elasticsearch-2.0.0.deb
|
||||||
|
@ -221,7 +228,7 @@ First create an image of your running instance and upload it to Google Cloud Sto
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
# Create an image of yur current instance
|
# Create an image of your current instance
|
||||||
sudo /usr/bin/gcimagebundle -d /dev/sda -o /tmp/
|
sudo /usr/bin/gcimagebundle -d /dev/sda -o /tmp/
|
||||||
|
|
||||||
# An image has been created in `/tmp` directory:
|
# An image has been created in `/tmp` directory:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue