Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Node.js installed on Ubuntu Upstream version     - Ora-00439: feature not enabled: managed standby (Database)

- Taught you how to build your own VPS server (Server)

- How to install the latest version of the Eclipse in Ubuntu 14.04 (Linux)

- Linux System Getting Started Tutorial: mounted directly in Linux LVM partition (Linux)

- To install PostgreSQL 9.4 (Database)

- Java class loading order (Programming)

- Linux iptables firewall and vsftpd to resolve the issue (Linux)

- Android HTTP request with Get Information (Programming)

- SVN common commands (Linux)

- How to use tmpfs in RHEL / CentOS 7.0 (Linux)

- JBPM6 Installation and Configuration Tutorial (Linux)

- Spark and Hadoop comparison (Server)

- Java deserialization test (Programming)

- Using Ruby to build a simple HTTP service and sass environment (Server)

- Orabbix binding Python send graphical reports (Linux)

- The several technical presentation Raid under Linux (Linux)

- JavaScript property of checkbox.disabled (Programming)

- Oracle TDE transparent data encryption (Database)

- pscp use Detailed Windows and Linux each file transfer tool (Linux)

- Java garbage collection (Programming)

  Node.js installed on Ubuntu Upstream version
  Add Date : 2016-04-25      
  Node.js is a software platform that can be used to quickly develop and build scalable Web applications. Node.js uses JavaScript as its scripting language, through non-blocking I / O and single-threaded event loop mechanism to achieve a high throughput.

Node.js contains a built-in HTTP server library, it can be run directly to the Web server without using external software, such as Apache or Nginx, but also provide more control over the Web server is running.

To install Node.js on Ubuntu server, you first need to update the system. In fact, before installing any packages, you should make sure that the depot is the latest:

# Sudo apt-get update
Once the system update, you need to install the build-essentials package. This package contains the library foundation to build Debian packages.

# Sudo apt-get install build-essential
Also you need to install curl tool. curl is a library that can make HTTP requests from the command line.

# Sudo apt-get install curl
After installing curl, Node.js on all packages required must be installed. Node.js installation There are many ways, the easiest way is to perform:

# Sudo apt-get install Nodejs
However, the most recent Node.js version may not have added to the Ubuntu standard library. In order to ensure that the latest version, we should download the source code, then compile and install it.
First, add the environment variable in .bashrc configuration file:

# Echo 'export PATH = $ HOME / local / bin: $ PATH' >> ~ / .bashrc
#. ~ / .bashrc
Then, create the required installation directory:

# Mkdir ~ / {local, node-latest-install}
Then, go to the latest installation directory, use the curl to download Node.js documentation, and then extract the tar tool.

# Cd ~ / node-latest-install
# Curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components = 1
Next, start setting the parameters, Node.js installed for the current user and run:

# ./configure --prefix = ~ / Local
# Make install
Node.js Once installation is complete, you should then install Node.js package manager NPM, NPM is the official Node.js package manager.

# Curl https://npmjs.org/install.sh | sh
By viewing Node.js version to check whether the installation was successful, execute:

# Node -v
- Linux system components Detailed log (Linux)
- The sublime into IDE (Linux)
- Java static internal class (Programming)
- Linux System Getting Started Tutorial: Linux file permissions brief description (Linux)
- Linux Regular expressions grep and egrep (Linux)
- The several technical presentation Raid under Linux (Linux)
- Radius server setup under CentOS (Server)
- Oracle Bug caused by the collection of AWR Snapshot fault (Database)
- Android HTTP request with Get Information (Programming)
- Ubuntu install Avast antivirus software (Programming)
- Oracle table Access Control (Database)
- Linux using TCP-Wrapper Service Management (Linux)
- How to run in support UDp Docker container JBoss data virtualization GA (Server)
- General Linux interface server parameter tuning (Server)
- Ubuntu set Swap Space Tutorial (Linux)
- How to use the process on the desktop xkill end Linux (Linux)
- XtraBackup achieve non-stop use of master-slave synchronization service (Database)
- Basic Operation Linux files and directories (Linux)
- Storm basic framework for analysis (Programming)
- Oracle how to assess the true concurrent session (Database)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.