加载中
20231017141100.adoc

docker run --detach \ --name nacos \ --publish 8848:8848 \ --env MODE=standalone \ --env MYSQL_DATABASE_NUM=1 \ --env SPRING_DATASOURCE_PLATFORM=mysql \ --env MYSQL_SERVICE_HOST...

2023/10/17 14:11
33
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/l...

how to user nohup

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

npm
2022/01/10 16:50
72
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:/......

2022/01/10 15:46
85
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......

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
95
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
111
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
86
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
54
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
89
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
89
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
213
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...

如何导出一个复合模块maven项目中的模块给其他项目

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

2021/01/15 16:39
272

没有更多内容

加载失败,请刷新页面

返回顶部
顶部