Turn on Maintenance
php bin/magento maintenance:enable
Require Magestore POS lite
composer require magestore/pos-lite
Turn on Developer mode
php bin/magento deploy:mode:set developer
Run upgrade (Install POS)
php bin/magento setup:upgrade
Deploy POS client
php bin/magento webpos:deploy
Run code compilation
php bin/magento setup:di:compile
Adjust the Redis session configuration
Change manually
Open file
app/etc/env.php
in your favorite editorScroll down to the
session
section below
Edit the value
max_concurrency
to a suitable number. Magento recommends we set that number by 10% of the number of PHP processes. If you don’t know that then try in the range from 6 to 24 is fine. For example: 20.
Change by command
php bin/magento setup:config:set --session-save=redis --session-save-redis-max-concurrency=20
Install Magento Cron
php bin/magento cron:install
Reindex All
php bin/magento indexer:reindex
Turn on Production mode
php bin/magento deploy:mode:set production
Turn off Maintenance
php bin/magento maintenance:disable