, is it the catalog library problem or the target library?Do not think, the target library has been used well, listen to anything is not a problem,(My target hostname Demon Ip192.168.1.8/catalog Library host name Jibo ip192.168.1.4)Check target, tnsping 192.168.1.4.[Email protected] admin]$ tnsping 192.168.1.4TNS Ping Utility for linux:version 11.2.0.4.0-production on 24-sep-2014 00:43:42Copyright (c) 1997, Oracle. All rights reserved.Used parameter f
Linux hostname has been developing for a long time. Here I will share my personal understanding. Next I will talk about Linux hostname. Today, I began to write network documents again. I first wrote a smaller trainer and planned a larger basic network document. I felt like I could not start with my own plan, there is too much content, and everyone is reading too tired. Therefore, we can split large document
Hostname setting method 1 Check hostnamelinux :~ # Hostnamelinuxlinux :~ # Hostname-i9.110.183.2122 set the hostname Core File 1 linux :~ # Cat/etc/hosts # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. it is mostly # used at boot time, when no name servers are running. #
Querying and modifying host informationI. How to modify the Linux host name1. Change the current host name1.1 echo New-hostname>/proc/sys/kernel/hostname (when the system starts, the host name is read from this file)1.2 hostname New-hostname (effective immediately, but will expire after the system is restarted)2. modif
One. Scenario Description:There are a lot of servers in an environment, each server hostname are different, there are hundreds of servers, if one by one through SSH modification, then for us, the workload is very large, and inefficient, and this hostname for our peacetime operation is also very important, When we ssh to a server, if the host name is not set, then we need to know the location of the server b
CentOS Modify Host Name
1. Temporarily modify host nameDisplay host Name:[Email protected]:~$ hostnamelocalhostModify Host Name:[Email protected]:~$ sudo hostname orcl1[email protected]:~$ HOSTNAMEORCL12. Permanently modify the host nameThe above modification is only a temporary change, after the restart is back to the original.
Step 1:
Modify the hostname in/etc/sysconfig/network
Vi/e
Centos6
Two places need to be modified: One is/etc/sysconfig/network, the other is/etc/hosts, and modifying any one of these will cause the system to boot abnormally. First switch to root user.
/etc/sysconfig/networkOpen the file, which has a line of ' Hostname=localhost.localdomain, modify localhost.localdomain for your host name.
/etc/hostsOpening the file, there will be a row 127.0.0.1 localhost.localdomain localhost where 127.0.0.1 is the local
When the Inux is installed, its default hostname is localhost.
It takes 3 steps to modify the Linux host name:
1. Modify the current host name using hostname.Hostname new-hostname
2. Modify the/etc/sysconfig/network configuration file so that the new hostname is used the next time you restart.
Open the/etc/sysconfig/network file and change the
hostname command to view the hostname of this machine,#hostnameHostname command to set the hostname of the system#hostname newnameNewName is the new hostname to be set, which takes effect immediately after the run (restarting the shell), but changes are lost after the system
Modify the host name hostname. And centoshostname of CentOS.
Modify the hostname of CentOS
It is said that the host name with localhost is not good for Oracle Installation, so there are several ways to modify the hostname:
(1) Use the hostname command (temporarily)
Check the current host name. Set
Two places need to be modified: One is/etc/sysconfig/network, the other is/etc/hosts, and modifying any one of these will cause the system to boot abnormally. First switch to root user.
The code is as follows:
/etc/sysconfig/network
Open the file in any of your favorite editors, with a line of Hostname=localhost.localdomain (if default), and modify localhost.localdomain for your hostname.
The code is as
In the Ubuntu system, there are several ways to quickly view the hostname:One, open a GNOME terminal window, you can see the host name at the command prompt, the hostname is usually after the "@" symbol;Second, enter the command in the terminal window: hostname or UNAME–N, you can view the host name of the current host.2. Temporarily modify host nameCommand line Run command: "
After a few days of discussion, I believe we have a very deep understanding of how to modify hostname under Linux, then we will talk about the fourth question today.Question 4: Does the hostname have anything to do with/etc/hosts configuration? If from the above experiment, actually hostname and/etc/hosts under the configuration is not related.
In the Ubuntu system, the host name setting involves two files:/etc/hostname:hostname settings/etc/hosts:hostname 1. View Host NameIt can be viewed through hostname, or through uname-n.2. Temporarily modify host nameCommand line Run command: "hostname new host name"Example: hostname email.jd.comIn this way, the new hostname
Tags: data wan dom names apt htm cat src 1.01.background The temporary environment for the work is the CENTOS7 server VM11 by the virtual machine, with the oracle11g (11.2.0.1.0) normally accessed and saved as a snapshot. Centos7 ip192.168.44.55, Gateway 192.168.44.2 Since laptops often travel between the company and the home, the gateway to the intranet is different, so using the virtual machine to set NAT mode makes the CENTOS7 available for external access. This way CENTOS7 has its own gatewa
In the past, we had to set up the email system. Currently, the complete FQDN name must be set for Puppet. Different operating systems are different. View [root @ rdo ~] # Hostnamewww [root @ rdo ~] # Hostname-fwww.server110.com to achieve this effect, you need to modify the two files to edit/etc/sysconfig/ne before engaging in the mail system, this is the content that must be set. Currently, the complete FQDN name must be set for Puppet. Different ope
From: http://www.gwxdn.com/html/system/linux/2010/0120/6128.html
The Linux host name is set during the installation of the Linux operating system and is the only identifier of a host on the network. However, if you want to modify the host name after installing the Linux system, what should I do? This article describes how to use Ubuntu Desktop 9.04.
1. view the host name quickly
In ubuntu, there are two methods to quickly view the Host Name: one is to open a gnome terminal window, you can see th
Linux Host version:Distributor Id:ubuntuDescription:ubuntu 14.10release:14.10First, modify the Linux host name1. Use the hostname command to view the current host name 2. Save after modifying hostname in/etc/hostname file (some versions modify hostname in/etc/sysconfig/network)Second, modify the host name and IP mappi
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.