Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Node.js installed on Ubuntu Upstream version     - Oracle 12c PDB Analysis (Database)

- Oracle Standby Redo Log experiment (Database)

- Automatic Clear date directory shell script (Linux)

- Ora-00020: maximum number of processes (500) exceeded (Database)

- Ceph Source Analysis: Network Module (Server)

- Linux / Windows setup is complete port range (Linux)

- Ubuntu Linux Change the PATH (Linux)

- MySQL & NoSQL - Memcached widget (Database)

- Docker ecosystem security is gradually maturing (Server)

- SSH mutual trust configuration (Server)

- Physical backup and recovery SYSTEM table space (Database)

- CentOS 6.4 installation and configuration LNMP build PHP server runtime environment (Server)

- Linux variable learning experience (Linux)

- Java singleton mode (Singleton mode) (Programming)

- Replace element and non-replaced elements of learning (Programming)

- jQuery get value drop-down list and select text (Programming)

- Sleuth Kit: used to analyze a disk image and restore files open source forensics tools (Linux)

- The Oracle VM VirtualBox use U disk under ubuntu (Linux)

- Visual Studio Code experience (Linux)

- Tor Browser: under Linux for anonymous Web browsing ultimate browser (Linux)

 
         
  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
OK.
     
         
       
         
  More:      
 
- The development environment to build Nodejs under Ubuntu 14.04 (Linux)
- Redis is installed and set up Ubuntu 14.04 from the environment under the main ssdb (Server)
- There are three ways to run a Linux operating system from a USB stick (Linux)
- Docker installation under CentOS7 (Linux)
- To install Redis under Linux (Database)
- Why is the ibdata1 file growing in MySQL? (Database)
- Ubuntu users to install Gnome-Pie 0.6.5 (Linux)
- Ubuntu: To install chat client Chatty 0.6.1 (Linux)
- Running the open-source Swift under Linux platform (Linux)
- Analysis of Java in the deep copy and shallow copy (Programming)
- Configuring the remote Linux server SSH key authentication to automatically login in Mac OS X (Server)
- An example of troubleshooting of embedded Linux OpenWRT (Linux)
- About Auto Layout and frame (Programming)
- Java loop list to solve the problem of Joseph ring (Programming)
- Redhat 5 prohibit IPv6 (Linux)
- Based Docker build stand-alone high-availability cluster Hadoop2.7.1 Spark1.7 (Server)
- Linux Platform Oracle 11g Single Instance Installation Deployment Configuration Quick Reference (Database)
- Use Ansible efficient delivery Docker container (Server)
- Linux ./configure --prefix command (Linux)
- Linux system security norms (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.