Last active
February 16, 2024 09:05
-
-
Save vasilakisfil/474bcf03839555660094 to your computer and use it in GitHub Desktop.
New linux machine setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 "[email protected]" | |
sudo apt-get install xclip | |
xclip -sel clip < ~/.ssh/id_rsa.pub | |
#waiting user to copy keys to github | |
#testing out | |
ssh -T [email protected] | |
#install dotfiles | |
cd ~/ | |
git init | |
git remote add origin [email protected]: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 | |
Add crystal:
curl -L https://raw.github.com/pine/crenv/master/install.sh | bash
and follow instructions (should in there anyway)
sudo apt-get install maximus
add ripgrep (https://github.com/BurntSushi/ripgrep)
add devilspie2
xkb-switch
tlp and powertop
smbios-thermal-ctl and s-tui
add fzf and ripgrep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add default interpreter to tmux for guake