linux怎么安装linux websphere 7搜索

The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.› ›WebSphere 在linux下的安装配置过程
WebSphere 在linux下的安装配置过程
扫一扫分享文章到微信扫一扫关注官方公众号至顶头条
(Websphere要求以root用户权限安装)  2.把websphere安装光盘,放入光驱。部署WEB Aplication.(安装完成后默认情况下,这个example已经部署上去,为了做个例子,我把他删除重新部署了一遍)
作者:chinaunix 来源:chinaunix 日关键字:
  一.Linux的安装
  没有特殊的要求,按照默认的情况安装就可以。
  二.Websphere 的安装
  1.以root用户登陆到linux服务器。(Websphere要求以root用户权限安装)
  2.把websphere安装光盘,放入光驱。
  3.打开一个linux终端,执行下列命令:
  [root@test root]# mount /dev/cdrom
  [root@test root]# cd /mnt/cdrom/linux/
  [root@test linux]# ./install.sh
  4. 进入安装程序画面:
  点击Next ,继续安装。
  5.选择标准类型的安装
  6.进行数据库配置
  数据库的名:输入创建的数据库的SID名。
  DB Home:如果你的oracle的数据库安装在本机器上,这里填写oracle数据库的安装路径。否则就先随便输入一个路径,后面将做处理。
  SERVER名:输入安装数据库机器的IP地址。
  端口号: 默认是1521
  用户名:
  密码:
  上述内容输入完成后,点击Next继续安装。
  7.设置安装目录
  默认安装在/opt下面(注意一点,就是看安装目录的空间够不够)。典型安装也会把IBM HTTPServer一同安装上。
  8.安装完成
  9.安装完成后,先不要启动Websphere,还需要做一些配置。
  三.配置Websphere
  1.如果你的oracle数据库不是安装在本机器上,你需要从oracle安装机器的
  $ORACLE_HOME/jdbc/lib下面拷贝classes12.zip,nls_charset12.zip到linux的服务器上,比如放到/usr/local/oracle_lib下面。
  2.修改配置文件。
  修改/opt/WebSphere/AppServer/bin/setupCmdLine.sh文件。找到DBDRIVER_JARS=这一行,
  按照刚才我们拷贝classes12.zip的目录修改好:
  DBDRIVER_JARS=/usr/local/oracle_lib/classes12.zip:/usr/local/oracle_lib/nls_charset12.zip
  修改/opt/WebSphere/AppServer/bin/admin.config文件。
  找到com.ibm.ejs.sm.adminserver.classpath=这一行,添加上classes12.zip
  com.ibm.ejs.sm.adminserver.classpath=/usr/local/oracle_lib/classes12.zip:/opt/WebSphere/AppServer/properties:/opt/WebSphere/AppServer/lib/bootstrap.jar.
  再确认以下这个文件里面的下列关于数据库的内容配置的正不正确。
  # Repository database settings
  com.ibm.ejs.sm.adminServer.dbdataSourceClassName=oracle.jdbc.pool.OracleConnectionPoolDataSource
  com.ibm.ejs.sm.adminServer.dbserverName=101.1.1.124
  com.ibm.ejs.sm.adminServer.dbportNumber=1521
  com.ibm.ejs.sm.adminServer.dbdatabaseName=orcl
  com.ibm.ejs.sm.adminServer.dbuser= ejsadmin
  com.ibm.ejs.sm.adminServer.dbpassword= ejsadmin
  com.ibm.ejs.sm.adminServer.dbdisable2Phase=true
  # URL is only valid for Oracle
  com.ibm.ejs.sm.adminServer.dbURL=jdbcracle:thin:@ 101.1.1.124:1521: orcl
  3.启动WebSphere之前,你需要在oracle数据库上创建一个ejsadmin用户,里面主要放的是WebSphere的一些信息。比如,你在WebSphere上面部署了哪些Web Application,它们的名字叫什么等等。以system用户登陆到oracle数据库服务器上
  C:\&sqlplus system/manager@server
  --创建用户
  SQL& create user ejsadmin id
  User created.
  ---赋予用户权限
  SQL& grant connect,resource,
  Grant succeeded.
  4.上面内容都完成后,就可以启动Wepshere了。
  (需要注意的一个地方,就是你输入的用户也要有dba的权限)
  四.启动WebSphere
  [root@test bin]# cd /opt/WebSphere/AppServer/bin
  [root@test bin]# ./admin
  adminclient.sh adminserver.sh
  [root@test bin]# ./adminserver.sh
  如果没有出现错误的话,就可以把WebSphere启动起来了。
  如果有错误的话请检查一下/opt/WebSphere/AppServer/logs下面的log。
  启动IBM HTTP Server
  [root@test logs]# cd /opt/IBMHTTPServer/bin/
  [root@test bin]# ./apachectl start
  然后访问一下,如果出现下面的窗口,表示HttpServer已经启动成功。
  http://
  五.部署WEB Application
  进入WebShere的控制台
  [root@test bin]# cd /opt/WebSphere/AppServer/bin
  [root@test bin]# ./firststeps.sh
  看到下面的画面,点击进入控制台,
  部署WEB Aplication.(安装完成后默认情况下,这个example已经部署上去,为了做个例子,我把他删除重新部署了一遍)
  进入控制台后,
  一路Next下来,就可以了,中间要输入选择数据库的类型,以及用户名密码,按情况输入就可以了。
  启动部署的例子。
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
北京第二十六维信息技术有限公司(至顶网)版权所有. 京ICP备号-7 京ICP证161336号
京公网安备 00号鎵?竴鎵?紝璁块棶寰?ぞ鍖}

我要回帖

更多关于 linux下安装websphere 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信