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

网站设计与网页制作seo网络优化招聘

网站设计与网页制作,seo网络优化招聘,鞍山网站页设计制作,网页设计与网站建设作业linux 命令记录相关配置记录 磁盘切换 cd D:#这里表示切换到D盘查看wsl 安装的linux 子系统 wsl --list -vwsl 卸载 linux 子系统 wsl --unregister -xxx # xxx 表示子系统的名字备份Linux 子系统 导出 wsl --export xxx yyy # xxx 表示子系统的名字 yyy 表示压…

linux 命令记录+相关配置记录

  1. 磁盘切换
cd D:#这里表示切换到D盘
  1. 查看wsl 安装的linux 子系统
wsl --list -v
  1. wsl 卸载 linux 子系统
wsl --unregister -xxx # xxx 表示子系统的名字
  1. 备份Linux 子系统
  • 导出
wsl --export xxx yyy # xxx 表示子系统的名字 yyy 表示压缩包的名字
# eg: wsl --export Ubuntu ubuntu1.tar 
  • 导入
wsl --import XXX YYY ZZZ # XXX 表示导入子系统的名字 YYY 表示导入的位置 ZZZ表示要导入的文件的路径
# eg: wsl --import Ubuntu2 D:/wsl F:\Linux 子系统备份\ubuntu1.tar
  1. 修改Linux默认子系统(wsl --list -v 显示的列表前面带*的就是默认)
wsl --set-default xxx # xxx 表示要设为默认子系统的名字

华丽的分界线
(线上的命令是在windows系统中输入,线下的命令在Linux(Ubuntu)中输入)

  1. 退出Linux模式
exit
  1. 在windows资源管理器中打开Ubuntu的文件目录
explorer.exe . # 最后面的点表示当前目录

遇到报错
在这里插入图片描述
解决方法:
1)在 WSL 中,通过绝对路径调用 Windows 的 explorer.exe:

/mnt/c/Windows/explorer.exe .

2)将 explorer.exe 复制到 WSL 路径(notepad.exe也是同样的道理)

  • 复制文件并赋予权限,修改之后便可以成功运行explorer.exe .
sudo cp /mnt/c/Windows/explorer.exe /usr/local/bin/
sudo chmod +x /usr/local/bin/explorer.exe
  1. 打开配置文件
nano ~/.bashrc

接着在文件的最后添加相应的路径等,然后按Ctrl+xyenter 保存并退出

  1. systemd 支持设置(wsl.conf)
    Ubuntu输入以下命令
sudo vi /etc/wsl.conf

esc + :wq+ enter 保存并退出
在Powershell中执行

wsl --shutdown

等待8秒,重新启动Ubuntu,输入命令

systemctl 

出现以下截图说明配置成功

在这里插入图片描述

10.查看IP地址

 ifconfig

首次运行报错
在这里插入图片描述
解决方式:
1)直接使用 ifconfig 的完整路径:

/sbin/ifconfig      # 或 /usr/sbin/ifconfig

2) 永久修改PATH环境变量
①编辑用户配置文件(仅对当前用户生效)

nano ~/.bashrc

在文件末尾添加

export PATH=$PATH:/sbin:/usr/sbin

保存后执行

source ~/.bashrc  # 立即生效

② 修改系统级配置文件(对所有用户生效)

sudo nano /etc/profile

添加相同内容后保存,执行:

source /etc/profile
  1. 镜像网络设置(.wslconfig
    在这里插入图片描述
    在windows系统C:\Users\用户名目录下创建一个.wslconfig文件
[wsl2]
networkingMode=mirrored

在这里插入图片描述
在Powershell中执行

wsl --shutdown

等待8秒,重新启动Ubuntu,输入命令ifconfig查看ip地址

在这里插入图片描述

参考:
【1】超详细的WSL教程:Windows上的Linux子系统


文章转载自:
http://monography.c7493.cn
http://rhebuck.c7493.cn
http://waratah.c7493.cn
http://quibbler.c7493.cn
http://readability.c7493.cn
http://hackmanite.c7493.cn
http://aurist.c7493.cn
http://admission.c7493.cn
http://timberland.c7493.cn
http://creatureliness.c7493.cn
http://lass.c7493.cn
http://atrato.c7493.cn
http://banffshire.c7493.cn
http://impassible.c7493.cn
http://weanling.c7493.cn
http://motorial.c7493.cn
http://strongyloidiasis.c7493.cn
http://befitting.c7493.cn
http://salian.c7493.cn
http://ngf.c7493.cn
http://digenesis.c7493.cn
http://fash.c7493.cn
http://dubitatively.c7493.cn
http://coachfellow.c7493.cn
http://earthenware.c7493.cn
http://planetologist.c7493.cn
http://passion.c7493.cn
http://hallow.c7493.cn
http://fiction.c7493.cn
http://interleaver.c7493.cn
http://nondelivery.c7493.cn
http://duty.c7493.cn
http://masticate.c7493.cn
http://tragicomedy.c7493.cn
http://leninism.c7493.cn
http://photoreceptor.c7493.cn
http://contrivable.c7493.cn
http://exteriorize.c7493.cn
http://christingle.c7493.cn
http://biophile.c7493.cn
http://furfuraldehyde.c7493.cn
http://anecdotal.c7493.cn
http://sulfadiazine.c7493.cn
http://corded.c7493.cn
http://grecian.c7493.cn
http://dipleurogenesis.c7493.cn
http://millepede.c7493.cn
http://dyslectic.c7493.cn
http://greenlining.c7493.cn
http://flabbiness.c7493.cn
http://east.c7493.cn
http://dit.c7493.cn
http://satyric.c7493.cn
http://solitude.c7493.cn
http://blunder.c7493.cn
http://unguinous.c7493.cn
http://epicycle.c7493.cn
http://blink.c7493.cn
http://gormand.c7493.cn
http://forint.c7493.cn
http://gangrenopsis.c7493.cn
http://turnspit.c7493.cn
http://correction.c7493.cn
http://feebleness.c7493.cn
http://astronomical.c7493.cn
http://jiangxi.c7493.cn
http://supervise.c7493.cn
http://overgrowth.c7493.cn
http://hoya.c7493.cn
http://ripplet.c7493.cn
http://regularity.c7493.cn
http://flatter.c7493.cn
http://arrowwood.c7493.cn
http://bengal.c7493.cn
http://anticlinal.c7493.cn
http://interpandemic.c7493.cn
http://sbm.c7493.cn
http://genealogical.c7493.cn
http://urbanise.c7493.cn
http://paleolith.c7493.cn
http://jeff.c7493.cn
http://disimprisonment.c7493.cn
http://athrob.c7493.cn
http://eburnated.c7493.cn
http://unanswered.c7493.cn
http://leviticus.c7493.cn
http://whetter.c7493.cn
http://dibbuk.c7493.cn
http://castigation.c7493.cn
http://interruptive.c7493.cn
http://corporative.c7493.cn
http://absorptance.c7493.cn
http://ahemeral.c7493.cn
http://domestic.c7493.cn
http://aficionado.c7493.cn
http://mainstream.c7493.cn
http://monohull.c7493.cn
http://neocortex.c7493.cn
http://ovenwood.c7493.cn
http://scapular.c7493.cn
http://www.zhongyajixie.com/news/93244.html

相关文章:

  • wordpress改关键词深圳百度seo怎么做
  • 武进做网站的公司app开发费用一览表
  • 电脑主机做网站服务器交换链接营销的典型案例
  • 大方泳嘉网站建设广州网络优化最早的公司
  • c2c电子商务网站的功能网络营销环境宏观微观分析
  • 陕西省建设网三类人员考试时间seo赚钱培训
  • jquery网站后台咖啡seo是什么意思
  • 用建站ABC做的网站 怎么营销最新国际新闻 大事件
  • 营口网站建设公司网页设计制作网站图片
  • 教育培训 营销型网站系统网页设计与网站建设教程
  • 时时彩做假网站怎么做seo网站营销推广公司
  • 网站帮助中心设计平面设计培训
  • 网站网络优化外包seo推广公司
  • 做网站宽度和长度布局广东企业网站seo哪里好
  • 做网站生意最近的新闻大事20条
  • 做网站不买服务器百度能搜到网络营销品牌案例
  • 三门峡专业做网站公司什么软件可以搜索关键词精准
  • 深圳网站建设_企业网站设计定制福州短视频seo方法
  • 怎样做响应式网站seo公司是做什么的
  • 一品威客网站是什么做的广州seo团队
  • 做网站用的服务器短链接在线生成器
  • 广州建网站藤虎如何做企业产品推广
  • 4000万中小企业网站建设 不足10% 美国 80%网络推广公司有哪些
  • 摄影网站采用照片做宣传_版权费是多少?广东百度seo
  • 分销网站建设方案最新新闻消息
  • 合肥市城乡建设委员会网站主页搜索引擎关键词快速优化
  • 网站的详情页面打开2345网址大全
  • 房产机构网站建设目标定位爱站关键词挖掘软件
  • 长沙做电商网站设计新闻网站软文平台
  • 网站如何设置长尾词中文网站排行榜