sh install_env.sh
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh install_env.sh相关的知识,希望对你有一定的参考价值。
#!/usr/bin/env bash
sudo apt update &&
sudo apt upgrade -y &&
#php for phpstorm and composer
sudo apt install sudo apt install php7.1 php-cli libapache2-mod-php7.1 php7.1-common php7.1-gmp php7.1-curl php7.1-soap php7.1-bcmath php7.1-intl php7.1-mbstring php7.1-xmlrpc php7.1-mcrypt php7.1-mysql php7.1-gd php7.1-xml php7.1-cli php7.1-zip -y
sudo apt install curl git unzip -y
#install composer
cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
#install docker
sudo apt install apt-transport-https ca-certificates software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce -y
#sudo systemctl status docker
#sudo usermod -aG docker ${USER}
#su - ${USER} &&
#id -nG
#install docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.24.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
docker-compose --version
#install dockergento
git clone https://github.com/ModestCoders/magento2-dockergento.git
sudo ln -s $(pwd)/magento2-dockergento/bin/dockergento /usr/local/bin/
#install php storm
sudo snap install phpstorm --classic
#install dbeaver
wget -O - https://dbeaver.io/debs/dbeaver.gpg.key | sudo apt-key add -
echo "deb https://dbeaver.io/debs/dbeaver-ce /" | sudo tee /etc/apt/sources.list.d/dbeaver.list
sudo apt update
sudo apt install dbeaver-ce -y
#other
sudo apt install terminator -y
#sudo apt install megasync -y
sudo apt install flameshot -y
sudo apt install meld -y
sudo apt install baobab -y
sudo apt install kdocker -y
sudo apt install conky -y
sudo snap install telegram-desktop --classic
sudo snap install spotify --classic
#install chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable -y
以上是关于sh install_env.sh的主要内容,如果未能解决你的问题,请参考以下文章
如何使我的命令行在具有扩展名(.sh)和名称如“weird.sh.sh.sh”的文件上工作
sh sh_template.sh
sh sh.sh
Linux下面如何运行 SH文件
配置告警系统主脚本main.sh mon.sh load.sh 502.sh disk.sh
shell 脚本各种执行方式(source ./*.sh, . ./*.sh, ./*.sh)的区别