Autoware开发

  • Post author:
  • Post category:其他



目录


cuda


/etc/udev/rules.d


50-usbcan.rules


55-usbserial.rules


xrdp


docker


install


Ubuntu 下非 root 用户运行 docker


将用户加入该 group 内


重启服务


重进终端


pkg


/etc/apt/sources.list.d/nvidia-container-runtime.list


/etc/apt/sources.list.d/nvidia-docker.list


portainer


安装portainer


管理员登录


registry


/etc/docker/daemon.json


docker push


docker pull


auth


autoware


Docker


克隆Autoware-AI/docker


修改run.sh


创建容器


安装软件


编译


images


build from Dockerfile


Source


autoware.ai.repos


cuda


https://github.com/NVIDIA/nvidia-docker


UNIX DRIVER ARCHIVE: https://www.nvidia.com/en-us/drivers/unix/


https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#install-guide

Ubuntu 18.04.5 LTS
5.4.0-67-generic

/lib/modules/
5.4.0-42-generic
5.4.0-66-generic
5.4.0-67-generic

NVIDIA-Linux-x86_64-460.56.run
cuda_10.0.130_410.48_linux.run

cn.download.nvidia.com/XFree86/Linux-x86_64/460.56/NVIDIA-Linux-x86_64-460.56.run


ubuntu恢复指定版本内核_言缓心善的博客-CSDN博客

docker run --runtime=nvidia --rm nvidia/cuda:10.0-base nvidia-smi
docker run --gpus=all --rm nvidia/cuda:10.0-base nvidia-smi

/etc/udev/rules.d

50-usbcan.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="1200", GROUP="autoware", MODE="0666"

55-usbserial.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="ygzhang", MODE="0666"

xrdp

sudo vi /etc/apt/sources.list
sudo apt-get update
apt-get source xorgxrdp

Reading package lists... Done
Picking 'xrdp' as source package instead of 'xorgxrdp'
NOTICE: 'xrdp' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/git/pkg-remote/xrdp.git
Please use:
git clone https://anonscm.debian.org/git/pkg-remote/xrdp.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 3575 kB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe xrdp 0.9.5-2 (dsc) [2749 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe xrdp 0.9.5-2 (tar) [464 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe xrdp 0.9.5-2 (tar) [3083 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe xrdp 0.9.5-2 (diff) [25.7 kB]
Fetched 3575 kB in 5s (738 kB/s)
dpkg-source: info: extracting xrdp in xrdp-0.9.5
dpkg-source: info: unpacking xrdp_0.9.5.orig.tar.gz
dpkg-source: info: unpacking xrdp_0.9.5.orig-xorgxrdp.tar.gz
dpkg-source: info: unpacking xrdp_0.9.5-2.debian.tar.xz
dpkg-source: info: applying make-fixes.diff
dpkg-source: info: applying config.diff
dpkg-source: info: applying misc-fixes.diff
dpkg-source: info: applying fix_perms.diff
dpkg-source: info: applying shutup-daemon.diff
dpkg-source: info: applying systemd.diff
dpkg-source: info: applying lfs.diff
dpkg-source: info: applying pulse-debian.patch

xrdp_0.9.5-2.debian.tar.xz

xrdp_0.9.5.orig.tar.gz

xrdp_0.9.5.orig-xorgxrdp.tar.gz

xorgxrdp_nvidia

https://github.com/jsorg71/xorgxrdp.git

xorgxrdp 0.2.13 requires xrdp v0.9.13 or later -> nvidia_hack

xorgxrdp 0.2.14 requires xrdp v0.9.14



版权声明:本文为zhang6318原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。