LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2011, 01:48 AM   #1
kaesas
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
change server name


how do you change the name of a name of a machine
 
Old 02-07-2011, 02:10 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions,

Depending on what distro you use there are some places where hostname is/can be set. Manually you just use the command
Code:
hostname <newhostname>
log out and it's changed for the duration of the session. If you want to make it permanent change the hostname in whatever file it's used (/etc/hostname, /etc/hosts, /etc/sysconfig/network, ...) depending on your distro. If you indicate what distro you're using, better help can be offered. The more information you provide the more detailed answer you'll get. Have fun with Linux.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change a nis slaver server to a master server fine Linux - Software 2 08-24-2009 11:22 PM
File server, print server inaccessible when change to new DNS tanveer Linux - Server 0 07-31-2007 04:21 AM
Change from '@server.example.com' mors Linux - Software 3 11-07-2006 07:38 AM
change server name gpamkenny Linux - Software 1 01-13-2005 11:32 AM
how do I change my identd server name? maddcow Linux - Networking 0 11-17-2003 10:59 PM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration