How to install Maven on CentOS

Apache Maven is a project management software, managing building, reporting and documentation of a Java  development project. In order to install and configure Apache Maven on CentOS, follow these steps.

First of all, you need to install Java 1.8 JDK. Make sure to install Java JDK, not JRE.

Then go ahead and download the latest Maven binary from its official site. For example, for version 3.3.9:

[Read more…]

Solving npm error: Cannot find module ‘are-we-there-yet’

Problem

# npm install cordova-ios

module.js:340 throw err; ^ Error: Cannot find module 'are-we-there-yet'

at Function.Module._resolveFilename (module.js:338:15) at

Function.Module._load (module.js:280:25) at Module.require

(module.js:364:17) at require (module.js:380:17) at Object.<anonymous>

(/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:2:16)

at Module._compile (module.js:456:26) at Object.Module._extensions..js

(module.js:474:10) at Module.load (module.js:356:32) at

Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)

[Read more…]

Bootable USB stick on OS X

I need to install Ubuntu on Sony Vaio laptop. So I need to create bootable USB stick for that. My home OS is Mac OS X 10 and today we gonna make bootable USB stick on OS X.

Note: this procedure requires that you create an .img file from the .iso file you download. It will also change the filesystem that is on the USB stick to make it bootable, so backup all data before continuing.

Tip: Drag and drop a file from Finder to Terminal to ‘paste’ the full path without risking typing errors.

1. Download Ubuntu for Desktop.

2. Open the Terminal. [Read more…]