Shine Servers LLP
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Web Hosting
    • Cloud Compute
    • Dubai Bare Metal Servers (Dedicated Servers) (UAE)
    • India Dedicated Servers
    • Europe Dedicated Servers
    • USA Dedicated Servers
    • Business Hosting
    • Dedicated Severs In Dubai, UAE
    • Designing
    • Microsoft Windows
    • Microsoft Windows Server
    • Microsoft Windows SQL Server
    • Bare Metal Dedicated Servers
    • Root Servers (KVM)
    • Website Security
    • XOVI NOW
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Linux
  4. Changing hostname in Centos

  Categories

General Tutorials
18
Linux
40

  Categories

  Tag Cloud

mariadb invalid grant string mysql

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

Changing hostname in Centos Print

  • 0

The steps to change the hostname on your Dedicated Server / VPS in Centos are as follows:

1.) Login to SSH as root
2.) Type "vi /etc/sysconfig/"
3.) Press insert on the keyboard and change the HOSTNAME to your preferred servername
4.) Press ESC on the keybord
5.) Save the configuration by typing ":wq!"
6.) Reboot server


Was this answer helpful?

Related Articles

Installing htop htop is an interactive process viewer for Linux, which is a powerful alternative to the... Bind Multiple IP Addresses to a Single Network Interface Card (NIC) This tutorial demonstrates how to bind multiple IP addresses to a single NICI'll be using LAN... Clear Memory Cache on Linux Server By default the Linux OS has a very efficient memory management process that should be freeing any... Set the time on a Linux server Log into the server via SSHAt the shell prompt run the following command:date MMDDHHmmYYYYFor... Check your disk usage in Linux A good way to check your disk usage for folders on your Linux server is via shell.Download...
« Back

  Tag Cloud

mariadb invalid grant string mysql

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2026 Shine Servers LLP. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Choose Currency

$ USD
£ GBP
₹ INR
€ EUR
AED

Generate Password

Please enter a number between 8 and 64 for the password length