Displaying 20 results from an estimated 38 matches for "hostnamectl".
2016 Apr 05
4
How to set hostname and domainnmae in CentOS 7?
We can permanently set hostname using hostnamectl set-hostname. How can we
permanently set *domain name* in CentOS 7?
I found an article
<http://unix.stackexchange.com/questions/239920/how-to-set-the-fully-qualified-hostname-on-centos-7-0>
that recommended setting FQDN using hostnamectl. Is that the right way to
set hostname and domainname a...
2015 Apr 27
1
Prevent network setup from changing the hostname
On 04/26/2015 07:37 PM, Frank Cox wrote:
> On Sun, 26 Apr 2015 19:25:27 -0500
> Robert Nichols wrote:
>
>> Do you know of a place I can set a static name that NetworkManager
>> won't override?
>
> What about this:
>
> hostnamectl set-hostname whateveryouwant
# which hostnamectl
/usr/bin/which: no hostnamectl in
(/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
# yum provides \*/hostnamectl
'''
No Matches found
Apparently does not exist for CentOS 6.
--
Bob Nic...
2016 Apr 05
0
How to set hostname and domainnmae in CentOS 7?
On 5 April 2016 at 20:24, Joe Smithian <joe.smithian at gmail.com> wrote:
> We can permanently set hostname using hostnamectl set-hostname. How can we
> permanently set *domain name* in CentOS 7?
> I found an article
> <
> http://unix.stackexchange.com/questions/239920/how-to-set-the-fully-qualified-hostname-on-centos-7-0
> >
> that recommended setting FQDN using hostnamectl. Is that the right way...
2016 Apr 06
2
How to set hostname and domainnmae in CentOS 7?
...of not always having DNS available back when the
earth was cooling.
On Apr 5, 2016 16:30, "James Hogarth" <james.hogarth at gmail.com> wrote:
> On 5 April 2016 at 20:24, Joe Smithian <joe.smithian at gmail.com> wrote:
>
> > We can permanently set hostname using hostnamectl set-hostname. How can
> we
> > permanently set *domain name* in CentOS 7?
> > I found an article
> > <
> >
> http://unix.stackexchange.com/questions/239920/how-to-set-the-fully-qualified-hostname-on-centos-7-0
> > >
> > that recommended setting FQDN u...
2015 Apr 27
4
Prevent network setup from changing the hostname
On 04/26/2015 06:31 PM, Peter Larsen wrote:
> On 04/26/2015 07:26 PM, Robert Nichols wrote:
>> How can I block network setup (via NetworkManager) from changing
>> the machine's hostname whenever the network configuration changes?
>
> Make it a system connection instead of a user connection. Or give the
> host a static name on install and don't allow dhcp to override
2018 Dec 27
1
After upgrade to 4.9.4, internal DNS no longer working
...us samba was accepting these settings, but a latest samba not.
Or a previous systemd version accepted these and a newer not..
Setting : DNSStubListener=No in /etc/systemd/resolved.conf.
is correct also, yes, its what you preffer, i mask the needed services.
>hostname is DC1, confirmed by hostnamectl, resolv.conf has just two entries: nameserver (own IP), and search samdom.example.com. Same as it is now, so this all works.
Just that because it works, that does not tell you if its correct.
I dont expect that this problem is a samba problem, because we would have seen moch more messages.
i...
2015 Apr 21
4
hostname on centos 7.1
I have a file /etc/sysconfig/network and in the file is
cat /etc/sysconfig/network
# Created by anaconda
HOSTNAME=zotac_c7.msgnet.com
[root at localhost ~]#
I rebooted and the prompt is still localhost ?
What is the new thing in CentOS 7 to set the host name
such that then the prompt is correct also?
Thanks
Jerry
2015 Feb 10
0
Central hostname management?
...all be
cloned with Ghost4Linux.
Now I'm trying to do the same thing on CentOS 7.
/etc/hosts:
127.0.0.1 localhost.localdomain localhost (IPv6 is disabled)
/etc/hostname:
localhost
I'm experimenting with all this while reading the RHEL Networking Guide.
I understand CentOS 7 is using hostnamectl to manage the hostname.
In that case, what do I have to do? Can hostnamectl be somewhat disabled
and/or removed?
Cheers,
Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'?glise - 30730 Montpezat
Web : http://www.microlinux.fr
Mail : info at microli...
2015 Aug 25
2
C7 and /etc/sysconfig/network
Does Centos 7 use /etc/sysconfig/network or is this replaced by some
systemctl set of commands.
For example I know to set my host name with:
hostnamectl set-hostname nevia.htt-consult.com
But I don't know if this is the same as
cat <<EOF>/etc/sysconfig/network || exit 1
NETWORKING=yes
HOSTNAME=nevia.htt-consult.com
EOF
2015 Dec 30
1
hostname service?
...I see that I couldn't previously find it with systemctl because it is a
"static" service, neither enabled nor disabled. What is "static" really
intended to mean here? The other static services seem to be boot-time
related for the most part, eg anaconda, pvscan....
Man for hostnamectl (also new to me) indicates some potential uses for the
hostnamed-maintained names, yet I see nothing obvious making use of that
info. Can you give me an example?
Thanks for the clues.....Nick Geovanis
>Date: Sun, 27 Dec 2015 18:14:55 -0700
>From: Brandon Vincent <Brandon.Vincent at asu.e...
2015 Apr 23
1
hostname on centos 7.1
...gt;
> cat /etc/sysconfig/network
> # Created by anaconda
> HOSTNAME=zotac_c7.msgnet.com
> [root at localhost ~]#
>
> I rebooted and the prompt is still localhost ?
>
> What is the new thing in CentOS 7 to set the host name
> such that then the prompt is correct also?
hostnamectl set-hostname --static c7.msgnet.com
Without the static option, I think it leaves out the periods in the name.
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
_______________________________________________...
2015 Nov 02
3
Changing the centos name on boot
On Mon, November 2, 2015 11:43 am, Mike - st257 wrote:
> On Mon, Nov 2, 2015 at 7:40 AM, Ramaseshan S <ramaseshan at fractalio.com>
> wrote:
>
>> I have been playing around with customizing the centos to create a spin
>> for
>> my workplace.
>> I am using centos 6.6 minimal, and trying to change the centos name to
>> some
>> random string.
2018 Dec 27
5
After upgrade to 4.9.4, internal DNS no longer working
On Thu, 27 Dec 2018 11:07:08 +0100
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> Gooood morning Rowland, :-)
>
> Your late ;-)..
> What i also did see, so its more clear for others also.
>
> > Dez 22 21:08:31 dc1 systemd[1]: Starting Samba AD Daemon...
> > Dez 22 21:08:31 dc1 kernel: audit: type=1131
> >
2015 Apr 29
3
Cannot authenticate the administrator account
On 29/04/15 20:37, Sketch wrote:
> On Wed, 29 Apr 2015, Andrey Repin wrote:
>
>> Greetings, Sketch!
>>
>>>> workgroup = INTERNAL
>>>> realm = EXAMPLE.COM
>>>> netbios name = SAMBA
>>
>>> Looks that way to me. Your realm should include the workgroup name:
>>> INTERNAL.EXAMPLE.COM.
>>
>> Nothing is
2015 Apr 21
0
hostname on centos 7.1
...gt;
> cat /etc/sysconfig/network
> # Created by anaconda
> HOSTNAME=zotac_c7.msgnet.com
> [root at localhost ~]#
>
> I rebooted and the prompt is still localhost ?
>
> What is the new thing in CentOS 7 to set the host name
> such that then the prompt is correct also?
hostnamectl set-hostname --static c7.msgnet.com
Without the static option, I think it leaves out the periods in the name.
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
2015 Apr 27
0
Prevent network setup from changing the hostname
On Sun, 26 Apr 2015 19:25:27 -0500
Robert Nichols wrote:
> Do you know of a place I can set a static name that NetworkManager
> won't override?
What about this:
hostnamectl set-hostname whateveryouwant
--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
2015 Nov 03
0
Changing the centos name on boot
...at.
>>> Can somebody help me with that ?
>>>
>> This can be found via a search engine.
>> http://www.rackspace.com/knowledge_center/article/centos-hostname-change
>>
> This way one changes hostname reported by
>
> hostname
Actually, now you should use:
hostnamectl set-hostname fqdn
>
> command (which usually though not necessarily is what the machine is
> registered on network with). My impression was the OP (original poster)
> wishes the system claim to be different from (CentOS) as he makes hist own
> tweaked distribution disk (or whatever...
2016 Sep 03
2
/etc/sysconfig/network HOSTNAME settings
Hello,
I found different ways to define the hostname ...
this
HOSTNAME="host.domain.tld"
or this:
HOSTNAME="host"
DOMAIN="domain.tld"
what is the correct way?
Thanks,
Walter
2016 Sep 04
1
/etc/sysconfig/network HOSTNAME settings
Hello,
I found different ways to define the hostname ...
this
HOSTNAME="host.domain.tld"
or this:
HOSTNAME="host"
DOMAIN="domain.tld"
what is the correct way?
Thanks,
Walter
2016 Dec 30
3
ADS domain member: winbind fails
On Fri, 30 Dec 2016 14:26:01 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2016-12-30 um 14:07 schrieb Rowland Penny via samba:
> > Is this the smb.conf you got when you ran the classicupgrade ?
> > I don't think it is, can I suggest you remove any and all lines you
> > have added and restart samba
>
> that was the