Create a gist now

Instantly share code, notes, and snippets.

@gyKa /post-install.sh Secret
Last active Aug 13, 2018

Embed
What would you like to do?
#fatone #linuxmint_18.3
# installed linuxmint-18.3-mate-64bit (sylvia) on 2017-12-16
# linux mint:
# click on "Drivers" in "Welcome Screen", install and enable all available proprietary drivers
# uncheck checkbox on welcome screen
# restart (required only for applying driver changes)
# change background, change theme to Mint-Y-Darker
# add lithuanian keyboard layout
# add weather plugin to Panel
# xed:
# change theme to Oblivion
sudo apt-get remove --purge simple-scan gimp gimp-data pidgin pidgin-data pidgin-libnotify
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install snapd
# postgresql
sudo apt-get -y install postgresql
# create database and user:
## sudo su -l postgres
## createdb kapasdb
## psql kapasdb
## create user kapasuser with password 'kapaspassword';
# mysql
sudo apt-get -y install mysql-server
sudo apt-get -y install libmysqlclient-dev
# mysql workbench
## install from original website
# filezilla
sudo apt-get -y install filezilla
# weechat
sudo apt -y install weechat
# keeweb:
# download from https://keeweb.info/
# install - sudo dpkg -i Downloads/KeeWeb-1.6.3.linux.x64.deb
# go to preferences, in Storage section disable WebDAV, Google Drive and OneDrive
# add icon to panel, lock to panel
# git:
sudo apt-get -y install git
git config --global user.name "Gytis Karčiauskas"
git config --global user.email "gytis@karciauskas.lt"
# gitg:
sudo apt-get -y install gitg
# git-ftp:
sudo apt-get -y install git-ftp
# git lfs
sudo apt-get -y git-lfs
# ssh:
ssh-keygen -t rsa -b 4096 -C "gytis@fatone"
# add generated public key to github and bitbucket
# fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
source ~/.bashrc
# node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
source ~/.bashrc
nvm install --lts
sudo ln -s "$(which node)" /usr/bin/nodejs
# watchman
cd /tmp
git clone https://github.com/facebook/watchman.git
cd watchman/
git checkout v4.7.0
sudo apt-get install -y autoconf automake build-essential python-dev libtool libssl-dev
./autogen.sh
./configure
make
sudo make install
# personal projects:
mkdir ~/Projects
cd Projects/
git clone git@github.com:gyKa/gyka.github.io-source.git
git clone git@github.com:gyKa/gyka.github.io.git
git clone git@github.com:gyKa/dotfiles.git
git clone git@github.com:gyKa/kapas.git
cd ~
# dotfiles:
cd Projects/dotfiles/
make git
make weechat
cd ~
# php7.2:
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.2 php7.2-fpm php7.2-xml php7.2-mbstring php7.2-pgsql php7.2-mysql php7.2-gd
# composer:
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
# thunderbird:
# add simple rjg.lt account
# add karciauskas.lt account using app code and authentication method "Normal password" instead of OAuth
# add icon to panel, lock to panel
# change icon from "dotfiles" project
# spotify:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get -y install spotify-client
# phpstorm:
sudo snap install phpstorm --classic
# an icon in laucher should be available after reboot
# add icon to panel, lock to panel
# install plugins:
## Php Inspections (EA Extended) [https://github.com/kalessil/phpinspectionsea]
# pycharm:
sudo snap install pycharm-community --classic
# heroku
sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./"
curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install heroku
# docker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt update
sudo apt install linux-image-generic linux-image-extra-virtual
sudo reboot
sudo apt install docker-engine
# docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# visual studio code
# download from https://code.visualstudio.com/docs/?dv=linux64_deb
# bower
npm install -g bower
# typora
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
sudo add-apt-repository 'deb http://typora.io linux/'
sudo apt-get update
sudo apt-get install typora
# python
sudo apt-get -y install python3-setuptools
# PIP
sudo apt-get -y install python3-pip
# youtube-dl
sudo -H pip install --upgrade youtube-dl
# vim
sudo apt-get -y install vim
# rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable --ruby
gem install rails
# moc
sudo apt-get -y install moc
# xmonad
sudo apt-get -y install xmonad
# apache spark
sudo apt-get -y install openjdk-8-jdk-headless
wget http://downloads.lightbend.com/scala/2.12.1/scala-2.12.1.deb
sudo dpkg -i scala-2.12.1.deb
rm scala-2.12.1.deb
wget http://d3kbcqa49mib13.cloudfront.net/spark-2.0.2-bin-hadoop2.7.tgz
tar -xvf spark-2.0.2-bin-hadoop2.7.tgz
sudo mkdir /opt/spark
sudo cp -rv spark-2.0.2-bin-hadoop2.7/* /opt/spark
cd /opt/spark
./bin/spark-shell
### end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment