增加 Docker 安装 ROS Indigo 过程记录.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
505ed444d2
commit
bc5835b243
|
@ -0,0 +1,30 @@
|
|||
# Docker 安装 ROS Indigo 过程记录
|
||||
|
||||
```bash
|
||||
docker run -it --name=<container name> --privileged -p 5901:5901 -v <host dir>:<container dir> -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"
|
||||
```
|
Loading…
Reference in New Issue