Skip to content

Instantly share code, notes, and snippets.

@AlexKomrakov
Last active March 30, 2021 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexKomrakov/b2981f1467fdcc0b8ccb742ca79a5660 to your computer and use it in GitHub Desktop.
Save AlexKomrakov/b2981f1467fdcc0b8ccb742ca79a5660 to your computer and use it in GitHub Desktop.
#!/bin/bash
##########################################
# System install script for ubuntu 16.04 #
##########################################
### Google-chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt -y install google-chrome-stable
### Gimp
sudo apt -y install gimp
### System utilites
sudo apt -y install htop
sudo apt -y install rcconf # Управление автозагрузкой демонов
sudo apt -y install mc
sudo apt -y install git
sudo apt -y install ant
### Telegram
wget --output-document=telegram.tar.xz "https://tdesktop.com/linux"
tar -xJvf telegram.tar.xz
sudo mv Telegram /opt/telegram
sudo rm telegram.tar.xz
sudo ln -sf /opt/telegram/Telegram /usr/bin/telegram
### Docker
curl -fsSL https://get.docker.com/ | sh
sudo usermod -aG docker $(whoami)
sudo apt -y install python-pip
sudo pip install docker-compose
### Golang
sudo apt-get -y install curl git mercurial make binutils bison gcc build-essential
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source /home/komrakov/.gvm/scripts/gvm
export CGO_ENABLED=0
gvm install go1.4
gvm use go1.4
gvm install go1.6
gvm use go1.6
### Nginx
sudo apt-get -y install nginx
### PHP and extensions
sudo apt -y install php7.0
sudo apt -y install php7.0-fpm
sudo apt -y install php7.0-gd
sudo apt -y install php7.0-curl
sudo apt -y install php7.0-mcrypt
sudo apt -y install php7.0-mysql
sudo apt -y install php7.0-pgsql
sudo apt -y install php7.0-intl
sudo apt -y install php7.0-soap
sudo apt -y install php-xdebug
sudo apt -y install php-redis
sudo apt -y install php-mongodb
sudo apt -y install php-mbstring
sudo apt -y install php-xml
sudo apt -y install php-imagick
sudo apt -y install php-memcache
# sudo php5enmod mcrypt
### PHP Phalcon latest
#sudo apt-add-repository -y ppa:phalcon/stable
#sudo apt-get -y update
#sudo apt-get -y install php5-phalcon
#sudo php5enmod phalcon
### Composer
sudo apt -y install composer
# Hirak / Prestissimo
# Parrallel composer plugin
composer global require hirak/prestissimo
### Nodejs
sudo apt-get -y install nodejs
### NPM
sudo apt-get -y install npm
### Arc desktop theme
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/arc-theme.list"
sudo apt-get update
sudo apt-get -y install arc-theme --force-yes
### Numix icon theme
sudo add-apt-repository -y ppa:numix/ppa
sudo apt-get update
sudo apt-get -y install numix-icon-theme-circle
### Ubuntu-tweak
sudo apt-get -y install unity-tweak-tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment