sh Ubuntu 16.10用オレオレ环境构筑スクリプト
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Ubuntu 16.10用オレオレ环境构筑スクリプト相关的知识,希望对你有一定的参考价值。
#!/bin/bash
# bootstrap for Ubuntu 16.10
wget -qO- https://get.docker.com/ | sh
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list
sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ yakkety partner" >> /etc/apt/sources.list.d/canonical_partner.list'
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo sh -c 'echo "deb http://linux.dropbox.com/ubuntu/ yakkety main" >> /etc/apt/sources.list.d/dropbox.list'
wget -q https://packages.cloud.google.com/apt/doc/apt-key.gpg -O- | sudo apt-key add -
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
sudo add-apt-repository -y ppa:numix/ppa
sudo add-apt-repository -y ppa:paolorotolo/android-studio
sudo add-apt-repository -y ppa:webupd8team/java
sudo add-apt-repository -y ppa:ubuntu-desktop/ubuntu-make
sudo add-apt-repository -y ppa:remmina-ppa-team/remmina-next
sudo add-apt-repository -y ppa:gnome-terminator/nightly
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt update
sudo apt -y upgrade
sudo apt -y install \
meld dkms whois google-chrome-beta vim ssh geany geany-plugins terminator \
chromium-browser build-essential fonts-migmix npm git subversion nodejs lm-sensors \
hddtemp smartmontools filezilla mikutter htop libreoffice linux-headers-generic \
skype numix-gtk-theme numix-icon-theme* cairo-dock audacious gimp unity-tweak-tool \
gparted remmina p7zip-full clamtk clamtk-nautilus ubuntu-wallpapers* edubuntu-wallpapers \
kde-wallpapers lubuntu-artwork mate-backgrounds ubuntu-gnome-wallpapers* \
ubuntu-mate-wallpapers* xubuntu-community-wallpapers xubuntu-wallpapers pandoc \
texlive-luatex apache2-utils oracle-java8-installer cmake vagrant poedit \
android-tools-adb gksu python-setuptools python-pip jpegoptim optipng \
android-studio ffmpeg grive ubuntu-make nfs-kernel-server php-cli php-common \
php-curl php-zip php-mbstring php-mcrypt php-mysql php-gd php-sqlite3 php-xml \
php-mongodb dconf-editor kodi golang-go tig git-flow mysql-client pwgen pgadmin3 \
postgresql-client exfat-* fonts-ipafont mecab mecab-ipadic-utf8 php-dev \
libmecab-dev google-cloud-sdk lolcat boxes toilet figlet jq jmeter screen
sudo gpasswd -a $USER docker
sudo pip install -U docker-compose
sudo pip install awscli
sudo gem install sass
sudo npm install -g gulp less less-plugin-clean-css bower
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
cd /usr/bin/
sudo ln -s nodejs node
cd
git config --global user.name "apricoton"
git config --global user.email "apricoton.jp@gmail.com"
git config --global diff.tool meld
git config --global merge.tool meld
svn --version
sed -i".org" -e "s|^\[helpers\]|[helpers]\ndiff-cmd = $HOME/bin/svn-diff-meld.sh\ndiff3-cmd = $HOME/bin/svn-diff3-meld.sh\ndiff3-has-program-arg = false|g" .subversion/config
umake ide visual-studio-code
sudo sensors-detect
env LANGUAGE=C LC_MESSAGES=C xdg-user-dirs-gtk-update
以上是关于sh Ubuntu 16.10用オレオレ环境构筑スクリプト的主要内容,如果未能解决你的问题,请参考以下文章
sh macOS Sierra自分なりの环境构筑スクリプト(通しで走らせたことがないので动くかは不明)
sh 构筑后に降价形式でEC2のリソース情报を吐き出すスクリプト
Ubuntu16.04~16.10(php7.0)网站环境一键搭建脚本