- 博客(11)
- 收藏
- 关注
原创 Visual Studio Code 使用 Visual Studio MSVC(CL)
创建 BAT,直接双击运行就可以打开继承了 Visual Studio 环境变量的 Visual Studio Code
2023-04-06 21:13:30
726
1
原创 Dockerfile Maven Plugin
Expose Daemon on tcp://localhost:2375 without TLS
2022-08-19 05:01:17
459
原创 Docker 部署 Nginx 反向代理
问题Nginx 反向代理 如何在 Docker 中使用机制Docker Nginx 的配置文件为 /etc/nginx/nginx.conf +/etc/nginx/conf.d/*.conf 两部分组成,注意创建 Docker Nginx 时挂载配置文件及目录Docker Nginx 不属于标准的 Nginx,修改了 Nginx 的配置文件,在配置中将部分配置分离到 /etc/nginx/conf.d/ 下,该目录下存在默认的 default.conf 配置文件,依 defau.
2022-02-27 05:31:33
2708
原创 Windows Subsystem For Linux - Ubuntu 20.04 LTS - 阿里云源
切换源到阿里云deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe mu.
2022-02-04 10:44:38
369
原创 Windows Subsystem For Linux - Ubuntu 20.04 LTS - Docker 自启动
问题WSL 中systemctl enable docker是无效的,无法随Linux而启动,service docker start 是有效的,但这是一次性的操作解决WSL(Ubuntu 20.04) 仍有两个机制正常工作service docker start 仍会在 /var/run下创建docker.pid 新的 terminal 仍会执行 ~/.bashrc所以我可以追加脚本到 ~/.bashrc以随新的终端启动而执行 获取 /var/run/docker.pid
2022-01-25 04:17:03
1292
原创 SpringBoot + JQuery 解决 CORS跨域
CORS跨域分为后端和前端两个步骤后端解决实现WebMvcConfigur@Configurationpublic class WebConfig implements WebMvcConfigurer {}重写addCorsMappings@Configurationpublic class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(Co
2022-01-20 10:55:34
1176
原创 Windows Subsystem For Linux - Ubuntu 20.04 LTS -安装
更新sudo apt update && sudo aptupgrade安装中文语言sudo apt install language-pack-zh-hanssudo dpkg-reconfigure localessudo apt install fontconfigvim/etc/fonts/local.conf<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts...
2021-10-16 21:58:25
388
原创 PowerShell 使用私钥登录 远程主机
从 Windows 10 开始,Windows 开始自带 OpenSSH 工具Windows SSH 配置目录,%USERPROFILE%\.ssh\OpenSSH 文件目录 %SystemRoot%\System32\OpenSSH\配置 OpenSSH 使用私钥登录 的配置 修改 %USERPROFILE%\.ssh\config 文件 添加配置格式如下config host 配置名user 登录用户...
2021-09-09 09:24:53
2040
原创 CentOS 7 安装配置 Redis 6.2.1
[root@centos-7 downloads]# wget https://download.redis.io/releases/redis-6.2.1.tar.gz[root@centos-7 downloads]# tar -xvf redis-6.2.1.tar.gz[root@centos-7 downloads]# mv redis-6.2.1 /opt[root@centos-7 downloads]# cd /opt/redis-6.2.1[root@centos-7 redis.
2021-09-06 23:32:40
131
原创 CentOS 7 安装Docker
[root@centos-7 ~]# yum update更新过程,不写[root@centos-7 ~]# yum install yum-utils安装过程,不写[root@centos-7 ~]# yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo配置docker仓库[root@centos-7 ~]# yum list docker-ce --show.
2021-09-06 21:28:34
150
1
原创 CentOS 7 安装配置 MySql 8.0.22
#1 实验环境 VMware Workstation 15 Pro阿里镜像:http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso 虚拟机配置: CPU:默认(1核1线程) 内存:默认(1024M) 网络:非默认(桥接网络) 硬盘:默...
2021-08-28 00:40:07
557
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人