sh 覆盆子PI - 设置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 覆盆子PI - 设置相关的知识,希望对你有一定的参考价值。

#!/bin/sh

echo "Update"
sudo apt-get update
echo "Update completed"

echo "mDNS Setup"
sudo apt-get install avahi-daemon
echo "mDNS installed"

echo "Install VIM"
sudo apt-get install vim
echo "VIM installed"

echo "Install GIT"
sudo apt-get install git -y
echo "GIT installed!"

echo "Install ZSH, plugins and powerlevel9k theme"
sudo apt-get install zsh
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions 
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/bhilburn/powerlevel9k.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/themes/powerlevel9k
curl https://gist.githubusercontent.com/dompascal/b85d26c4db4e84d20d3c2077ce834d5f/raw/047a438409546481def836edc2e7f6a34dc43e63/ > .zshrc
source ~/.zshrc
echo "ZSH & plugins installed!"

echo "Install Node"
curl -o node-v9.9.0-linux-armv6l.tar.gz https://nodejs.org/dist/v9.9.0/node-v9.9.0-linux-armv6l.tar.gz 
tar -xzf node-v9.9.0-linux-armv6l.tar.gz 
sudo cp -r node-v9.9.0-linux-armv6l/* /usr/local/ 
node -v
echo "Node installed"


以上是关于sh 覆盆子PI - 设置的主要内容,如果未能解决你的问题,请参考以下文章

sh 覆盆子-PI-2

sh 覆盆子pi

sh 覆盆子pi

sh 覆盆子pi

sh 查看网络上覆盆子Pi的IP地址

sh 在覆盆子pi上安装mongodb [BASH]