Skip to main content

Posts

Showing posts with the label Ubuntu

Angular 2/4 Setup, install and Build Guide

This is a step-by-step setup guide to setup Angular Development Environment. 1. Install Node.js (Note:- Below Instruction for Debian and Ubuntu-based Linux distribution) NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about running Node.js >= 6.x on older distros.       For Node.js 8.x LTS(Long Term Support) curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs For Node.js 9.x Current curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs After Installing Node.js, the  NPM(Node package manager) should automatically be installed. Verify installation using commond   npm --version 2. Install Angular CLI via npm: npm install -g @angular/cli 3. To create a new project: ng new myapp  4. To run the Angular app: cd myapp ng serve Note: - This will start a server on localhost:4200 by defau...

In Ubuntu The disk drive for /tmp is not ready yet or not present

  If you get the error  "The disk drive for /tmp is not ready yet or not present"  during boot process then run the following command in ubuntu: sudo mv /tmp /tmp_old sudo mkdir /tmp sudo chmod -R 777 /tmp Reboot your system and if you want you can delete the /tmp_old folder.