Skip to content

Commit a547ec6

Browse files
committed
Add linux examples (elastic#198)
1 parent 979079f commit a547ec6

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

docs/en/getting-started/get-started-stack.asciidoc

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ Elasticsearch Service for free].
5656

5757
To download and install {es}, open a terminal window and use the commands that
5858
work with your system (<<deb, deb>> for Debian/Ubuntu, <<rpm, rpm>> for
59-
Redhat/Centos/Fedora, <<mac, mac>> for OS X, and <<win, win>> for Windows):
59+
Redhat/Centos/Fedora, <<mac, mac>> for OS X, <<linux, linux>> for Linux, and
60+
<<win, win>> for Windows):
6061

6162

6263
[[deb]]*deb:*
@@ -246,7 +247,7 @@ file, `kibana.yml`, before starting {kib}.
246247
To download and install {kib}, open a terminal window and use the commands that
247248
work with your system:
248249

249-
*deb or rpm:*
250+
*deb, rpm, or linux:*
250251

251252
ifeval::["{release-state}"=="unreleased"]
252253

@@ -421,6 +422,24 @@ tar xzvf metricbeat-{version}-darwin-x86_64.tar.gz
421422

422423
endif::[]
423424

425+
*linux:*
426+
427+
ifeval::["{release-state}"=="unreleased"]
428+
429+
Version {version} of {metricbeat} has not yet been released.
430+
431+
endif::[]
432+
433+
ifeval::["{release-state}"!="unreleased"]
434+
435+
["source","sh",subs="attributes,callouts"]
436+
------------------------------------------------
437+
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{version}-linux-x86_64.tar.gz
438+
tar xzvf metricbeat-{version}-linux-x86_64.tar.gz
439+
------------------------------------------------
440+
441+
endif::[]
442+
424443
*win:*
425444

426445
ifeval::["{release-state}"=="unreleased"]
@@ -487,7 +506,7 @@ To set up the `system` module and start collecting system metrics:
487506
sudo metricbeat modules enable system
488507
----
489508
+
490-
*mac:*
509+
*mac and linux:*
491510
+
492511
[source,yaml]
493512
----
@@ -510,7 +529,7 @@ PS C:\Program Files\Metricbeat> .\metricbeat.exe modules enable system
510529
sudo metricbeat setup -e
511530
----
512531
+
513-
*mac:*
532+
*mac and linux:*
514533
+
515534
[source,yaml]
516535
----
@@ -537,7 +556,7 @@ standard error instead of syslog.
537556
sudo service metricbeat start
538557
----
539558
+
540-
*mac:*
559+
*mac and linux:*
541560
+
542561
[source,yaml]
543562
----
@@ -626,7 +645,7 @@ sudo rpm -i logstash-{logstash_version}.rpm
626645

627646
endif::[]
628647

629-
*mac:*
648+
*mac and linux:*
630649

631650
ifeval::["{release-state}"=="unreleased"]
632651

@@ -741,7 +760,7 @@ sudo /etc/init.d/logstash start
741760
sudo service logstash start
742761
----------------------------------------------------------------------
743762

744-
*mac:*
763+
*mac and linux:*
745764

746765
["source","sh",subs="attributes,callouts"]
747766
----------------------------------------------------------------------

0 commit comments

Comments
 (0)