Ctrl_c + Ctrl_v out of the Sibuxiang (a)--environmental construction

Source: Internet
Author: User
Tags docker run

First, the basic environment

. NET Core:https://www.microsoft.com/net/learn/dotnet/hello-world-tutorial

docker:https://docs.docker.com/docker-for-mac/

II. Development Tools

VS code:https://code.visualstudio.com/seconds to open files that you deserve to have.

Visual Studio for mac:https://visualstudio.microsoft.com/vs/mac/is used when resolving and adjusting other software bugs.

rider:https://www.jetbrains.com/rider/This software stick, in addition to the pit is relatively hidden, the price is very strange (see below), the others are very good, usually basically use it

Navicat Premium:https://www.navicat.com.cn/products/navicat-premium used very comfortable, is a bit expensive.

Third, the other 1, Mysql

Pull Image: Docker pulls mysql:5.7

Create and use UTF8 encoding: Docker run-p 3306:3306--name mysql-v ~/dockerconfig/my.cnf:/etc/mysql/conf.d/mysqlutf8.cnf-e MYSQL_ROOT _password=123456-d mysql:5.7--character-set-server=utf8--collation-server=utf8_general_ci

Modify time zone: Docker exec-it MySQL Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime

Modify the maximum number of connections: Docker exec-i mysql mysql-uroot-p123456 sys-e ' set GLOBAL max_connections=2000; '

Create library: Docker exec-i mysql mysql-uroot-p123456 sys-e ' Create DATABASE IF not EXISTS Test DEFAULT CHARSET UTF8 COLLATE UTF 8_general_ci; '

Import sql:docker exec-i mysql mysql-uroot-p123456 Test < ~/downloads/publish/helloword.sql

Export sql:docker exec-it mysql mysqldump-uroot--opt-r Test > ~/downloads/publish/helloword.sql

  

2. Redis

Pull Image: Docker pickup Redis

Created:Docker run--name redis- p 6379:6379- d redis --requirepass ' 123456< c11> '

Modify time zone:Docker exec-itredis ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime /c25>

Iv. filled, not filled pits

1, Mysql in 2.1 will be error, the same code cut back 2.0 no problem, so far no solution, also lead to?? The problem.

2, do not know is rider with template problem or what reason, the new project can not choose when the. NET Core2.0, this time only visual Studio for Mac to solve.

3, Navicat Premium did not find a place to monitor the execution of MySQL statement, can not be like MSSQL packet analysis statements, temporarily did not find the solution.

4, Rider price pit ... The biggest puzzle for me: all ReSharper Ultimate + Rider, go from the Rider page as long as US $179. 00/1st year, go from ReSharper page to US $449. 00/1st year, Echo connection

https://www.jetbrains.com/rider/buy/#edition =personal

https://www.jetbrains.com/resharper/buy/#edition =commercial

Ctrl_c + Ctrl_v out of the Sibuxiang (a)--environmental construction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.