WebSphere Liberty 8.5 安装记录

前言

一直看别人说WebSphere是什么高级的东西,我下载个社区版来玩玩,然后就有了这篇文章,但我这篇文章我认为任何人都没必要看了,因为WebSphere Liberty 真的不具备可玩性。

WebSphere学习记录(1) 安装

安装WebSphere

$./install 运行安装

以下是配置目录

/opt/IBM/IMShared

/Applications/IBM/InstallationManager/eclipse

/opt/IBM/WebSphere/Liberty

运行WebSphere

cd /opt/IBM/WebSphere/Liberty/bin

开始我还以为IBM做了个那么好的一个安装器会不会给我搞一个启动器呢?谁知道什么都没有。

好吧,我运行
╭─sjbwybls@sjbwyblstekiMacBook-Pro /opt/IBM/WebSphere/Liberty/bin
╰─$ ./server start 23 ↵
mkdir: /opt/IBM/WebSphere/Liberty/usr/servers/defaultServer: Permission denied
./server: line 675: cd: /opt/IBM/WebSphere/Liberty/usr/servers/defaultServer: No such file or directory
mkdir: /opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/logs: Permission denied
mkdir: /opt/IBM/WebSphere/Liberty/usr/servers/.pid: Permission denied
mkdir: /opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/workarea: Permission denied
./server: line 299: /opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/workarea/.sLock: No such file or directory
./server: line 706: /opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/logs/console.log: No such file or directory
正在启动服务器 defaultServer。
服务器 defaultServer 启动失败。请检查服务器日志以获取详细信息。

要超级管理员,什么都要超级管理员

─sjbwybls@sjbwyblstekiMacBook-Pro /opt/IBM/WebSphere/Liberty/bin
╰─$ sudo ./server start 22 ↵
Password:
Starting server defaultServer.
Server defaultServer started with process ID 10923.

启动OK,进去看看

怎么没提示我用啥端口呢?我怎么进去呢?试试8080

看看教程里面的图片,终于发现是:http://localhost:9080/

defaultServer包含的服务(lib)

  • appSecurity-1.0 [1.1.0]
  • appSecurity-2.0 [1.0.0]
  • beanValidation-1.0 [1.0.0]
  • blueprint-1.0 [1.0.0]
  • cdi-1.0 [1.0.0]
  • collectiveMember-1.0 [1.0.0]
  • concurrent-1.0 [1.0.0]
  • distributedMap-1.0 [1.0.0]
  • ejbLite-3.1 [1.0.0]
  • jaxb-2.2 [1.0.0]
  • jaxrs-1.1 [1.0.0]
  • jaxws-2.2 [1.0.0]
  • jdbc-4.0 [1.0.0]
  • jmsMdb-3.1 [1.0.0]
  • jndi-1.0 [1.0.0]
  • jpa-2.0 [1.0.0]
  • jsf-2.0 [1.0.0]
  • json-1.0 [1.0.0]
  • jsp-2.2 [1.0.0]
  • ldapRegistry-3.0 [1.0.0]
  • localConnector-1.0 [1.0.0]
  • managedBeans-1.0 [1.0.0]
  • mongodb-2.0 [1.0.0]
  • monitor-1.0 [1.0.0]
  • oauth-2.0 [1.0.0]
  • osgi.jpa-1.0 [1.0.0]
  • osgiConsole-1.0 [1.0.0]
  • restConnector-1.0 [1.0.0]
  • serverStatus-1.0 [1.0.0]
  • servlet-3.0 [1.0.0]
  • sessionDatabase-1.0 [1.0.0]
  • ssl-1.0 [1.0.0]
  • timedOperations-1.0 [1.0.0]
  • wab-1.0 [1.0.0]
  • wasJmsClient-1.1 [1.0.0]
  • wasJmsSecurity-1.0 [1.0.0]
  • wasJmsServer-1.0 [1.0.0]
  • webCache-1.0 [1.0.0]
  • webProfile-6.0 [6.0.0]
  • wmqJmsClient-1.1 [1.0.0]
  • wsSecurity-1.1 [1.0.0]

没有管理控制台,除非是想转到WebSphere企业版的人可能会拿来玩,对我们这些不想花钱的人来说还是不用去研究了.

安装DB2 Express-C 一直在DB2Tester启动器安装界面卡死,尝试几次都是这样,认为是失败安装经历,不再尝试

你可能感兴趣的:(WebSphere Liberty 8.5 安装记录)