Jump to content
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Tutorial] Mudar Hostname do CentOS

Featured Replies

Simples tutorial de como alterar o hostname de um servidor que roda o CentOS, (ou outro baseado na RHEL), e não utilize algum painel de controle:

Siga os passos:

1º -

vi /etc/hosts
2º - Edite para o seguinte jeito:
# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 meunome.meudominio
3º -
vi /etc/sysconfig/network
4º - Edite para o seguinte jeito:
NETWORKING=yes

HOSTNAME=meunome.meudominio
5º - Rode o comando:
echo meunome.meudominio > /proc/sys/kernel/hostname

Espero que tenha sido útil.


Boa....

mas lembrando que se vc utiliza VPS rodando sobre OpenVZ isso ai só funciona enquanto não reiniciar a máquina, depois que reiniciar volta o hostname original :)


Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Do you agree with our terms?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.