Create a gist now

Instantly share code, notes, and snippets.

@gyKa /post-install.sh Secret
Last active Jan 17, 2018

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 firefox firefox-locale-en simple-scan gimp gimp-data pidgin pidgin-data pidgin-libnotify
sudo rm -rf /usr/lib/firefox-addons/
sudo rm -rf /usr/lib/firefox/
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
# filezilla
sudo apt-get -y install filezilla
# chromium:
sudo apt-get -y chromium-browser
# disable "Manage passwords"
# disable "Offer to translate pages that aren't in a language you read"
# install extension "Replace New Tab Page"
## set homepage to http://gyka.github.io/homepage
# install extension "Adblock Plus"
# install extension "StravistiX"
# install extension "JSON Viewer" by tulios
# add icon to panel, lock to panel
# 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
# ssh:
ssh-keygen -t rsa -b 4096 -C "gytis@fatone"
# add generated public key to github and bitbucket
# node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
source ~/.bashrc
nvm install --lts
# 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
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
# 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]
# 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
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 $(lsb_release -cs) stable"
sudo apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment