Skip to content

Instantly share code, notes, and snippets.

@droidlabour
Last active February 22, 2022 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save droidlabour/efb1e1cff2d5689647f5eb1a73eb0ec9 to your computer and use it in GitHub Desktop.
Save droidlabour/efb1e1cff2d5689647f5eb1a73eb0ec9 to your computer and use it in GitHub Desktop.
Install laravel profiler in Amazon Linux v2
#!/bin/bash
cd /var/app/current/efl/laravel/
sudo su
composer.phar self-update --2
COMPOSER_MEMORY_LIMIT=-1 composer.phar require jkocik/laravel-profiler --dev
php artisan vendor:publish --provider="JKocik\Laravel\Profiler\ServiceProvider"
npm install laravel-profiler-client --save-dev
# change config/profiler.php and set production to true.
# php artisan profiler:server
# php artisan profiler:client -m
# Run ssh tunneling
#ssh -v -i key ec2-user@$h -N -L 8099:localhost:8099 -N -L 1901:localhost:1901 -N -L 8080:localhost:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment