Next, run the following command to finally install NodeJS and NPM. Once completed, we need to download the package information from the newly added source above. For other methods, you can check our blog post on how to install NodeJS and NPM. In this article, we will install them using the node source. There are some methods to install both NodeJS and NPM. Now, we can log in as the new user ‘master’, and we will use this user to complete the installation. In Ubuntu, users who are members of sudo group are allowed to run sudo commands. Once created, let’s run this command to add the new user to sudo group. In this tutorial, we will create a new system user called ‘master’, you can choose any username you like. Next, we will create a new system user and grant it sudo privileges. You can do this by running the following commands: # apt update -y You will need to replace ‘IP_Address‘ and ‘Port_number‘ with your server’s respective IP address and SSH port number.īefore starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. First, log in to your Ubuntu 20.04 server through SSH as the root user: ssh -p Port_number
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |