Skip to content

Instantly share code, notes, and snippets.

@vasilakisfil
Last active February 16, 2024 09:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasilakisfil/474bcf03839555660094 to your computer and use it in GitHub Desktop.
Save vasilakisfil/474bcf03839555660094 to your computer and use it in GitHub Desktop.
New linux machine setup
#install essential stuff
sudo apt-get install build-essential autoconf locate
sudo apt-get install git guake zsh curl vim vim-gtk3 postgresql-client \
postgresql postgresql-contrib redis golang direnv tmux bat ripgrep fzf
curl -L http://install.ohmyz.sh | sh
chsh -s /bin/zsh
zsh
#edit pg_hba.conf
ssh-keygen -t rsa -C "vasilakisfil@gmail.com"
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
#waiting user to copy keys to github
#testing out
ssh -T git@github.com
#install dotfiles
cd ~/
git init
git remote add origin git@github.com:vasilakisfil/config.rc.git
git fetch
git pull origin master
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
\curl -sSL https://get.rvm.io | bash
source ~/.profile
rvm default ruby --latest
gem install bundler
#gem install rails
#install nodejs
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
nvm install stable
#install heroku-cli
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
#login to heroku, also adds some plugins
heroku login
heroku keys:add
#add asdf multi-lang version manager
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.6.2
#add erang
asdf plugin-add erlang
asdf install erlang 21.2.2
asdf global erlang 21.2.2
#add elixir
asdf plugin-add elixir
asdf install elixir 1.8
asdf global elixir 1.8
#add hub for github cli
snap install hub --classic
@vasilakisfil
Copy link
Author

I need to remap ctrlP refresh kien/ctrlp.vim#51

@vasilakisfil
Copy link
Author

fix guake-solarized-colors script, add it to bin, add it to xbindkeys !

@vasilakisfil
Copy link
Author

add elastic search!

@vasilakisfil
Copy link
Author

add tmux
add docker and docker-compose

@vasilakisfil
Copy link
Author

@vasilakisfil
Copy link
Author

Add ngrok to $HOME/bin/

@vasilakisfil
Copy link
Author

sudo apt-get install vim-gtk3

@vasilakisfil
Copy link
Author

vasilakisfil commented Aug 3, 2017

Add default interpreter to tmux for guake

@vasilakisfil
Copy link
Author

Add crystal:
curl -L https://raw.github.com/pine/crenv/master/install.sh | bash
and follow instructions (should in there anyway)

@vasilakisfil
Copy link
Author

sudo apt-get install maximus

@vasilakisfil
Copy link
Author

@vasilakisfil
Copy link
Author

@vasilakisfil
Copy link
Author

@vasilakisfil
Copy link
Author

add devilspie2

@vasilakisfil
Copy link
Author

xkb-switch

@vasilakisfil
Copy link
Author

vasilakisfil commented Aug 28, 2019

tlp and powertop

@vasilakisfil
Copy link
Author

vasilakisfil commented Aug 28, 2019

smbios-thermal-ctl and s-tui

@vasilakisfil
Copy link
Author

add fzf and ripgrep

@vasilakisfil
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment