您好,登錄后才能下訂單哦!
這篇文章主要為大家展示了“openstack中redhat鏡像的主機名如何配置”,內容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領大家一起研究并學習一下“openstack中redhat鏡像的主機名如何配置”這篇文章吧。
/etc/hosts
[root@host-192-168-111-118 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 host-192-168-111-118
/etc/sysconfig/network
[root@host-192-168-111-118 ~]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=localhost.localdomain
tnsnames.ora和listener.ora
[root@host-192-168-111-118 admin]# cat listener.ora # listener.ora Network Configuration File: /oracle/11g/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = v4omcr) (ORACLE_HOME = /oracle/11g/oracle/product/11.2.0/dbhome_2) (SID_NAME = v4omcr) ) ) LISTENER = (DESCRIPTION_LIST= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) )) ADR_BASE_LISTENER = /oracle/11g/oracle [root@host-192-168-111-118 admin]# cat tnsnames.ora V4OMCR = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = v4omcr) ) ) V4OMCR_192.168.111.118 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = v4omcr) ) ) V4OMCR_127.0.0.1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = v4omcr) ) ) LISTENER_V4OMCR = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
以上是“openstack中redhat鏡像的主機名如何配置”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。