POSTGRES
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
sudo -u postgres createuser –interactive
#name of role = yourLoggedInUserName
#super uesr? yes
Set permissions for local postgres access in pg_hba.conf
# will probalby be in /etc/postgresql/VERSIONNUMBER/main/pg_hba.conf
set all database administrative in peer column to ‘trust’ this allows you to login locally without security (i.e. don’t do this for production)
with the user you are logged in as, run these commands, for instance if you login as my_user_name
sudo su postgresql
psql
CREATE ROLE my_user_name WITH SUPERUSER;
ALTER ROLE my_user_name WITH CREATEDB;
ALTER ROLE my_user_name WITH LOGIN;
Add git SSH access
mkdir ~/.ssh
chmod 700 ~/.ssh
cd ~/.ssh
ssh-keygen -t rsa -C YOURNAME
cat id_rsa.pub
Copy what is displayed into your github/bitbucket to add new keys
install git
sudo apt-get install git
Install RVM
https://rvm.io/
Set RVM as function
copy this
[[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm”
From: ~/.bash_profile file
To: ~/.bashrc file
Install Ruby
close and open a new terminal
rvm install 2.3.1
Set default ruby
rvm –default use 2.3.1
Install Java
sudo apt-get update
sudo apt-get install default-jdk
Install Elasticsearch
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-2.3.2.deb
sudo dpkg -i elasticsearch-2.3.2.deb
Install Neo4j
wget -O – https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add –
echo ‘deb http://debian.neo4j.org/repo stable/’ >/tmp/neo4j.list
sudo mv /tmp/neo4j.list /etc/apt/sources.list.d
sudo apt-get update
sudo apt-get install neo4j
Install Node version manager (NVM)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash
nvm install 6.1.0
LINK Rubymine properly
https://makandracards.com/makandra/879-install-rubymine-under-ubuntu
tar -xzf RubyMine-X.Y.Z.tar.gz
Make a directory for RubyMines:
mkdir -p ~/bin/rubymines/
mkdir -p ~/bin/rubymine/
Move the unpacked RubyMine folder to the desired destination:
mv ~/Downloads/RubyMine-X.Y.Z ~/bin/rubymines
Make a symlink:
ln -nfs ~/bin/rubymines/RubyMine-X.Y.Z ~/bin/rubymine
Postgress
sudo apt-get install lib-pqdev
image magick – rmagic
sudo apt-get install libmagickwand-dev
Leave a Reply