如何在linux 5.5上安装was8.5

如何在linux 5.5上安装was8.5,第1张

方法/步骤

将WAS安装程序上传到服务器,并解压

# tar -zxvf WAS Network Deployment V6.1 for Linux on x86-64, 64-bit.tar.gz

解压后在WAS文件夹下有个responsefile.nd.txt文件,这个文件是WAS静默安装的配置文件,编辑该文件,并修改如下内容:

-OPT silentInstallLicenseAcceptance="true" 接受License

-OPT allowNonRootSilentInstall="true" 是否允许非root用户安装

-OPT disableOSPrereqChecking="true" 取消对系统的检测

-OPT installType="installNew" 是否全新安装

-OPT feature="noFeature"不安装示例

-OPT installLocation="/opt/IBM/WebSphere/AppServer" 安装路径

-OPT profileType="none" 不生成概要

-OPT PROF_enableAdminSecurity="false" 不设置管理员安全

注:也可以按照上面内容自行编辑文件,当静默安装时指明该文件即可

文件编辑完成后,执行install命令开始安装。格式如下:

# ./install -options responsefile.nd.txt -silent

由于是静默安装,并且编辑好了配置脚本,因此安装时程序没有什么提示,耐心等待一会,直到安装完成。

如果没有安装成功,如何检查。

由于静默安装没有提示,我们不知道有没有安装成功,尤其是刚执行安装命令后,程序什么提示都没有,就很快结束。这通常都是没有安装成功。这里提供一个检查问题的方法。在用户文件夹下有个waslogs文件夹,这是执行静默安装时自动生成的日志文件,记录了没有安装成功的事件,可以通过日志来判断系统或配置文件哪方面出现了问题。我这里采用root用户安装的,因此在/root文件夹下有waslogs文件夹。

检查日志文件发现是由于配置文件中的安装路径问题,如下图:

安装完成后,如何判断是否安装成功。

安装完成后,会生成一个隐含的文件夹.ibm。

AIX系统改文件存在于/usr路径下。

linux等系统存在于/opt路径下。

# ls -alF

通过创建profiles来验证是否安装成功。

# /opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName testpro -profilePath /opt/IBM/WebSphere/AppServer/profiles/testpro/ -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default

启动profiles 并检查监听是否运行:

进入新创建的概要testpro/bin文件夹执行下面命令

# sh startServer.sh server1

# netstat -an |grep 906

/*

* linux/mm/page_alloc.c

*

* Manages the free list, the system allocates free pages here.

* Note that kmalloc() lives in slab.c

*

* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds

* Swap reorganised 29.12.95, Stephen Tweedie

* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999

* Reshaped it to be a zoned allocator, Ingo Molnar, Red Hat, 1999

* Discontiguous memory support, Kanoj Sarcar, SGI, Nov 1999

* Zone balancing, Kanoj Sarcar, SGI, Jan 2000

* Per cpu hot/cold page lists, bulk allocation, Martin J. Bligh, Sept 2002

* (lots of bits borrowed from Ingo Molnar &Andrew Morton)

*/

#include <linux/stddef.h>

#include <linux/mm.h>

#include <linux/swap.h>

#include <linux/interrupt.h>

#include <linux/pagemap.h>

#include <linux/jiffies.h>

#include <linux/bootmem.h>

#include <linux/compiler.h>

#include <linux/kernel.h>

#include <linux/kmemcheck.h>

#include <linux/module.h>

#include <linux/suspend.h>

#include <linux/pagevec.h>

#include <linux/blkdev.h>

#include <linux/slab.h>

#include <linux/oom.h>

#include <linux/notifier.h>

#include <linux/topology.h>

#include <linux/sysctl.h>

#include <linux/cpu.h>

#include <linux/cpuset.h>

#include <linux/memory_hotplug.h>

#include <linux/nodemask.h>

#include <linux/vmalloc.h>

#include <linux/mempolicy.h>

#include <linux/stop_machine.h>

#include <linux/sort.h>

#include <linux/pfn.h>

#include <linux/backing-dev.h>

#include <linux/fault-inject.h>

#include <linux/page-isolation.h>

#include <linux/page_cgroup.h>

#include <linux/debugobjects.h>

#include <linux/kmemleak.h>

#include <trace/events/kmem.h>

#include <asm/tlbflush.h>

#include <asm/div64.h>

#include "internal.h"

您使用的是哪个版本? discuz的X1吧?

X1配备,UCenter的论坛只能一次安装,安装后会自动生成一个文件,这意味着这个论坛是告诉程序已经安装,则不能重复安装。

如果它不和你没有删除安装文件,它很容易被恶意使用。因此,为了确保这个文件的存在,以确保成功安装后,安装文件和升级文件删除!


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/8567729.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-18
下一篇 2023-04-18

发表评论

登录后才能评论

评论列表(0条)

保存