加载中
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

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
34
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
在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
63
如何用mybatis-generator-core生成带表字段注释的类

pom.xml mysql mysql-connector-java 8.0.19 ...

2021/07/29 15:19
39
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:/e...

2021/02/25 16:24
61
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
89
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 \ my...

2021/02/10 15:06
36
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
22
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
22
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
62
How to install registry for docker

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

2021/02/05 00:54
67
How install Chromium on Linux mint 20.1

Step 1 Remove the file named nosnap.pref sudo rm /etc/apt/preferences.d/nosnap.pref Step 2 Update apt meta data apt update Step 3 search the snap package apt list |grep snap Ste...

2021/01/30 15:30
106
如何导出一个复合模块maven项目中的模块给其他项目

要出如下应用的maven组件给其他人 com.qwfys.sample mybatis-hehe 1.0

2021/01/15 16:39
253
git remote add for feiba

将现有代码仓库分支推送到其他仓库上去。 lwk@qwfys:~/Public/project/qwfys$ git clone git@gitee.com:ab-sample/eapp-isv-project-fe.git Cloning into 'eapp-isv-project-fe'... remote: ...

2021/01/07 21:30
225
How to configure Alibaba Nacos 1.3.1 based on docker

mysql 配置 在mysql(5.6、5.7皆可)中创建数据库nacos,导入如下数据库初始化脚本: /* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Versi...

2020/12/16 11:49
71
在Centos 7中如何连接mongodb

sample [lwk@qwfys:~]$ mongo -u lanzhou mongodb://vm88.lan/lanzhou MongoDB shell version v4.2.8 Enter password: connecting to: mongodb://vm88.lan:27017/lanzhou?compressors=disabl...

2020/07/17 10:07
89

没有更多内容

加载失败,请刷新页面

返回顶部
顶部