我的树莓派3配置脚本

#修改软件源为国内站点
mv /etc/apt/sources.list /etc/apt/sources.list.old
touch /etc/apt/sources.list
echo "deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi"

echo "deb src http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi"

#更新源
apt-get update

#安装中文帮助手册
apt-get install manpages-zh

#配置cman为中文帮助手册
echo "alias cman='man -M /usr/share/man/zh_CN' " >> /home/pi/.bashrc

#配置ll
echo "alias ll='ls -l'" >> /home/pi/.bashrc

#安装xrdp
apt-get install xrdp tightvncserver

posted @ 2016-11-13 18:46  sherlock-merlin  阅读(176)  评论(0编辑  收藏  举报