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

DW做注册网站苏州大学网站建设

DW做注册网站,苏州大学网站建设,公司网站建设的心得,网站首页大图轮播背景#xff1a; 在ubutu#xff08;版本为20.04.5 LTS#xff09;中运行./arm-none-linux-gnueabi-gcc -v 后提示“no such device”。 经多方查证#xff0c;是ubutu的版本是64位的#xff0c;而需要运行的编译工具链是32位的#xff0c;因此会不兼容。 解决方法就是在…背景 在ubutu版本为20.04.5 LTS中运行./arm-none-linux-gnueabi-gcc -v 后提示“no such device”。 经多方查证是ubutu的版本是64位的而需要运行的编译工具链是32位的因此会不兼容。 解决方法就是在ubuntu中安装32位的运行环境 如何安装32位的运行环境 执行以下3条命令 sudo apt-get install libc6:i386 sudo apt-get install lib32z1 sudo apt-get install libncurses5:i386但是问题就来了当你在执行上面3条命令中的任意一条时你大概率会出现各种404的错误就是你无法访问到下载的网站 那么就要先进行下面的操作。 Ubuntu 配置国内源 1.找到替换的镜像源 该操作就是将ubuntu自己链接的镜像源更新重新链接到国内的镜像源这样下载就会快很多啦。依然选择使用人数比较多的清华的。 镜像源网站链接 清华大学开源软件镜像站 打开之后就是上面这个样子只需要在这里选择你安装的ubuntu版本。然后把下面这里的内容全部复制 2.替换ubuntu自带的源为清华的源 接下来回到ubuntu中。 首先将ubuntu自带的源备份 rootubuntu:/home/jian# cd / rootubuntu:/# cd /etc/apt rootubuntu:/etc/apt# sudo cp sources.list sources.list.bak//备份源文件完成备份后就可以修改原来的文件的了就是这里的sources.list vim sources.list//使用vim编辑器打开sources.list进行编辑wq//退出vim编辑器3.更新替换好的镜像源让系统生效 rootubuntu:/etc/apt# sudo apt-get update//更新镜像源 命中:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease 获取:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease [114 kB] 获取:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease [108 kB] 获取:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main Translation-zh_CN [113 kB] 获取:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/restricted Translation-zh_CN [1,324 B] 获取:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe Translation-zh_CN [388 kB] 获取:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] 获取:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse Translation-zh_CN [4,612 B] 获取:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main i386 Packages [883 kB] 获取:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 Packages [2,851 kB] 获取:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main Translation-en [468 kB] 获取:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB] 获取:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main DEP-11 48x48 Icons [60.8 kB] 获取:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main DEP-11 64x64 Icons [98.3 kB] 获取:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 c-n-f Metadata [17.1 kB] 获取:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted amd64 Packages [2,327 kB] 获取:17 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2,435 kB] 获取:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted i386 Packages [33.7 kB] 获取:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted Translation-en [325 kB] 获取:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted amd64 c-n-f Metadata [576 B] 获取:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 Packages [1,115 kB] 获取:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe i386 Packages [747 kB] 获取:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe Translation-en [266 kB] 获取:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 DEP-11 Metadata [410 kB] 获取:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe DEP-11 48x48 Icons [280 kB] 获取:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe DEP-11 64x64 Icons [493 kB] 获取:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 c-n-f Metadata [25.5 kB] 获取:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse i386 Packages [8,436 B] 获取:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 Packages [25.8 kB] 获取:30 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse Translation-en [7,484 B] 获取:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B] 获取:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [620 B] 获取:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main amd64 Packages [45.7 kB] 获取:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main i386 Packages [36.1 kB] 获取:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main amd64 DEP-11 Metadata [8,008 B] 获取:36 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main DEP-11 48x48 Icons [7,156 B] 获取:37 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main DEP-11 64x64 Icons [10.7 kB] 获取:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B] 获取:39 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe i386 Packages [13.8 kB] 获取:40 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 Packages [25.0 kB] 获取:41 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe Translation-en [16.3 kB] 获取:42 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB] 获取:43 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe DEP-11 48x48 Icons [13.3 kB] 获取:44 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe DEP-11 64x64 Icons [22.7 kB] 获取:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B] 获取:46 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [646 kB] 获取:47 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [382 kB] 获取:48 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB] 获取:49 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [18.9 kB] 获取:50 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [36.0 kB] 获取:51 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x642 Icons [29 B] 获取:52 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.1 kB] 获取:53 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [32.3 kB] 获取:54 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2,173 kB] 获取:55 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [304 kB] 获取:56 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [580 B] 获取:57 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [613 kB] 获取:58 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [881 kB] 获取:59 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [185 kB] 获取:60 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [96.3 kB] 获取:61 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 48x48 Icons [52.0 kB] 获取:62 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64 Icons [101 kB] 获取:63 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 64x642 Icons [29 B] 获取:64 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [19.1 kB] 获取:65 http://security.ubuntu.com/ubuntu focal-security/multiverse i386 Packages [7,196 B] 获取:66 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [23.6 kB] 获取:67 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5,504 B] 获取:68 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B] 获取:69 http://security.ubuntu.com/ubuntu focal-security/multiverse DEP-11 48x48 Icons [1,867 B] 获取:70 http://security.ubuntu.com/ubuntu focal-security/multiverse DEP-11 64x64 Icons [2,497 B] 获取:71 http://security.ubuntu.com/ubuntu focal-security/multiverse DEP-11 64x642 Icons [29 B] 获取:72 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [548 B] 已下载 19.9 MB耗时 9秒 (2,289 kB/s) 正在读取软件包列表... 完成 4.测试源是否可以使用 安装一个好玩的包安装完成sl包后运行一下会有惊喜如果你笑了那就证明源起作用了。 rootubuntu:/etc/apt# sudo apt-get install sl//安装sl包 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列【新】软件包将被安装sl 升级了 0 个软件包新安装了 1 个软件包要卸载 0 个软件包有 323 个软件包未被升级。 需要下载 12.7 kB 的归档。 解压缩后会消耗 60.4 kB 的额外空间。 获取:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 sl amd64 5.02-1 [12.7 kB] 已下载 12.7 kB耗时 0秒 (29.9 kB/s) 正在选中未选择的软件包 sl。 (正在读取数据库 ... 系统当前共安装有 179299 个文件和目录。) 准备解压 .../archives/sl_5.02-1_amd64.deb ... 正在解压 sl (5.02-1) ... 正在设置 sl (5.02-1) ... 正在处理用于 man-db (2.9.1-1) 的触发器 ... rootubuntu:/etc/apt# sl//运行sl 好了现在再到上面安装32位的系统运行环境应该就没问题了。这里更新了镜像源在整个linux开发中都是很有用的因为后续如果要安装其他的包都会很方便而不用再愁一直访问失败了。
http://www.dnsts.com.cn/news/71333.html

