iex "New-NetFireWallRule -DisplayName 'WSL 2 Firewall Unlock' -Direction Inbound -LocalPort $ports_a -Action Allow -Protocol TCP" | Out-Null # 使用 portproxy 让 Windows 转发端口 # https://docs.microsoft.com/en-us/windows-server/networking/technologies/netsh/netsh-interface-portproxy for( $...
.gitignore Initial commit Nov 29, 2018 LICENSE Initial commit Nov 29, 2018 README.md 完善说明文档和构建脚本 May 25, 2019 setup.py 完善说明文档和构建脚本 May 25, 2019 View all files README Apache-2.0 license pywslpath windows 和 WSL 的路径互相转换,以及获取 windows 下的系统目录 ...
在最后加上这个设置,可以在windows中通过ubuntu这个域名得到自动获取ip #!/usr/bin/bash# 为 win 设置 wsl host# win hosts 文件路径win_hosts_path="/mnt/c/Windows/System32/drivers/etc/hosts"# 为 wsl2 设置的域名wsl_domain="ubuntu"# 获取 wsl2 的 ipwsl_ip=$(ifconfig eth0|grep -w inet|awk'...
新增Git Ignore 檔案 建議您將.gitignore 檔案新增至您的專案。 GitHub 提供一組實用的 .gitignore 範本集合,根據您的使用案例組織建議的 .gitignore 檔案設定。 例如,這是 GitHub 的預設 gitignore 樣本,適用於 Node.js 項目。 如果您選擇使用 GitHub 網站建立新的存放庫,可以選擇勾選方框來初始化存放庫,這些方...
将项目连接到 Git 版本控制系统,同时使用凭据管理器进行身份验证(,使用 Git Ignore 文件,了解 Git 行尾,以及使用内置到 VS Code 的 Git 命令(可使用Git for Windows在 WSL 和 Windows 主机之间共享凭据&设置,之前装过Git就不用再装了) 使用Docker 设置远程开发容器:参考《WSL 2 上的 Docker 远程容器入门》,...
MySQL 安装教程(windows版) MySQL版本:8.0.18 window环境:win10 1.首先我们需要下载ZIP解压配置安装包,如果有需要的可以到下面网址下载。 2.将安装包下载至F盘中新建的my_sql文件夹中并解压 3.配置环境变量,右键我的电脑,选择 属性---高级系统设置--环境变量 在上下两个PATH里面,将 解压包里面的bin文件夹所在...
Windows 11 以及,下方的全部配置代码全部都放在 ~/.config/nvim/init.vim 如果没有,就创建一个 Ubuntu中安装 Latex sudo apt-get install texlive-full Ubuntu中安装 neovim sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update sudo apt-get install neovim ...
.gitignore sync code from github 2年前 DistroLauncher.sln sync code from github 2年前 LICENSE upload README and images 4年前 README.en.md update README.en.md. 9个月前 README.md change cert 1年前 build.bat add supported to built in jenkins.osinfra.cn ...
jail.conf /etc/fail2ban/jail.conf.bakvim/etc/fail2ban/jail.local[DEFAULT]ignoreip=127.0.0.1/8 bantime=86400findtime=600maxretry5banaction=firewallcmd-ipsetaction=%(action_mwl)s[sshd]enable=true filter=sshdport=22action=%(action_mwl)slogpath=/var/log/secure //fail2ban-client status ...
This is the C++ reference implementation for a Windows Subsystem for Linux (WSL) distribution installer/launcher application. Every distro package must include a launcher app, which is responsible for completing installation & registration of your distro with WSL, and for launching new distro instances...