随笔分类 - 开发环境
摘要:windows下面安装node-sass,确实令人头痛,正确姿势如下: 1、npm或yarm指定淘宝镜像 查看镜像 # npm命令 npm config get registry # yarn命令 yarn config get registry 修改为淘宝镜像 # npm命令 npm config
阅读全文
摘要:Vagrantfile for Official Ubuntu 20.04 LTS (Focal Fossa) builds # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.require_version ">= 1.6.0" boxes = [ {
阅读全文
摘要:1、设置vagrant通过Host Name连接登录 1.1、查看vagrant 配置文件内容 PS C:\Users\Dehou-Eric\vagrant-demo> vagrant ssh-config default 1.2、创建config文件并复制内容 在用户目录C:\Users\Deho
阅读全文
摘要:1、vagrant常用命令及操作 cd vagrant-demo #查看运行状态 vagrant status #启动 vagrant up #停止 vagrant halt #删除 vagrant destory # 连接默认的虚拟机 vagrant ssh vim sudo yum instal
阅读全文
摘要:1、在 Windows 10 上安装 Hyper-V 使用 PowerShell 启用 Hyper-V 以管理员身份打开 PowerShell 控制台, 运行以下命令: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hype
阅读全文
摘要:1、安装python3 #跳到初始目录 cd ~ #检查python3版本 python3 exit() 2、安装pip #检查pip、pip3版本 pip pip3 sudo apt-get install python3-pip #检查pip3版本 pip3 3、使用python pip安装py
阅读全文
摘要:1、oh-my-zsh项目地址及相关插件 oh-my-zsh https://github.com/ohmyzsh/ohmyzsh oh-my-zsh plugins https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins oh-my-zsh theme ht
阅读全文
摘要:Windows10开发环境搭建(3) 在WSL2里安装Docker
阅读全文
摘要:1、安装Windows 终端 Windows 终端可启用多个选项卡(在多个 Linux 命令行、Windows 命令提示符、PowerShell 和 Azure CLI 等之间快速切换)、创建键绑定(用于打开或关闭选项卡、复制粘贴等的快捷方式键)、使用搜索功能,以及使用自定义主题(配色方案、字体样式
阅读全文
摘要:步骤 1 - 启用适用于 Linux 的 Windows 子系统 以管理员身份打开 PowerShell 并运行: PowerShell dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /
阅读全文