weblogic單機安裝(centos/linux)__Oracle

來源:互聯網
上載者:User
下載:http://www.oracle.com/technetwork/cn/middleware/ias/downloads/wls-main-091116-zhs.html
或http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html
zip包(190M)用於開發與測試,通用jar包(880M)用於正式環境。版本:weblogic 12c.

# 安裝(zip包)
cd /home/
unzip wls1213_dev.zip
vi /home/wls12130/configure.sh
添加:JAVA_HOME="/home/jdk1.8.0_101"
cd /home/wls12130
./configure.sh
## BUILD SUCCESSFUL
## Do you want to configure a new domain?  [y/n]? y
## Enter username to boot WebLogic server:weblogic
## pwd:weblogic1(The password must be at least 8 alphanumeric characters with at least one number or special character)
## 自動啟動server,提示:<Server state changed to RUNNING.>
## 失敗則重新運行configure.sh

# 安裝(jar包)
java -jar fmw_12.1.3.0.0_wls.jar -mode=console
一路Next

# 配置(暫不需要)
##/home/admin/Oracle/Middleware/user_projects/dmain/base_domain/bin/
##vi setDomainEnv.sh
##vi commEnv.sh

# 啟動
cd /home/wls12130/user_projects/domains/mydomain
./startWebLogic.sh (測試啟動)
nohup ./startWebLogic.sh & (後台deamon啟動)
tail -100 nohup.out
##提示:<Server state changed to RUNNING.>

# 檢驗
日誌:/home/wls12130/user_projects/domains/mydomain/servers/myserver/logs
netstat -an | grep 7001
## 可看到一堆listen
http://172.168.0.20:7001/console (安裝時設定的賬戶:weblogic/weblogic1)

# 關閉
cd /home/wls12130/user_projects/domains/mydomain/bin
./stopWebLogic.sh

# 參考:
http://www.jb51.net/article/57900.htm
http://www.bubuko.com/infodetail-999744.html
http://elim.iteye.com/blog/1705849
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.