加载中
how to install mysql with docker

docker run --detach --restart always --publish 3306:3306 --name mysql --volume /data/docker/mysql/data:/var/lib/mysql --volume /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime -...

how to user nohup

执行如下命令可以用后台方式启动一个命令, nohup npm run dev > nohup.out 2>&1 & 这个时候,如果直接关闭终端容器,上述命令启动的后台进程会退出,不过,如果用exit命令退出,上述命令启动...

npm
01/10 16:50
13
how to install db2 in docker

docker run --detach --name db2 --restart always --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=Gah6kuP7ohfio4 -e DBNAME=testdb -v /data/docker/db2:/......

01/10 15:46
27
Remove all stopped containers

Remove all stopped containers docker rm $(docker ps --filter status=exited -q) Or docker ps --filter status=exited -q | xargs docker rm......

01/10 11:29
40
How to initialize a git repository and submit to the remote server

create a new repository on the command line echo "# haha" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin git@githu...

2021/10/29 12:28
28
在Windows 10中如何修改本地域名

Windows系统本地域名配置文件hosts位于目录C:\Windows\System32\drivers\etc中,其内容大致如下所示: # Copyright (c) 1993-2009 Microsoft Corp. This is a sample HOSTS file used by Micr...

2021/08/29 17:00
58
如何用mybatis-generator-core生成带表字段注释的类

pom.xml <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.19</version> </dependency> ......

2021/07/29 15:19
11
how to install mysql 8.0.23 with docker

#run mysql 8.0.23 with docker docker run --detach --restart always --publish 3306:3306 --name mysql --env MYSQL_ROOT_PASSWORD=Gah6kuP7ohfio4 mysql:8.0.23 create directory sudo m...

2021/03/01 23:10
192
docker for xxl-job

dockerfile for xxl-job FROM openjdk:8-jre-slim MAINTAINER xuxueli ENV PARAMS="" ENV TZ=PRC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ADD tar...

How to create a docker register container based on docker

docker run --detach --restart always --name registry --publish 5000:5000 --volume /data/docker/registry:/var/lib/registry --volume /usr/share/zoneinfo/Asia/Shanghai:/etc/localti...

2021/02/25 16:24
57
How to complete current limiting based on Alibaba Sentinel in the Spring boot project

流控样例 Run sentinel-dashboard 用下面的命令启动 sentinel-dashboard java -Dserver.port=19009 -Dcsp.sentinel.dashboard.server=192.168.1.131:19009 -Dproject.name=sentinel-dashboar...

How to switch java version on ubuntu 20.04

View all java versions lwk@qwfys:~$ update-java-alternatives --list java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.8.0-openjdk-amd64 1081 /usr/l......

2021/02/22 01:11
79
Switch Linux Mint 20 software source

Run the following command to switch the software source in the Linux mint 20 system to various mirror sites in China. Beijing Foreign Studies University sudo tee /etc/apt/source...

2021/02/10 21:32
121
How to create a mysqldump client based on docker to export the contents of a specific database

How to create a mysqldump client based on docker to export the contents of a specific database Dumping the database structure for all table with no data docker run -it --rm mysq...

2021/02/10 15:06
33
How to create a mysql client based on docker to connect to the specified server

How to create a mysql client based on docker to connect to the specified server docker run -it --rm mysql:5.7.28 mysql --host=192.168.1.131 --port=3306 --user=root --password=Ga...

2021/02/10 14:49
19
How to write a project deployment script based on Linux system

How to analyze the project deployment script overview lwk@qwfys:~$ tree.deploy/script/bin .deploy/script/bin ├── debug.sh ├── redebug.sh ├── restart.sh ├── run.sh ├...

2021/02/07 17:27
16
How to deal with cross-domain issues in Spring boot

@Configuration public class GlobalCorsConfig { @Bean public WebMvcConfigurer corsConfigurer() { return new WebMvcConfigurer() { @Override public void addCors......

2021/02/07 15:25
56

没有更多内容

加载失败,请刷新页面

返回顶部
顶部
返回顶部
顶部