修改OHS端口

到ohs服務(wù)器路徑

/oracle/fmwhome/Oracle/Middleware/Oracle_Home/user_projects/domains/ohs_domain/config/fmwconfig/components/OHS/instances/ohs1

下更改httpd.conf配置文件:
Listen 7777 更改為 Listen 80
ServerName ohs1.xxxx.cn:7777 更改為 ServerName ohs1.xxxx.cn:80

# The Listen directive below has a comment preceding it that is used
# by tooling which updates the configuration.  Do not delete the comment.
#[Listen] OHS_LISTEN_PORT
Listen 80
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# If your host doesn't have a registered DNS name, enter its IP address here.
ServerName  ohs1.xxxx.cn:80

保存更改,退出vi編輯
到ohs服務(wù)器路徑

/oracle/fmwhome/Oracle/Middleware/Oracle_Home/ohs/bin/

以root用戶執(zhí)行以下命令

[root@ohs1 bin]# chown root launch
[root@ohs1 bin]# chmod 4750 launch

重啟服務(wù)器
到ohs服務(wù)器路徑

/oracle/fmwhome/Oracle/Middleware/Oracle_Home/user_projects/domains/ohs_domain/bin

關(guān)閉ohs1實例

[oracle@ohs1 bin]$ ./stopComponent.sh ohs1

開啟ohs1實例

[oracle@ohs1 bin]$ ./startComponent.sh ohs1

?? ohs1實例啟動,建議使用非root用戶

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 準(zhǔn)備實驗環(huán)境 滲透非授權(quán)系統(tǒng)的弊端 搭建自己的實驗環(huán)境 安裝虛擬機(jī) 微軟最新版軟件 http://msdn .mi...
    安全牛課堂閱讀 1,651評論 0 0
  • 一、目錄結(jié)構(gòu) 目錄說明/binBinary的縮寫,這個目錄存放最經(jīng)常使用的命令;/sbins就是Super Use...
    CJ21閱讀 1,839評論 0 15
  • Spring Cloud為開發(fā)人員提供了快速構(gòu)建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務(wù)發(fā)現(xiàn),斷路器,智...
    卡卡羅2017閱讀 136,578評論 19 139
  • 本章內(nèi)容 ◆ Web架構(gòu)介紹◆ 負(fù)載均衡介紹◆ 反向代理介紹◆ HAProxy介紹◆ HAProxy結(jié)構(gòu)◆ HAP...
    Liang_JC閱讀 928評論 0 0
  • 常用配置指令說明 1. ServerRoot:服務(wù)器的基礎(chǔ)目錄,一般來說它將包含conf/和logs/子目錄,其它...
    小僧有禮了閱讀 4,709評論 0 5

友情鏈接更多精彩內(nèi)容