You should now be able to open your web browser and pull up your app by entering your DV Developer IP address on port 5000. By default, the application will be listening with port 5000.Once that has completed, you can start your example node web.js.To install the application requirements, use the node package manager, npm install.Now, clone the example repository from git clone.Next, you'll want to set up a document root (if you have one already, skip this step) and get into that directory to set up your example mkdir -p /var/www/nodeapp & cd $_ Use this repository if you want to install a different Node.js. The command should print out the most recent version number. The version included in the Ubuntu repositories is 10.19.0.To confirm the package was successfully installed, run the node -v.Now you should be able to install the nodejs package via aptitude -y install nodejs.Now update your sources aptitude -y update In this next step, we're going to add the Node.js PPA from Chris add-apt-repository ppa:chris-lea/node.js.Next, you'll need to install some basic libraries needed to complete the aptitude -y install dialog curl build-essential python-software-properties software-properties-common git-core.Ssh We'll be using aptitude to streamline the installation of this software, so first we'll want to make sure that your server is up-to-date by running the following aptitude -y aptitude -y safe-upgrade Log into your DV Developer via SSH as the root user:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |