Java Expert....Java/Open Source Addict

Redes Sociales

twitterlinkedinrss feedemail youtube

Subscribete

lunes, 26 de noviembre de 2018

Install Docker on Centos 7



Hello friends, in this opportunity I am going to review how to install the Docker on Centos 7. For this we need to do the following:

1.- First, we need to install the followings dependencies: yum-utils, device-mapper-persistent-data and lvm2. In my case I have installed.



2. Next we need to add the docker repository.


3.- Then, we need to install docker using the yum install docker-ce command.



During the installation process, we need to accepted  the information key.

4.- Finally, when the installation has finished. We need start up the docker service executing the systemctl start docker command and verify it through the docker run hello-world command.



 

lunes, 5 de noviembre de 2018

Install NodeJS on Centos 7



Hello friends, in this post I am going to show how to install NodeJS on Centos 7. For do this, we need to do the following.

1.- First go to the Node download page and download it.



2.- Next uncompress the package on directory you like.

3.- Then, configures the NODE_HOME environment variable. In my case I will configure on the root account in the /etc/profile file. For this we need to log as like root user.



4. After that, you must to update the environment variables executing the source /etc/profile command in both root and user account o also we can reboot the machine.


5.- Finally, we need to test the node version with the node -v command.