change server hostname on linux/centos

> check the current hostname login on server as root user run the command: hostname

> change the hostname: hostname newname

Related Posts

  • 94
    To change the  hostname, follow the steps shown below. 1. Use hostname command to Change Hostname In this example, we’ll change the hostname from dev-server to prod-server. hostname command by default will display the current hostname as shown below: # hostname dev-server The following will change the hostname to prod-server.…
    Tags: hostname, change
  • 38
    cd : Change Directory The cd command, which stands for "change directory", changes the shell's current working directory. It is a builtin command, which means that it is executed directly by your shell, instead of launching an external program. cd is a command-line OS shell commandused to change the current working directory…
    Tags: change, command, current
  • 36
    What is samba server? Samba is an Open Source/Free Software suite that provides file and print services to SMB/CIFS clients. Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients. Samba uses the TCP/IP protocol that is installed on the host server.…
    Tags: server
  • 32
    MySQL stores accounts in the user table of the mysql system database. An account is defined in terms of a user name and the client host or hosts from which the user can connect to the server. The account may also have a password. There are several distinctions between the…
    Tags: user, server
  • 31
    > login on server through putty with current username & password > type: passwd root it will ask to put the new password...thats it
    Tags: root, login, server, current

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: