這篇文章主要為大家展示了“openstack中redhat鏡像的主機(jī)名如何配置”,內(nèi)容簡(jiǎn)而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“openstack中redhat鏡像的主機(jī)名如何配置”這篇文章吧。
創(chuàng)新互聯(lián)建站是一家專注于成都網(wǎng)站制作、成都網(wǎng)站建設(shè)、外貿(mào)營銷網(wǎng)站建設(shè)與策劃設(shè)計(jì),鄂州網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)建站做網(wǎng)站,專注于網(wǎng)站建設(shè)10余年,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:鄂州等地區(qū)。鄂州做網(wǎng)站價(jià)格咨詢:13518219792
/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鏡像的主機(jī)名如何配置”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!