Skip to content

Instantly share code, notes, and snippets.

@DraTeots
Last active May 1, 2019 21:32
Show Gist options
  • Save DraTeots/7a4ca00d4c46b4a498c7ac852259bb7e to your computer and use it in GitHub Desktop.
Save DraTeots/7a4ca00d4c46b4a498c7ac852259bb7e to your computer and use it in GitHub Desktop.
JLab RHEL7 machines (Npm, vscode, etc)

NVidia drivers

Use navigato repo https://negativo17.org/nvidia-driver/

To check - nvidia-smi

nvm installation

From nvm github https://github.com/creationix/nvm#installation

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

# now from bash(!!!) we can do
source .nvm/nvm.sh
nvm install 10

Now from this site, establish npm global packages to user directory (so no sudo needed)

 mkdir ~/.npm-global
 npm config set prefix '~/.npm-global'
 
 # This is because of JLab certificates
 npm config set strict-ssl false
 
 #set up it in your bash profile
 export PATH=~/.npm-global/bin:$PATH

test

npm install -g jshint

Finally ungit https://github.com/FredrikNoren/ungit

npm install -g ungit

# From bash with all abouve!
ungit

To run browser from ssh

firefox -no-remote

VSCODE

available here:

https://vscode-update.azurewebsites.net/latest/linux-x64/stable

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