[APM] Update Windows instructions for APM Server (#16196) (#16233)

* Update Windows instructions for APM Server

* Update RPM command for APM Server

# Conflicts:
#	src/core_plugins/kibana/server/tutorials/apm/apm_server_instructions.js
This commit is contained in:
Vanja Cosic 2018-01-23 18:21:36 +01:00 committed by GitHub
parent e916ec6004
commit 6307453fe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View file

@ -43,11 +43,18 @@ export const UNIX_FAMILY_SERVER_INSTRUCTIONS = [
export const WINDOWS_SERVER_INSTRUCTIONS = [
{
...DOWNLOAD_SERVER,
textPre: '1. Download the APM Server Windows zip file from the [Download page](https://www.elastic.co/downloads/apm/apm-server).\n' +
'2. Extract the contents of the zip file into `C:\\Program Files`.\n' +
'3. Rename the `apm-server-6.2-windows` directory to `APM-Server`.\n' +
'4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select' +
' **Run As Administrator**). If you are running Windows XP, you might need to download and install PowerShell.\n' +
'5. From the PowerShell prompt, run the following commands to install APM Server as a Windows service:',
commands: [
'curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-6.2.0-windows-x86_64.zip',
'sudo dpkg -i apm-server-6.2.0-windows-x86_64.zip'
`PS > cd 'C:\\Program Files\\APM-Server'`,
`PS C:\\Program Files\\APM-Server> .\\install-service-apm-server.ps1`
],
textPost: 'Looking for the 32 bits packages? See the [Download page]({config.docs.base_url}downloads/apm/apm-server).'
textPost: 'Note: If script execution is disabled on your system, you need to set the execution policy for the current session' +
' to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\\install-service-apm-server.ps1`.'
},
{
...IMPORT_DASHBOARD,

View file

@ -53,7 +53,7 @@ export const ON_PREM_INSTRUCTIONS = {
...DOWNLOAD_SERVER,
commands: [
'curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-6.2.0-x86_64.rpm',
'sudo dpkg -i apm-server-6.2.0-x86_64.rpm'
'sudo rpm -vi apm-server-6.2.0-x86_64.rpm'
],
textPost: 'Looking for the 32 bits packages? See the [Download page]({config.docs.base_url}downloads/apm/apm-server).'
},