Posts

Showing posts with the label How to Changing Host Name

Content

                                                  Content How to create an AWS free Account? Lab 1: To launch amazon Linux EC2 instance Lab 2: To Connect to the instance from Linux client Operating System Lab 3:To Launch amazon windows instance Lab 4: Installing apache in EC2 instance Lab 5: Installing Nginx in EC2 instance Lab 6: Changing Host Name Lab 7: Creating a user and making as a sudoer Lab 8:Assigning an Elastic ip Lab 9:Creating ebs,attach and detach the volumn to the instance Lab 10:Creating an S3 Bucket and creating cross replication in another region Lab 11:Load Balancer Lab 12:Two instances with Application Load Balancer Lab 13:Launching two instances with load Balancer Lab:14 Creating Own VPC  Lab 15: Two instances which classic load Balance with own VPC Lab 16:Two instances with Application load Balancer with own VPC Lab 17: Relational Data B...

Lab 6: Changing Host Name

Image
                                                                 Lab 6: Changing Host Name Device or system host names are used to easily recognize a machine within a network in a human readable format.It is not much of a surprise ,but on Linux system,the host name can be easily changed by using simple commands as " Host name " First login to the server by pem file and Ip address If  you want to change the host name switch to root user #sudu su- Just run the command to know the host name #hostname It's difficult to remember the host name and all So change the host name with easily recognize Host name file will be locate in /etc/hostname in this path you can change the name #vi/etc/hostname Here you can see the host name Just delete that line enter the name which you want Just save  and come out of it Run the ...