cPanel now has a built in Terminal feature, which allows you to connect to your hosting account shell, as if you were using an SSH client (such a Putty).
Firstly, log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel', Then once logged in - under the Advanced heading, click on Terminal.
Once on the Terminal page, you will first be greeted by a warning, stating to use caution when using this interface, as it can cause corruption or loss of data if used incorrectly.
When you are ready to proceed click on the "I understand and want to proceed" button
The terminal will then be loaded on to the page and you will be automatically logged in to this, as shown in the example below.
In this example we will run a couple of test commands to show the terminal in action:
This will take you in to your public_html directory within your hosting
ls This will list the files of the directory you are currently in (in this example: public_html). Please note that the ls command does not display hidden files by default, for that you would want to use ls -a
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...