Skip to content

Instantly share code, notes, and snippets.

@MarcosSiega
Last active January 31, 2025 11:43
Show Gist options
  • Select an option

  • Save MarcosSiega/6525e3385da19192b635c7e87d2cc6c9 to your computer and use it in GitHub Desktop.

Select an option

Save MarcosSiega/6525e3385da19192b635c7e87d2cc6c9 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Update package lists
apt-get update
# Install wget
apt-get install wget
# Download JProfiler tarball
wget https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_linux_11_1_4.tar.gz -O /tmp/jprofiler_linux_11_1_4.tar.gz
# Navigate to /tmp directory
cd /tmp
# Extract the downloaded tarball
tar -zxf jprofiler_linux_11_1_4.tar.gz
# Change directory to JProfiler's bin directory
cd jprofiler11.1.4/bin
# Enable JProfiler with specific options
./jpenable -d 1 -g -p 8190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment