README.md 1.3 KB

USAGE

  • add to /etc/sysctl.d/60-palm.conf and then reboot or sysctl --system

    vm.overcommit_memory = 1
    vm.max_map_count = 262144
    
  • start container dashboard

    $ cd ~/workspace
    $ ./saturn-xiv/palm/docker/spring/start.sh
    > sudo supervisord -c /etc/supervisor/supervisord.conf
    # init redis cluster
    > sudo /etc/redis/clusters-init.sh
    
  • PostgreSql

    psql -h 127.0.0.1 -p 5432 -U postgres
    
  • MySql

    # reset root's password
    > sudo mariadb-secure-installation
    mariadb -h 127.0.0.1 -P 3306 -u root -p
    
  • Redis

    # connect to redis cluster
    redis-cli -c -h 127.0.0.1 -p 6371
    # check cluster status
    redis-cli --cluster check 127.0.0.1:6371
    
  • Minio dashboard (admin:12345678)

  • RabbitMQ dashboard (guest:guest)

  • Php info.php XDebug XDebug mode

    php -r "var_dump(extension_loaded('xdebug'));"
    
  • OpenSearch

    # show info
    curl -X GET http://localhost:9200
    curl -X GET http://localhost:9200/_cat/plugins?v
    
  • Vcpkg

    $HOME/local/vcpkg/vcpkg upgrade --no-dry-run