[:pb]CentOS – Verificação do IP Externo #17BRTutorial –[:en]CentOS – Verifying external IP – #17BRTutorial – [:]

CentOS - IP Externo

[:pb]

CentOS

Saiba como verificar o IP externo no Linux CentOS.

Este método pode ser utilizado para saber qual o IP externo do seu Servidor. Este método foi realizado no Linux CentOS 6.7, porém, em outras versões pode alterar alguma sequência do passo a passo.

 

*Lembrando que é de inteira responsabilidade do Administrador de TI analisar e executar tais comandos, para efetuar este procedimento terá de ter um login com permissão especial. Use com cautela.

  1. Primeiro vamos verificar se o pacote já está instalado em seu servidor.
  2. Após ter realizado o login* no servidor , digite curl ifconfig.me e aperte o <Enter>.
  3. Se o pacote estiver instalado, mostrará o IP externo do seu servidor, caso ocorra algum erro, realize a instalação do pacote curl em seu servidor.
  4. digite yum -y install curl e aperte o <Enter>.
  5. Após a instalação do pacote, digite curl ifconfig.me e aperte o <Enter>.
  6. Aguarde um instante, o resultado será o seu IP externo
  7. Pronto, dependendo da sua aplicação, é muito interessante documentar e guardar o IP externo, por exemplo, se seu provedor forneceu um plano de internet com IP for fixo, com esse comando conseguimos comparar e verificar se o serviço está sendo realizado de acordo com a contratação.

 

 

Galera, com isso finalizamos mais um BRtutorial que pode ser aplicado em seu dia a dia, no trabalho ou na faculdade.

Espero que tenham gostado do conteúdo aprendido e, caso tenham qualquer dúvida, critica ou ideia,

entrem em Contato que serei o mais breve possível para responder as suas dúvidas.

Compartilhem para os seus amigos e não deixam de acompanhar outros tópicos lançados semanalmente aqui no BRTutorial.

Venham conferir o nosso último BRTutorial postado nessa semana.

[:en]

CentOS

Know how to verify the external IP in the Linux CentOS.

This method can be used to know what is the external IP of your Server.

This method was performed in the Linux CentOS 6.7, but in other version it can change some step-by-step sequency.

*Remember that is the entire responsibility of the IT Administrator to analyse and to execute the commands, and to perfom this procedure it needs to have a Login with special permission. Use it carefully.  

 

 

  1. First, we are going to verify if the package is installed in your server.
  2. After you have logged in* in the Server, type curl ifconfig.me and press <Enter>.
  3. If the package is installed, it will show your Server`s external IP and, in case some error occurs, perform the Curl package installation in your Server.
  4. Type yum-y install Curl and press <Enter>.
  5. After the package installation, type curl ifconfig.me and press <Enter>.
  6. Wait a while. The result will be your external ID.
  7. Depending on its application, is interesting to document and save the external IP, for example, if your Internet Provider supplied an Internet plan with a permanent ID, with this command we can verify if the service is being performed according to the contract.

 

Folks, with this we have finished another BRtutorial which can be applied in your everyday lives, in your work or in the university.

I hope you liked the learned content and in case you have any doubt, criticism or Idea, keep in touch and I`ll be as brief as possible to answer it.

Share with your friends and don`t let following other topics weekly released here in BRtutorial.

Come check our last BRtutorial posted this week.

[:]