LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2011, 02:01 PM   #1
mymoney26
LQ Newbie
 
Registered: Dec 2010
Posts: 28

Rep: Reputation: 0
How to set FQDN in Centos


Hi when I enger hostname -f i get file can not be found I then tried yast lan and get invalid command.

So How do I set the FQDN in my centos server?

THank You
 
Old 02-19-2011, 02:12 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
You can edit /etc/hosts

eg.

Code:
192.168.1.32 hostname.domainname.com
See the following thread:
http://www.linuxquestions.org/questi...-setup-302189/
 
1 members found this post helpful.
  


Reply



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
CentOS in one VirtualBox, Windows in another - can I set up Samba in the CentOS VB? ismism Linux - Newbie 10 08-08-2010 03:34 PM
Can I set a single word to be an FQDN? hsia Linux - Newbie 11 11-05-2008 02:02 AM
how to change/set fqdn? johnpaulodonnell Linux - Newbie 1 04-27-2007 07:05 AM
How to set FQDN in debian? davidas Debian 4 04-14-2004 06:37 AM
what should i set a local FQDN to? vrillusions Linux - Newbie 1 02-09-2003 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:56 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
Open Source Consulting | Domain Registration