Last active
November 18, 2021 04:39
-
-
Save Ichinya/cb00ec4557e125e7ce3ea9297ac60296 to your computer and use it in GitHub Desktop.
Redis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# проверить работу | |
sudo apt policy redis-server | |
# установить | |
sudo apt install redis-server | |
# запустить | |
sudo service redis-server start | |
# проверить | |
redis-cli | |
>ping | |
ответ PONG | |
# laravel | |
composer require predis/predis | |
# в .env | |
QUEUE_CONNECTION=redis | |
# мониторинг в ларавел | |
composer require laravel/horizon | |
php artisan horizon:install | |
# запустить | |
php artisan horizon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment