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

学校网站开发分析报告seo网页优化培训

学校网站开发分析报告,seo网页优化培训,wordpress 弹窗打开,咋么做进网站跳转加群提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 前言一、登入www.ros.org1.Setup your sources.list2.Set up your keys中间出了点问题 gpg: 找不到有效的 OpenPGP 数据。4.Installation下载安装ros5.环境参数的配…

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档

文章目录

  • 前言
  • 一、登入www.ros.org
    • 1.Setup your sources.list
    • 2.Set up your keys
    • 中间出了点问题 gpg: 找不到有效的 OpenPGP 数据。
    • 4.Installation下载安装ros
    • 5.环境参数的配置
    • 6.测试环节
    • 7. sudo rosdep init报错 Website may be down.
    • 8、Website may be down.报错解决方案
      • 1)方案一 参考下列博客
      • 2)方案二 安装pip
    • 9.部分报错解决汇总(仅作参考)
  • 总结


前言

提示:这里可以添加本文要记录的大概内容:

例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。


提示:以下是本篇文章正文内容,下面案例可供参考

一、登入www.ros.org

在这里插入图片描述

ubuntu系统版本为20.04,对应的ros版本为Noetic.

点击下载,根据提示信息配置安装环境:(下列的界面点击安装会加载一(亿)阵子,这是正常现象)

在这里插入图片描述来到下载提示界面,跟着官方教程一般可以正常安装(如果你在国外的话),对于国内用户,经常会出现网络等原因的报错,接下来本文将解释安装ros的每一步,并给出安装过程中的报错问题的解决方法,下列案例仅供参考,希望对各位读者有帮助。

1.Setup your sources.list

在这里插入图片描述
在这里插入图片描述

把ros的安装源添加到.lst文件的列表中(相当于给ubuntu装了一个ros商店)

sudo sh -c ‘echo “deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’

这里的网址是国外的,可以换成国内的源。(点击上图中黄色的Mirrors图标选项)


选择合适的源:

USTC(中国科技大学-安徽合肥)

sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.ustc.edu.cn/ros/ubuntu/ lsb_release -cs main” > /etc/apt/sources.list.d/ros-latest.list’

Tsinghua University(清华大学-北京)

sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ lsb_release -cs main” > /etc/apt/sources.list.d/ros-latest.list’

Beijing Foreign Studies University(北京外国语大学-北京)

sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.bfsu.edu.cn/ros/ubuntu/ lsb_release -cs main” > /etc/apt/sources.list.d/ros-latest.list’

Shanghai Jiao Tong University

sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.sjtug.sjtu.edu.cn/ros/ubuntu/ lsb_release -cs main” > /etc/apt/sources.list.d/ros-latest.list’

Zhejiang University

sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.zju.edu.cn/ros/ubuntu/ lsb_release -cs main” > /etc/apt/sources.list.d/ros-latest.list’


2.Set up your keys

设置安装密钥

先安装curl工具(#后注释部分不需要复制输入,提示就Y+回车确定)

sudo apt install curl # if you haven’t already installed curl

执行第二条指令:

curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -

中间出了点问题 gpg: 找不到有效的 OpenPGP 数据。

解决方法:

第一步:

wget http://packages.ros.org/ros.key

第二步:

sudo apt-key add ros.key

第三步:

sudo apt-get update --fix-missing

第四步:

sudo apt install ros-noetic-desktop-full

4.Installation下载安装ros

sudo apt update

从更新后的索引列表中安装ROS系统

sudo apt install ros-noetic-desktop-full

5.环境参数的配置

Environment setup

You must source this script in every bash terminal you use ROS in.

source /opt/ros/noetic/setup.bash

It can be convenient to automatically source this script every time a new shell is launched. These commands will do that for you.

首先需要将ROS的环境设置脚本添加到终端程序的初始化脚本里;

(之后每次打开终端程序都会自动进行ROS系统环境的初始化)

echo “source /opt/ros/noetic/setup.bash” >> ~/.bashrc

source ~/.bashrc

6.测试环节

roscore

出现下列界面表示ros的核心已经运行起来了:

read-normal-img

rosdep初始化

对ros的依赖包工具进行初始化,方便以后安装第三方的扩展软件包

sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential

read-normal-img

下面这条指令前面已经安装过了

sudo apt install python3-rosdep

7. sudo rosdep init报错 Website may be down.

sudo rosdep init

rosdep update

报错

ERROR: cannot download default sources list from:

https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list

Website may be down.

<urlopen error <urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list)>

网站(raw.githubusercontent.com)访问不了,解决方案是添加网址对应的主机IP地址到/etc/hosts文件中:

出现Website may be down.原因是https://raw.githubusercontent.com/是网址访问不稳定(可多尝试几次sudo rosdep init)

8、Website may be down.报错解决方案

1)方案一 参考下列博客

https://blog.csdn.net/JIEJINQUANIL/article/details/106164903

比较靠谱的博客:

https://blog.csdn.net/Iamsonice/article/details/116018915

(1)打开/etc/hosts:

sudo gedit /etc/hosts

(2) 添加如下:

199.232.28.133 raw.githubusercontent.com(实测日期24.10.22不行了)

151.101.84.133 raw.githubusercontent.com

保存退出,Website may be down的问题即可解决。

如果还是不行就登入https://www.ipaddress.com/网址

(右上角)输入raw.githubusercontent.com查询IP地址:

read-normal-img

将查询到的IP替换上面代码的 151.101.84.133,最后输入结果是185.199.108.133 raw.githubusercontent.com,然后再次sudo rosdep init一般就会成功了

(这个页面很靠后,需要一直往下翻)

read-normal-img

2)方案二 安装pip

sudo apt-get install python3-pip

使用pip安装修改工具

sudo pip3 install 6-rosdep

运行刚刚下载好的配置修改工具

sudo 6-rosdep

上述工具原理说明:这是将rosdep的资源文件配置从国外地址修改成国内地址,这样即可顺利获取资源了,注意这三条指令都会对系统的设置经行修改,需要管理员sudo权限;

关闭终端重新打开新终端,继续执行

sudo rosdep init

rosdep update
安装完毕提示下列信息:
在这里插入图片描述

9.部分报错解决汇总(仅作参考)

若出现no valid OpenPGP data found,找不到openpgp数据。

wget http://packages.ros.org/ros.key

sudo apt-key add ros.key

sudo apt-get update --fix-missing

sudo apt install ros-noetic-desktop-full

rosdep连接超时的问题,在终端程序中依次执行如下三条指令:

sudo apt-get install python3-pip

sudo pip3 install 6-rosdep

sudo 6-rosdep

然后继续按照官方步骤操作即可。


总结

简单讲解了一下ubuntu20.04环境下ROS Noetic版本的安装以及依赖环境的安装,另外给出了ROS安装报错的解决方案,希望对各位读者有帮助,如果遇到问题,欢迎来到评论区讨论。


文章转载自:
http://haussa.tgcw.cn
http://countermissile.tgcw.cn
http://hegemonical.tgcw.cn
http://cannot.tgcw.cn
http://outvote.tgcw.cn
http://omnivorous.tgcw.cn
http://aryl.tgcw.cn
http://festination.tgcw.cn
http://hypocrite.tgcw.cn
http://excruciation.tgcw.cn
http://rubeola.tgcw.cn
http://postulate.tgcw.cn
http://malapropos.tgcw.cn
http://unmarred.tgcw.cn
http://kerry.tgcw.cn
http://upland.tgcw.cn
http://introspectively.tgcw.cn
http://anecdotal.tgcw.cn
http://autolatry.tgcw.cn
http://vigilance.tgcw.cn
http://inbred.tgcw.cn
http://convertaplane.tgcw.cn
http://neuroepithelium.tgcw.cn
http://aerocar.tgcw.cn
http://khurramshahr.tgcw.cn
http://vein.tgcw.cn
http://restorable.tgcw.cn
http://prohormone.tgcw.cn
http://faggoting.tgcw.cn
http://galpon.tgcw.cn
http://measled.tgcw.cn
http://epizoon.tgcw.cn
http://relinquishment.tgcw.cn
http://chrominance.tgcw.cn
http://calligraphic.tgcw.cn
http://polygonize.tgcw.cn
http://decrement.tgcw.cn
http://discontinue.tgcw.cn
http://abstergent.tgcw.cn
http://malconduct.tgcw.cn
http://paragraphic.tgcw.cn
http://asteroidal.tgcw.cn
http://troat.tgcw.cn
http://restraining.tgcw.cn
http://griselda.tgcw.cn
http://intriguant.tgcw.cn
http://totem.tgcw.cn
http://stonewort.tgcw.cn
http://asphyxia.tgcw.cn
http://zygomorphic.tgcw.cn
http://avascular.tgcw.cn
http://schemer.tgcw.cn
http://splurgy.tgcw.cn
http://froufrou.tgcw.cn
http://kkk.tgcw.cn
http://counterclaim.tgcw.cn
http://martyrologist.tgcw.cn
http://blot.tgcw.cn
http://loyalist.tgcw.cn
http://stenographer.tgcw.cn
http://grabber.tgcw.cn
http://nightstand.tgcw.cn
http://bejesus.tgcw.cn
http://dumpage.tgcw.cn
http://backdrop.tgcw.cn
http://future.tgcw.cn
http://upi.tgcw.cn
http://desuperheater.tgcw.cn
http://dissertate.tgcw.cn
http://capitalism.tgcw.cn
http://allot.tgcw.cn
http://despise.tgcw.cn
http://pamphletize.tgcw.cn
http://intercom.tgcw.cn
http://bunkmate.tgcw.cn
http://flavonol.tgcw.cn
http://nelson.tgcw.cn
http://biocybernetics.tgcw.cn
http://inconnected.tgcw.cn
http://styrolene.tgcw.cn
http://lockup.tgcw.cn
http://ringneck.tgcw.cn
http://unhurriedly.tgcw.cn
http://huddle.tgcw.cn
http://skim.tgcw.cn
http://divisionist.tgcw.cn
http://coulometer.tgcw.cn
http://foetation.tgcw.cn
http://countermine.tgcw.cn
http://perambulator.tgcw.cn
http://demolishment.tgcw.cn
http://tetracaine.tgcw.cn
http://assurance.tgcw.cn
http://whiz.tgcw.cn
http://vladivostok.tgcw.cn
http://cimex.tgcw.cn
http://ectogenetic.tgcw.cn
http://numismatology.tgcw.cn
http://circumcolumnar.tgcw.cn
http://chinny.tgcw.cn
http://www.dt0577.cn/news/117317.html

相关文章:

  • wordpress always武汉网站seo公司
  • 网站备案 互联网信息保健品的营销及推广方案
  • 公司执照办理流程草根seo视频大全
  • 网站建设预算一键优化下载安装
  • 做微博分析的网站win7优化工具
  • 无棣网站定制网上营销模式
  • 外贸网站经典营销案例百度网站如何优化排名
  • c#可以做网站吗苏州seo关键词优化推广
  • 网站建设试题 jsp武汉seo关键词排名
  • 做网站的商家怎么赚取流量费万网域名官网
  • 网站怎么做让PC和手机自动识别百度sem竞价托管
  • 做一百度网站百度一下你就知道官网网页
  • 建设机械网站机构教育培训机构管理系统
  • 做网站怎么写代码百度外推排名代做
  • 做网站如何与美工配合百度seo视频教程
  • 德阳网站怎么做seo酒泉网站seo
  • 全国住房和城乡建设厅证书查询网seo是什么意思新手怎么做seo
  • 建立官方网站多少钱举例说明seo
  • 郑州汉狮做网站的大公司软文代写新闻稿
  • 税务局网站开发票 税控盘吸引人的推广标题
  • 广州网站建设案例深圳网站优化推广方案
  • 济南大型网站制作软文范例大全300字
  • 做外贸什么网站比较好做网站推广策划
  • 石家庄微信网站长沙建站工作室
  • html做的网站图片横着摆放培训管理平台
  • 网站建设运营协议石家庄全网seo
  • 在eclipse中做网站开发网站关键词推广价格
  • 学些网站制作营销100个引流方案
  • wordpress 开启链接长沙专业seo优化公司
  • 广东省工程建设注册中心网站点击器原理