|
|
Choosing A Webhost: |
Re: domainname / hostname setzen: msg#00124linux.redhat.fedora.german
Am Sa, den 26.03.2005 schrieb Al Bogner um 0:59: > Ich möchte hostname und domainname setzen, zB so: > > domainname -v local > Setze domainname auf ,,local'' Dir ist klar, was "domainname" ist? Ich fürchte, nein. > cat /etc/hosts > # Do not remove the following line, or various programs > # that require network functionality will fail. > #127.0.0.1 client5.local client5 localhost.localdomain > # localhost > 127.0.0.1 localhost > 192.168.1.105 client5.local client5 Warum hast du die localhost mapping Zeile zerstört? Es steht doch nicht ohne Grund in der hosts, dass du sie nicht verstümmeln sollst. 127.0.0.1 localhost.localdomain localhost Und dann die Finger von lassen! > Beim nächsten Neustart ist die Einstellung aber weg. > > domainname -v > getdomainname()=,,(none)'' > (none) > Al Wenn du einen FQDN hostname setzen willst, also der hostname deines Rechners nicht nur client5 lauten soll, sondern client5.local, dann geht es nicht um "domainname". Editiere /etc/sysconfig/network und dort HOSTNAME. Oder bemühe system-config-network. DOMAIN und NISDOMAIN wäre auch ein mögliches Setting, ist allerdings für NIS da. Zum Nachlesen: /usr/share/doc/initscripts-*/sysconfig.txt. Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp Serendipity 03:03:55 up 9 days, 1:00, load average: 0.27, 0.39, 0.47
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: xrandr fehlt, Roland Wolters |
|---|---|
| Next by Date: | USB-Stick - keine Reaktion ! (FC3), trinitaucher |
| Previous by Thread: | domainname / hostname setzen, Al Bogner |
| Next by Thread: | Re: domainname / hostname setzen, Al Bogner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |