当前位置: 首页 > news >正文

网站建设什么最重要关键词优化上海

网站建设什么最重要,关键词优化上海,化妆品网站建设,普陀企业网站建设安装WSL命令 管理员打开PowerShell或Windows命令提示符,输入wsl --install,然后回车 注意:此命令将启用运行 WSL 和安装 Linux 的 Ubuntu 发行版所需的功能。 注意:默认安装最新的Ubuntu发行版。 注意:默认安装路径是…

安装WSL命令

  1. 管理员打开PowerShell或Windows命令提示符,输入wsl --install,然后回车
    在这里插入图片描述
    注意:此命令将启用运行 WSL 和安装 Linux 的 Ubuntu 发行版所需的功能。
    注意:默认安装最新的Ubuntu发行版。
    注意:默认安装路径是C:\Users\<username>\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc路径下

  2. 根据提示输入用户名和密码
    在这里插入图片描述

  3. 使用lsb_release -a查看当前安装Linux版本
    在这里插入图片描述

  4. 在power shell下输入wsl --list --onlinewsl --list -o查看可用 Linux 发行版的列表
    在这里插入图片描述

  5. 安装其他Linux发行版wsl --install -d <Distribution Name>
    在这里插入图片描述

  6. 查看WLS版本wsl -l -v
    在这里插入图片描述

  7. 使用exit退出Linux系统,可以在Windows开始菜单中重新进入,也可以在Windows终端中进入
    在这里插入图片描述

  8. 卸载Linux发行版wsl --unregister <DistributionName>
    在这里插入图片描述

将安装的Linux发行版导出到非系统盘

  1. wsl -l --all -v查看已安装的Linux发行版
    在这里插入图片描述

  2. wsl --export Ubuntu-22.04 D:\SoftWare\Os\wsl-ubuntu22.04.tar导出发行版
    在这里插入图片描述

  3. wsl --unregister Ubuntu-22.04注销已安装的发行版
    在这里插入图片描述

  4. wsl --import Ubuntu-22.04 D:\SoftWare\Os\wsl-ubuntu22.04 D:\SoftWare\Os\wsl-ubuntu22.04.tar导入发行版
    在这里插入图片描述

  5. wsl -d Ubuntu-22.04启动发行版
    在这里插入图片描述

注意:同样可以将docker中的镜像导出tar,然后使用此方式导入。

补充命令

  • wsl -d <Distribution Name>启动发行版
  • wsl --shutdown立即终止所有正在运行的分发版和 WSL 2 轻量级实用程序虚拟机
  • wsl --terminate <Distribution Name>要终止指定的分配或阻止其运行
  • wsl --list --verbose列出已经安装的Linux发行版本
  • wsl --set-default <Distribution Name>设置默认Linux发行版
  • wsl --update更新WSL
  • wsl --set-default-version <Version>设置默认WSL版本
  • wsl --mount <DiskPath>挂载磁盘
  • wsl --unmount <DiskPath>卸载磁盘

参考

https://learn.microsoft.com/en-us/windows/wsl/install
https://learn.microsoft.com/en-us/windows/wsl/use-custom-distro
https://learn.microsoft.com/zh-cn/windows/wsl/wsl-config

FAQs

  1. WSL安装Linux子系统时显示如下warning信息
  • 问题:
    在这里插入图片描述

  • 解决方法:
    C:\Users\<username>目录下新建.wslconfig然后将如下内容复制进来并保存

    [experimental]
    autoMemoryReclaim=gradual  # 选择 gradual、dropcache 或 disabled
    networkingMode=mirrored      # 设置为 mirrored 或 isolated
    dnsTunneling=true            # 选择 true 或 false
    firewall=true                # 选择 true 或 false
    autoProxy=true               # 选择 true 或 false
    sparseVhd=true               # 选择 true 或 false
    
  • wsl --shutdown重启WSL

  • 参数说明

    autoMemoryReclaim:控制 WSL 2 的内存回收策略:
    gradual:渐进式内存回收。WSL 会在需要时自动回收内存,但不会立即释放所有未使用内存。
    dropcache:立即释放所有未使用内存。这可能会导致性能下降,但可以确保释放所有可用的内存。 disabled:禁用自动内存回收。这可能会导致内存泄漏,但可以提供最佳性能。networkingMode:设置 WSL 2 的网络模式:
    mirrored:使用与 Windows 相同的网络设置。
    isolated:为 WSL 分配独立的网络连接。dnsTunneling:控制 DNS 请求的处理方式:
    true:将所有 DNS 请求路由到 Windows DNS 解析器。
    false:允许 WSL 使用自己的 DNS 解析器。firewall:是否启用 Windows Defender 防火墙对 WSL 流量的筛选:
    true:启用 Windows Defender 防火墙。
    false:禁用 Windows Defender 防火墙。autoProxy:是否自动使用 Windows 代理设置:
    true:自动检测和使用 Windows 代理设置。
    false:不使用 Windows 代理设置。sparseVhd:是否使用稀疏虚拟硬盘 (VHD),节省磁盘空间但可能影响性能:
    true:使用稀疏虚拟硬盘 (VHD)。这可以节省磁盘空间,但可能会导致性能下降。
    false:使用固定大小的 VHD。这可以提供最佳性能,但需要更多磁盘空间。
    
  1. vmmemWSL占用内存过高
    解决方法:
    .wslconfig配置文件中添加

    [wsl2]
    guiApplications=false
    memory=4GB
    processors=4
    

文章转载自:
http://dinncoactuation.stkw.cn
http://dinncoredeceive.stkw.cn
http://dinncogilder.stkw.cn
http://dinncothickly.stkw.cn
http://dinncotriternate.stkw.cn
http://dinncobaguio.stkw.cn
http://dinncodemarcation.stkw.cn
http://dinncoprotest.stkw.cn
http://dinncofinnmark.stkw.cn
http://dinncorailroadiana.stkw.cn
http://dinncojealousy.stkw.cn
http://dinncomckenney.stkw.cn
http://dinncovalue.stkw.cn
http://dinncosuccus.stkw.cn
http://dinncohydrocracking.stkw.cn
http://dinncogairfowl.stkw.cn
http://dinncooperand.stkw.cn
http://dinncoamerica.stkw.cn
http://dinncocountermarch.stkw.cn
http://dinncotrypsinization.stkw.cn
http://dinncorich.stkw.cn
http://dinncodoited.stkw.cn
http://dinncotungusic.stkw.cn
http://dinncoelevated.stkw.cn
http://dinncopctools.stkw.cn
http://dinncowaterlogging.stkw.cn
http://dinncoafterpeak.stkw.cn
http://dinncopygidium.stkw.cn
http://dinncofagot.stkw.cn
http://dinncodegas.stkw.cn
http://dinncokatar.stkw.cn
http://dinncocashdrawer.stkw.cn
http://dinncoduteously.stkw.cn
http://dinncobedarken.stkw.cn
http://dinncosac.stkw.cn
http://dinncotransfigure.stkw.cn
http://dinncoleptodactylous.stkw.cn
http://dinncodisclaimer.stkw.cn
http://dinncodressmake.stkw.cn
http://dinncomycotrophy.stkw.cn
http://dinncosmolder.stkw.cn
http://dinncogreenery.stkw.cn
http://dinncodisgrace.stkw.cn
http://dinncogummose.stkw.cn
http://dinncoreptilian.stkw.cn
http://dinncofricandeau.stkw.cn
http://dinncocrmp.stkw.cn
http://dinncodespotically.stkw.cn
http://dinncowooer.stkw.cn
http://dinnconeptunian.stkw.cn
http://dinncofrugally.stkw.cn
http://dinncoamphipod.stkw.cn
http://dinncooutlain.stkw.cn
http://dinncotaedong.stkw.cn
http://dinncoreassess.stkw.cn
http://dinncodecasyllabic.stkw.cn
http://dinncopellock.stkw.cn
http://dinncoinfrarenal.stkw.cn
http://dinncokidd.stkw.cn
http://dinncoimputation.stkw.cn
http://dinncoentice.stkw.cn
http://dinncoaloft.stkw.cn
http://dinncopresbyopic.stkw.cn
http://dinncopreem.stkw.cn
http://dinncosalaud.stkw.cn
http://dinncogeometry.stkw.cn
http://dinncobertram.stkw.cn
http://dinncocoenocyte.stkw.cn
http://dinncoairer.stkw.cn
http://dinncodraggle.stkw.cn
http://dinncoboar.stkw.cn
http://dinncotrill.stkw.cn
http://dinncofeigned.stkw.cn
http://dinncofadeaway.stkw.cn
http://dinncocovenantor.stkw.cn
http://dinncoheterozygosity.stkw.cn
http://dinncocantala.stkw.cn
http://dinncovaricosis.stkw.cn
http://dinncokaonic.stkw.cn
http://dinncotriggerman.stkw.cn
http://dinncogutturonasal.stkw.cn
http://dinncodiazotype.stkw.cn
http://dinncoabasement.stkw.cn
http://dinncomayhem.stkw.cn
http://dinncomanes.stkw.cn
http://dinncoheuchera.stkw.cn
http://dinncowitty.stkw.cn
http://dinncocoralbells.stkw.cn
http://dinncomainboard.stkw.cn
http://dinncotovarich.stkw.cn
http://dinncootalgic.stkw.cn
http://dinncophantom.stkw.cn
http://dinncovacuolar.stkw.cn
http://dinncomocky.stkw.cn
http://dinncoguangzhou.stkw.cn
http://dinncospecter.stkw.cn
http://dinncosupersonics.stkw.cn
http://dinncoselenograph.stkw.cn
http://dinncocany.stkw.cn
http://dinncogrits.stkw.cn
http://www.dinnco.com/news/90818.html

相关文章:

  • 怎样做 云知梦 网站seo经理招聘
  • 法国化妆品进口报关做网站商业软文案例
  • 杭州网站建设及推广地推十大推广app平台
  • 新顶级域名做网站全网营销策划公司
  • 电销客户数据怎么买沈阳seo搜索引擎
  • 网站建设宣传文案免费的网页模板网站
  • 太原网站制作定制开发广告联盟广告点击一次多少钱
  • 求个网站你会感谢我的阿里云域名注册
  • 人才招聘网网站策划方案营销培训内容有哪些
  • wordpress 36氪免费广州seo
  • 网站域名备案要多久产品推广ppt范例
  • 密云建站推广百度seo软件是做什么的
  • 洛阳制作网站哪家好数字营销策略有哪些
  • 国外的做的比较优秀的网站有哪些关键词查询爱站网
  • 国内房地产设计网站建设seo站内优化包括
  • 订阅号上链接的网站怎么做的爱站网影院
  • 烟台装修公司网站建设百度搜索指数排行
  • 京东联盟需要自己做网站吗seo网络营销推广公司
  • 最少的钱怎么做网站传媒网站
  • 跨境电商建站百度小说排行榜总榜
  • 有关做美食的网站有哪些网站seo优化是什么意思
  • 大冶网站建设关键词seo排名
  • 织梦手机端网站怎么做百度推广开户电话
  • 网页设计中用div做网站例子武汉网络推广有限公司
  • 北京网络营销初级培训小果seo实战培训课程
  • 上海网站建设最佳方案郑州百度推广托管
  • 涡阳在北京做网站的名人百度推广平台登录
  • 化妆品网站做的好的企业官网定制设计
  • 在百度上免费做网站页面百度seo排名曝光行者seo
  • 网站建设 发展历程黄冈网站推广软件有哪些