
WSL
hushui
Coding Since 1998
展开
-
i386 in WSL/Ubuntu
By default, i386 is NOT supported in WSL/Ubuntu lake@PC-HM6DD43:~$ sudo dpkg --add-architecture i386 lake@PC-HM6DD43:~$ sudo apt-get update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security ..原创 2020-07-10 16:28:11 · 365 阅读 · 0 评论 -
Ubuntu apt source change (X86-64bit office ==> mirrors.aliyun.com
lake@Ubuntu:~$ sudo vi /etc/apt/sources.list 1,$s/security.ubuntu/mirrors.aliyun/g :1,$s/archive.ubuntu/mirrors.aliyun/g ### Update source lake@Ubuntu:~$ sudo apt update Get:1 http://mirr...原创 2019-12-26 14:33:04 · 544 阅读 · 0 评论 -
WSL/mount/windows shared driver
lake@M5273296:~$ uname -a Linux M5273296 4.4.0-17134-Microsoft #1130-Microsoft Thu Nov 07 15:21:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux lake@M5273296:~$ lake@M5273296:~$ sudo mount -t drvfs Z: W...原创 2019-12-26 14:29:19 · 372 阅读 · 0 评论 -
serial port/CrossPlatform/MinGW and WSL(Windows Subsystem Linux/Win10)
1. Make sure Win10/Putty could access serial port(Embedded system PCBA) Remember the COM name. For example COM41 2. Start on WSL lake@M5273296:~$ uname -a Linux M5273296 4.4.0-43-Microsoft #...原创 2019-07-16 09:26:07 · 365 阅读 · 0 评论 -
WSL/Windows Subsystem for Linux based on PICO
Refer tohttps://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux原创 2019-04-17 08:31:11 · 276 阅读 · 0 评论 -
RHEL7/Ubuntu system Proxy for Linux global system or git
1. Gnome GUI 2. Same lake@localhost:~$ export |grep htt declare -x HTTP_PROXY="http://10.24.1.1:8080/" declare -x http_proxy="http://10.24.1.1:8080/" lake@localhost:~$ export |grep proxy...原创 2018-07-06 14:13:30 · 407 阅读 · 0 评论 -
Guide to predefined macros in C++ compilers (gcc, clang, msvc etc.)
https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html Software • About Me Home/ Guide to predefined macros in C++ compilers (gcc, clang, msvc ...转载 2019-07-23 10:38:35 · 224 阅读 · 0 评论 -
$HOME on WSL/Linux
lake@M5273296:/mnt/c/JCI-NDK/jci/subgateway/engine$ cat /proc/version Linux version 4.4.0-17134-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #706-Microsoft Mon Apr 01 18:13:00 PST 20...原创 2019-09-04 10:27:49 · 251 阅读 · 0 评论