Skip to content

Instantly share code, notes, and snippets.

@ajai8085
Created October 22, 2017 01:57
Show Gist options
  • Save ajai8085/810fa679e822114007700e2cdc9462ec to your computer and use it in GitHub Desktop.
Save ajai8085/810fa679e822114007700e2cdc9462ec to your computer and use it in GitHub Desktop.
Settingup Ubuntu(XUbuntu 16.10) Development environment

Soon after the installation XUBUNTU 17.10 issue the command Sudo apt-get update sudo apt-get install htop sudo apt-get install build-essential sudo apt-get install apt-transport-https ca-certificates curl software-properties-common

#Install JDK on Ubuntu

--uninstall all versions of java

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update

#refer tutorials https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

sudo apt-get install oracle-java8-installer

sudo apt-get install oracle-java9-installer

#install intellij ide without jdk and unzip into a location open termial and navigate to intellij community edition and issue the command ./idea.sh

#Set git Sudo apt-get install git #set git bash symblols git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1

Edit .bashrc file mousepad ~/.bashrc or nano ~/.bashrc or gedit ~/.bashrc Add following line at the end GIT_PROMPT_ONLY_IN_REPO=1 source ~/.bash-git-prompt/gitprompt.sh

ssh-keygen -t rsa -b 4096 -C "[email protected]"

eval "$(ssh-agent -s)"

ssh-add ~/.ssh/id_rsa

sudo apt-get install xclip

xclip -sel clip < ~/.ssh/id_rsa.pub

#install mysql server sudo apt-get install mysql-server (install mysql workbench)

#nodejs curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs sudo apt-get install -y npm

#yarn read here (https://yarnpkg.com/en/docs/install)

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

#issue with yarn
yarn --version get 0.27 , run the following afer adding ppa

sudo apt-get -o Dpkg::Options::="--force-overwrite" install yarn

sudo npm install -g @angular/cli sudo npm install -g create-react-app

#docker CE installation (at present there is issue in installing docker CE )

@ajai8085
Copy link
Author

ajai8085 commented Oct 22, 2017

sudo apt-get install mysql-workbench
For fast angular 2,4,5 installation use yarn by setting up the following command
ng set --global packageManager=yarn

This will make the subsequent ng-new project creation much faster

@ajai8085
Copy link
Author

download the debian package for the x64 distro from below url and install

https://download.docker.com/linux/ubuntu/dists/zesty/pool/stable/amd64/docker-ce_17.09.0~ce-0~ubuntu_amd64.deb

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