设为首页 收藏本站
查看: 1410|回复: 0

[经验分享] weblogic中间件集群分享(三)之weblogic软件安装

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2015-3-5 13:52:20 | 显示全部楼层 |阅读模式
操作系统:redhat6.4(64位)

JDK:jdk1.7.0_45.tar

weblogic:wls1033_generic.jar


本次搭建使用的虚拟机,由于内存有限:我搭建的是同一台服务器,1个管理节点,2个被管理节点




一、关闭selinux和防火墙



service iptables stop        //关闭防火墙

setenforce 0               //临时关闭selinux



vi /etc/selinux/config   //永久关闭,要重启

将SELINUX=enforcing改为SELINUX=disabled



二、创建普通用户管理weblogic

groupadd app



mkdir /app



useradd -d /app/sinova -g app sinova



echo "sinova" | passwd --stdin sinova

三、安装JDK

1、解压、移动到/app/sinova/



      tar fxjdk1.7.0_45.tar

      mv  jdk1.7.0_45 /app/sinova/



2、配置JDK【声明环境变量】



      vi .bash_profile



      # .bash_profile



      # Get the aliasesand functions

        if [ -f~/.bashrc ]; then

        . ~/.bashrc

        fi



        # User specificenvironment and startup programs



       JAVA_HOME=/app/sinova/jdk1.7.0_45

       PATH=${JAVA_HOME}/bin:$PATH:$HOME/bin

        export PATHJAVA_HOME

3、测试效果

        执行:java-version



        显示:

        java version"1.7.0_45"

        Java(TM) SERuntime Environment (build 1.7.0_45-b18)

        JavaHotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

四、修改打开文件最大个数、最大进程数【root用户操作】

      1、编辑  vi /etc/security/limits.conf



              *      soft   nofile  65535

              *      hard   nofile  65535

                    sinova soft nproc 65535

                    sinova hard nproc 65535

           2、校验  

                 ulimit -a



五、修改  /etc/hosts 【追加上本机具体IP和127.0.0.1  对应本机主机名】

127.0.0.1          weblogic

192.168.101.166   weblogic

六、安装weblogic软件【sinova用户安装目录 /app/sinova/oracle】



********开始安装*********

java -jar wls1033_generic.jar



Extracting 0%............................100% 【解压缩、提取文件】



Enter [Exit][Next]> 回车【默认就是Next】



Enter new Middleware Home OR [Exit][Previous][Next]>/app/sinova/oracle 【重新定义安装目录】



"MiddlewareHome" = [/u02/weblogic]



Use above value or select another option:

    1 - Enter newMiddleware Home

    2 - Change todefault [/u02/weblogic/Oracle/Middleware]



Enter option number to select OR [Exit][Previous][Next]> 回车【重新定义安装目录完毕,直接回车】



    Warning



/u02/weblogic directory is not empty. Proceed withinstallation?





Enter [Exit][Previous][Next]> 回车【警告忽略】





Provide your email address for security updates and  to initiate configuration manager.



   1|Email:[]

   2|SupportPassword:[]

   3|Receive SecurityUpdate:[Yes]



Enter index number to select OR [Exit][Previous][Next]> 3 【修改第3项,安全更新】



Provide your email address for security updates and  to initiate configuration manager.



    "Receive Security Update:" = [Enternew value or use default "Yes"]







Enter [Yes][No]? No 【不接受,安全更新】





** Do you wish tobypass initiation of the configuration manager and

    **  remain uninformed of critical security issuesin your configuration?





Enter [Yes][No]? Yes【确认上面的操作】







   1|Email:[]

   2|SupportPassword:[]

   3|Receive SecurityUpdate:[No]



Enter index number to select OR [Exit][Previous][Next]> 回车【上面操作的回显,直接回车】







Select the type of installation you wish to perform.



->1|Typical

    |  Install the following product(s) andcomponent(s):

    | - WebLogic Server

    | - OracleCoherence

    | - OracleEnterprise Pack for Eclipse



   2|Custom

    |  Choose software products and components toinstall and perform optional

    |configuration.



Enter index number to select OR [Exit][Previous][Next]> 直接回车  第1个典型安装









<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



JDK Selection (Any * indicates Oracle Supplied VM):

---------------------------------------------------



JDK(s) chosen for use with this product installation will beinstalled. Supported defaults if not deselected will be used in scriptstring-substitution.



   1|Add Local Jdk

  2|/app/sinova/jdk1.7.0_45[x]







   *Estimated size ofinstallation:  727.6 MB





Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]>











<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



Choose Product Installation Directories:

----------------------------------------



Middleware Home Directory: [/app/sinova/Oracle]



Product Installation Directories:





   1|WebLogic Server:[/app/sinova/Oracle/wlserver_10.3]

   2|Oracle Coherence:[/app/sinova/Oracle/coherence_3.5]









Enter index number to select OR [Exit][Previous][Next]> 直接回车



<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



The following Products and JDKs will be installed:

--------------------------------------------------



    WebLogic Platform10.3.3.0

    |_____WebLogicServer

    |    |_____Core Application Server

    |    |_____Administration Console

    |    |_____Configuration Wizard and UpgradeFramework

    |    |_____Web 2.0 HTTP Pub-Sub Server

    |    |_____WebLogic SCA

    |    |_____WebLogic JDBC Drivers

    |    |_____Third Party JDBC Drivers

    |    |_____WebLogic Server Clients

    |    |_____WebLogic Web Server Plugins

    |    |_____UDDI and Xquery Support

    |    |_____Evaluation Database

    |_____OracleCoherence

        |_____Coherence Product Files



    *Estimated size ofinstallation: 727.7 MB









Enter [Exit][Previous][Next]> 直接回车



Enter [Exit][Previous][Next]>

Feb 14, 2015 3:32:30 AMjava.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.











<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



Installing files..



0%          25%          50%          75%          100%

[------------|------------|------------|------------]

[***************************************************]





Performing String Substitutions...











<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



Configuring OCM...



0%          25%          50%          75%          100%

[------------|------------|------------|------------]

[***************************************************]





Creating Domains...











<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



Installation Complete





Congratulations! Installation is complete.





Press [Enter] to continue or type [Exit]> exit【安装完毕,退出】











<-------------------- Oracle Installer - WebLogic 10.3.3.0------------------->



Clean up process in progress ...



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-43700-1-1.html 上篇帖子: weblogic中间件集群分享(二)之weblogic服务器分布架构图 下篇帖子: weblogic中间件集群分享(四)之weblogic创建域
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表