ubuntu双系统重装及behuman平台重新搭建记录

由于之前的ubuntu因为boot内存不够,根据网上参考的删除旧内核方式解决和引发了有线和无线网络都不能正常使用的问题,…我还是重装了ubuntu
因为上次是第一次安装,学长帮忙好多而且自己也没记住什么。这一次重新安装记录一下操作步骤。

ubuntu安装

step1. 制作镜像

  1. 下载镜像https://ubuntu.com/download/desktop
  2. 格式化一个u盘 文件系统选择 FAT32(默认)
  3. 之前下的UltralOS还没删正好可以接着用(链接)
    用软碟通打开刚下的镜像,工具栏点“启动”选择“写入硬盘镜像”;在弹出的页面中选择格式化好的u盘,确定写入方式:USB-HDD+,且为 “便捷启动”,然后点击“写入”
    一路确定后,出现“刻录成功”即完成

step2. 删除之前给ubuntu的磁盘分区

大佬推荐了 『DiskGenius』(然而我还没感觉到这个软件比windows自带的磁盘管理好用在哪里…汗)
删除之前的分区重置为空闲就行了

step3. 设置禁用 fast boot 和 secure boot

–重启,f2进入设置

step4. ubuntu分区设置

u盘启动进入ubuntu页面后,打开install进入安装
在 installation type 页面选择 其他方式 安装
主要记录一下磁盘分区:找到之前分的空闲区域,选中后点加号创建分区

1. "/"公共文件夹 //分了30G

  • type of the new partition : primary(主分区)
  • Use as : EXT4日志文件系统(EXT4 journalling file system)
  • Mount point : /

2. "swap"交换空间 //大小为笔记本的物理内存,我分了8G

  • type of the new partition : logical(逻辑分区)
  • Use as : swap area

3. "EFI"系统引导//这个就是我之前挂成/boot的区,之前设了200MB,更新更新着就满了,这次给了512MB

  • tpye of the new partition : logical(逻辑分区)
  • Use as : EFI System Partition

4. "/home"个人文件夹 //一共67G多一点,剩下的20多G

  • type of the new partition : logical(逻辑分区)
  • Use as : EXT4日志文件系统(EXT4 journalling file system)
  • Mount point : /home

之后!!!,将下方的“安装引导启动器的设备(Device for boot leader installation)”更改为刚刚设置为EFI分区的盘符 “/dev/sda(…)”
然后确认一下接着安就行了

behuman平台搭建

首先进行一下更新sudo apt upgrade,若下载出现问题“…设备锁…" 则删除出问题的下载项目sudo rm <.../.../lock>

1.git

更新后sudo apt install git 安装git,然后进行一系列git initgit config --global user.name "..."git config --global user.email "...@..." 进行初始化
之后ssh-keygen -t rsa -C <...@...>获取ssh key,将id_rsa.pub复制到自己gitlab账号的ssh key下
然后就可以克隆啦git clone

2.一些相关软件

(参见coderelease2017 2.3.4 for Linux)

2.3.4
Linux
The following has been tested and works on Ubuntu 17.04 64-bit. It should also work on other Linux distributions (as long as they are 64-bit); however, different or additional packages may be needed.
2.3.4.1
Required Software
The build has been tested using the software versions provided by the current Ubuntu distribution repositories. Earlier versions of, e. g., clang may work, but are untested.
Requirements (listed by common package names) for Ubuntu 17.04:
• clang
• qtbase5-dev
• libqt5svg5-dev
• libglew-dev
• libxml2-dev
• graphviz – Optional, for generating module graphs and the behavior graph.
• xterm – Optional, for opening an ssh session from the B-Human user shell bush.
• alcommon – For the extraction of the required alcommon library and compatible boost headers from the C++ SDK 2.1.4 Linux 32 (naoqi-sdk-2.1.4.13-linux32.tar.gz) the script Install/installAlcommon can be used, which is delivered with the B-Human software. The required package has to be downloaded manually and handed over to the script. It is available at https://community.ald.softbankrobotics.com (account required). Please note that this package is only required to compile the code for the actual NAO robot.
On Ubuntu 17.04, you can execute the following command to install all requirements except for alcommon:
sudo apt install clang qtbase5 - dev libqt5svg5 - dev libglew - dev libxml2 - dev graphviz xterm

  1. sudo apt install clang qtbase5-dev libqt5svg5-dev libglew-dev libxml2-dev graphviz xterm
  2. alcommon 需要单独下
    到https://community.ald.softbankrobotics.com官网下载C++ SDK 2.1.4 Linux 32 (naoqi-sdk-2.1.4.13-linux32.tar.gz)

上述都完成之后差不多弄好了,到 Make\Linux 下 make 编译一下就完了

3.visual studio code

软件中心直接下就行了

----然而,由于不可抗力再一次从19重装到18.04时软件中心下载又出问题了…进而转用另一种方法
到官网下载linux的.deb包,下好后终端运行

$sudo dpkg -i <名字.deb>

就安装好了

好像就没啦啦啦啦

你可能感兴趣的:(ubuntu双系统重装及behuman平台重新搭建记录)