From: peter@abbnm.com (Peter da Silva)
Subject: Re: Change System Name - Is this procedure still valid?
Date: Tue, 24 Jun 2003 17:41:02 +0000 (UTC) [thread overview]
Message-ID: <bda2fe$1bpv$3@jeeves.eng.abbnm.com> (raw)
In-Reply-To: 3ef84b47$0$228@hades.is.co.za
In article <3ef84b47$0$228@hades.is.co.za>, JasperH <jmh@somchem.co.za> wrote:
> I found the following procedure for changing my Alpha' s system name.
> Is it still valid?
> 1. # rcmgr set HOSTNAME newname
Check.
> 2. Edit the /etc/hosts file and make the following change
>
> From:
> #
> 127.0.0.1 localhost
> 16.72.0.156 oldname
>
> To:
> #
> 127.0.0.1 localhost
> 16.72.0.156 newname
Check.
Also, if you're using DNS, update the matching host/zone/whatever files
you're using to maintain that.
> 3. Reboot the system at a convenient time.
>
> # shutdown -r now
You can generally get the same result by running 'hostname newname' and
restarting a few programs, but this is safer.
Don't forget that you may need to rerun mailsetup or otherwise edit your
mail configuration.
> 4. Edit the system configuration file so you can rebuild
> the kernel the next time it is needed. The next kernel
> rebuild, you will want to do "doconfig -c NEWNAME," after
> doing the following commands:
>
> # cd /sys/conf
> # cp OLDNAME NEWNAME
> # vi NEWNAME
>
> From:
> ident "OLDNAME"
>
> To:
> ident "NEWNAME"
I don't think this part is actually necessary. You an build a kernel with
any file and ident name you want - it doesn't need to match the system name.
In fact it's not unusual to have more than one kernel config file on a system.
--
#!/usr/bin/perl
$/="%\n";chomp(@_=<>);print$_[rand$.]
Peter da Silva, just another Perl poseur.
next prev parent reply other threads:[~2003-06-24 17:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 13:02 Change System Name - Is this procedure still valid? JasperH
2003-06-24 17:41 ` Peter da Silva [this message]
2003-06-24 18:43 ` Bruno
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox