[root@wsl:~]# [root@wsl:~]#ln -s /usr/bin/python3 /usr/bin/python [root@wsl:~]#ls -l /usr/bin | grep python lrwxrwxrwx 1 root root 23 Jun 23 04:18 pdb3.8 -> ../lib/python3.8/pdb.py lrwxrwxrwx 1 root root 31 Mar 13 2020 py3versions -> ../share/python3/py3versi...
所以你需要把你的project file移动到 WSL2的文件系统内部,比如/home/xxx/,然后在windows环境用wsl$协议(内部为p9协议)打开此文件,这样你就能享受到飞一般的io性能了,但是,如果你使用IDE比如webstorm或者vscode(非remote wsl) 你就会有一个很大的问题 ln -s软链接在windows环境失效 WSL treating symlinks as win32...
创建符号链接 cd/usr/bin# 切换目录,这是常见的环境变量目录sudo ln -s ~/nvim-linux64/bin/nvim nvim# 在 /usr/bin 目录下创建一个指向 ~/nvim-linux64/bin/nvim 的符号链接(软链接),链接名为 nvim。 在/usr/bin/目录下创建nvim快捷方式 删除nvim sudo rm -rf /home/oyzx/nvim-linux64/ sud...
ln -s /usr/local/nginx/sbin/nginx /usr/bin/nginx nginx#启动服务 nginx -s reload#不停止服务重新载入配置文件 nginx -s stop#停止服务 6、配置 创建Nginx 运行用户及用户组 www ,先停止服务再编辑 nginx.conf 文件 groupadd www useradd -g www www mkdir-p /data/wwwlogschown-R www:www /data/www...
chmod +x /etc/init.d/mysqld update-rc.d mysqld defaults service mysqld start ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql mysql -uroot -p'(+:rGtOj8><<' mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY '1024';
Run the following commands: dpkg-divert --local --rename --add /sbin/initctl ln -s /bin/true /sbin/initctl"Error: 0x80040306" on installationThis has to do with the fact that we do not support legacy console. To turn off legacy console:Open...
ln -s ../../Builds What's wrong / what should be happening instead: It works FINE in the unix shell but when I use a windows cmd shell I see dir ... 03/01/2018 11:02 PM <JUNCTION> Builds [...] ... and cd Builds produces: The directory name is invalid. WSL, cygwin, and...
cd ~ ln -s /mnt/c/projects/code/ A code folder will appear in your Linux home directory. Navigate to it using cd ~/code and you’ll actually be in /mnt/c/projects/code/, which maps directly to C:\projects\code\. Accessing Windows files from Linux is considerably slower than using ...
By using thelncommand, we create a link between Linux and our home directory. Copy Copy dany@INNO-D0H:~$ ln -s /mnt/c/Users/DPAREDES/Desktop/projects/ ~/projects When we return to the home directory, we can see the link to the project directory, for example. ...
2cd genie/genie3make4make install5ln -s /usr/libexec/genie/main/genie /usr/local/bin/genie vim Makefile 查看安装脚本,默认安装目录是 /usr/libexec/genie,没有配置软链接,因此在最后一步使用 ln 命令增加了软链接。 现在就可以借助 genie 运行 systemctl 命令了。