When I think of the Linux system modified hostname already very familiar with the time, today encountered a few problems, these several questions for me a good lesson, a lot of knowledge points, when you think you have mastered the time, in fact,
From:http://www.cnblogs.com/kerrycode/p/3595724.html written in quite detail!!! Deep understanding of Linux modification hostname2014-03-12 10:17 by Xiaoxiang Hermit, 81950 reads, 19 Comments, Favorites, compilation When I think of the Linux system
Original: http://www.cnblogs.com/kerrycode/p/3595724.htmlWhen I think of the Linux system modified hostname is already very familiar with, today encountered a few problems, these questions give me a good lesson, a lot of knowledge points, when you
Transferred from: http://www.cnblogs.com/kerrycode/p/3595724.htmlWhen I think of the Linux system modified hostname is already very familiar with, today encountered a few problems, these questions give me a good lesson, a lot of knowledge points,
When I think of the Linux system modified hostname is already very familiar with, today encountered a few problems, these questions give me a good lesson, a lot of knowledge points, when you think you have mastered, in fact, you know is only fur.
The reason for recording this is that when JBoss is used, server startup will bind a hostname while hostname does not exist under/etc/hosts. some inexplicable problems will be reported during startup!
To put it simply, uname-A can see the hostname.
How to modify the hostname of the Linux hostnameLinux operating system is a kernel variable. you can use the hostname command to view the hostname of the local machine. You can also directly view the catprocsyskernelhostname. How does
Linux hostname modification explanation Linux operating system hostname is a kernel variable, you can use the hostname command to view the local hostname. You can also directly view the catprocsyskernelhostname. Hostnamecatprocsyskernelhost linux
Article Title: linux hostname modification details. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The
Change the hostname of centos-valid permanentlyProcedure
Uname-a (or hostname) can see the hostname. The modification steps are as follows:
uname -aView hostname
hostname newnameModify to make the hostname take effect immediately.
vi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.