docker.start.txt 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. docker run -itd --name mysql8 -p 3307:3306 -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -v D:/MySQL/docker_mysql:/var/lib/mysql mysql:8.0.28-oracle
  2. docker run -itd --name mysql82 -p 3312:3306 -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 mysql:8.0.28-oracle
  3. mysqldump -uroot -pr6kEwqWU9!v3 -P3307 --databases qmt_stocks_whole >d:/qmt_stocks_whole.sql
  4. # version order 1
  5. docker run -itd --name mysql8 -p 3307:3306 -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -v C:/docker_mysql/stock_data:/var/lib/mysql -v C:/docker_mysql/config/mysql.cnf:/etc/my.cnf daocloud.io/library/mysql:8.0.21
  6. docker run -itd --name mysql8033 -p 3308:3306 -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -v C:/docker_mysql/0833:/var/lib/mysql -v C:/docker_mysql/conf:/etc/mysql mysql:8.0.33
  7. docker run -itd --name mysql8033 -p 3308:3306 -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -v C:/docker_mysql/mysql.cnf:/etc/my.cnf mysql:8.0.33-debian
  8. docker run -itd -p 3307:3306 --name mysql8033 -e character-set-server=utf8mb4 --privileged=true --restart unless-stopped -v C:/docker_mysql/stock_data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -d mysql:8.0.33 --skip-log-bin --disable-log-bin --lower_case_table_names=1
  9. docker run -itd -p 3307:3306 --name mysql8033 -e character-set-server=utf8mb4 --privileged=true --restart unless-stopped -v C:/docker_mysql/stock_data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -d mysql:8.0.33 --lower_case_table_names=1 --skip-log-bin --disable-log-bin
  10. 20230515
  11. docker run -itd -p 3307:3306 --name mysql8033 --privileged=true --restart unless-stopped -v C:/docker_mysql/stock_data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -d mysql:8.0.33
  12. docker run -itd -p 3309:3306 --name mysqltest -e character-set-server=utf8mb4 --privileged=true --restart unless-stopped -e MYSQL_ROOT_PASSWORD=r6kEwqWU9!v3 -d mysql:8.0.33 --skip-log-bin --disable-log-bin --log-error=/var/lib/mysql/err.log
  13. 20230626
  14. OMMAND
  15. docker pull nvcr.io/nvidia/rapidsai/rapidsai-core:23.06-cuda11.8-runtime-ubuntu22.04-py3.10
  16. docker run --name cudf --gpus all --rm -it --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 --network stk-net -p 8888:8888 -p 8787:8787 -p 8786:8786 -p 8722:22 nvcr.io/nvidia/rapidsai/rapidsai-core:23.06-cuda11.8-runtime-ubuntu22.04-py3.10
  17. 20230627
  18. test
  19. test 1314
  20. # For advice on how to change settings please see
  21. # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html
  22. [mysqld]
  23. #
  24. # Remove leading # and set to the amount of RAM for the most important data
  25. # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
  26. # innodb_buffer_pool_size = 128M
  27. #
  28. # Remove leading # to turn on a very important data integrity option: logging
  29. # changes to the binary log between backups.
  30. # log_bin
  31. #
  32. # Remove leading # to set options mainly useful for reporting servers.
  33. # The server defaults are faster for transactions and fast SELECTs.
  34. # Adjust sizes as needed, experiment to find the optimal values.
  35. # join_buffer_size = 128M
  36. # sort_buffer_size = 2M
  37. # read_rnd_buffer_size = 2M
  38. # Remove leading # to revert to previous value for default_authentication_plugin,
  39. # this will increase compatibility with older clients. For background, see:
  40. # https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
  41. # default-authentication-plugin=mysql_native_password
  42. skip-log-bin
  43. disable-log-bin
  44. skip-host-cache
  45. skip-name-resolve
  46. datadir=/var/lib/mysql
  47. socket=/var/run/mysqld/mysqld.sock
  48. secure-file-priv=/var/lib/mysql-files
  49. user=mysql
  50. max_connections=10000
  51. max_user_connections=5000
  52. character-set-server=utf8mb4
  53. thread_stack=4096k
  54. innodb_log_file_size=200M
  55. pid-file=/var/run/mysqld/mysqld.pid
  56. [client]
  57. socket=/var/run/mysqld/mysqld.sock
  58. character-set-server=utf8mb4
  59. !includedir /etc/mysql/conf.d/
  60. # For advice on how to change settings please see
  61. # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html
  62. [mysqld]
  63. #
  64. # Remove leading # and set to the amount of RAM for the most important data
  65. # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
  66. # innodb_buffer_pool_size = 128M
  67. #
  68. # Remove leading # to turn on a very important data integrity option: logging
  69. # changes to the binary log between backups.
  70. # log_bin
  71. #
  72. # Remove leading # to set options mainly useful for reporting servers.
  73. # The server defaults are faster for transactions and fast SELECTs.
  74. # Adjust sizes as needed, experiment to find the optimal values.
  75. # join_buffer_size = 128M
  76. # sort_buffer_size = 2M
  77. # read_rnd_buffer_size = 2M
  78. # Remove leading # to revert to previous value for default_authentication_plugin,
  79. # this will increase compatibility with older clients. For background, see:
  80. # https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
  81. # default-authentication-plugin=mysql_native_password
  82. skip-host-cache
  83. skip-name-resolve
  84. datadir=/var/lib/mysql
  85. socket=/var/run/mysqld/mysqld.sock
  86. secure-file-priv=/var/lib/mysql-files
  87. log_error=/var/lib/mysql/error.log
  88. user=mysql
  89. max_connections=2000
  90. max_user_connections=1000
  91. max_connect_errors=1000000
  92. thread_cache_size=300
  93. server-id = 1
  94. character-set-server = utf8mb4
  95. pid-file=/var/run/mysqld/mysqld.pid
  96. [client]
  97. socket=/var/run/mysqld/mysqld.sock
  98. !includedir /etc/mysql/conf.d/