相关文章:

  • 网站基础建设找别人做网站交货时应该注意什么
  • 网站建设外包质量进度跟进广州冼村旧改最新消息
  • 自定义优定软件网站建设买个网站多少钱
  • 网站建设方案书一定要有吗黄石网站建设多少钱
  • 阿里网站搭建国内平面设计公司
  • 承德做网站设计的深圳创业补贴政策2021
  • 东莞做网站公司哪家比较好本地佛山企业网站建设
  • 有域名后续怎么做网站怎么在百度上建立网站
  • 网站开发项目预算表自己怎么申请网站空间
  • 江苏网站建设费用网上做兼职网站有哪些
  • 花店网站建设文案秦皇岛在建工程项目
  • 大型网站后台登录地址一般是如何设置的网站建设登录注册怎么做
  • 用织梦同时做两个网站制作外贸型网站
  • 个人网站怎么建网站制作网站建设案例
  • 章贡区综合网站建设商家开鲁视频
  • 购物分享网站模板高端集团网站建设
  • 佛山自助建站软件专业的医疗行业网站模板
  • 大连建站企业网站的优化和推广方案怎么写
  • 杭州观建设计网站哈尔滨中小企业网站制作
  • 大型网站的优化方法iis7.5配置网站
  • 广州网站推广自助最权威的品牌排行榜网站
  • 网站建设移动时代wordpress 导入网页
  • 江苏水利厅建设网站河长制网站建设
  • 绍兴网站制作建设现在网站如何做优化
  • 用c3做的动画网站新东方考研培训机构官网
  • 芜湖市建设办网站西部数码网站工具
  • 网站开发的公司属于什么行业网站怎么做啊
  • 做分享衣服网站的初衷是什么怎么制作网站链接转发视频
  • 卖网站模板赚钱吗wordpress不显示评论框
  • 做网站大网站建设东北