forked from gaoshang1102/setupNewUbuntu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommandLine
34 lines (28 loc) · 1.03 KB
/
commandLine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#install R
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/'
sudo apt update
sudo apt upgrade
sudo apt install r-base
#install curl
sudo apt-get install libcurl4-openssl-dev
#install magick
sudo apt0get install libmagick++-dev
#install R packages in R consle
#install.packages("package-name")
install.packages("BiocManager") ## bioconductor
BiocManager::install("rhdf5") ## bioconductor packages installation
#install node.js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
. ~/.nvm/nvm.sh
nvm install node
node -e "console.log('Running Node.js ' + process.version)"
#link server to github
ssh-keygen -t rsa -b 4096 -C "https://github.com/gaoshang1102/LPS_data_webapp.git"
more .ssh/id_rsa.pub
#copy the output to the SSH key in github
git init
git remote add origin [email protected]:gaoshang1102/LPS_webapp.git
git add .
git commit -m “first commit”
git push origin master