From bc5835b24382a052a8f3e3933d2410d7fb725e01 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Wed, 12 May 2021 18:02:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Docker=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20ROS=20Indigo=20=E8=BF=87=E7=A8=8B=E8=AE=B0=E5=BD=95?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Indigo/Docker_安装_ROS_Indigo_过程记录.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Software/System/ROS/Indigo/Docker_安装_ROS_Indigo_过程记录.md diff --git a/Software/System/ROS/Indigo/Docker_安装_ROS_Indigo_过程记录.md b/Software/System/ROS/Indigo/Docker_安装_ROS_Indigo_过程记录.md new file mode 100644 index 0000000..3fa15e5 --- /dev/null +++ b/Software/System/ROS/Indigo/Docker_安装_ROS_Indigo_过程记录.md @@ -0,0 +1,30 @@ +# Docker 安装 ROS Indigo 过程记录 + +```bash +docker run -it --name= --privileged -p 5901:5901 -v : -v /dev/bus/usb:/dev/bus/usb ros:indigo /bin/bash +apt-get update +apt-get install vim xinit lightdm xubuntu-desktop xubuntu-default-settings xubuntu-artwork xubuntu-icon-theme +dpkg-reconfigure lightdm +touch profile +vim profile +``` + +然后占体以下内容到 profile 文件中: + +```base +PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' + +alias ls='ls --color=auto' +alias dir='dir --color=auto' +alias vidr='vdir --color=auto' +alias grep='grep --color=auto' +alias fgrep='fgrep --color=auto' +alias egrep='egrep --color=auto' +# some more ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' + +export LANG="en_US.UTF-8" +export LANGUAGE="en_US.UTF-8" +```