---
title: "WebSphere修改主机名"
author: "softctwo"
date: "2010-09-03T15:34:02Z"
tags: []
categories: ["非技术"]
slug: "websphere"
draft: false
lastmod: "2010-09-03T15:34:02Z"
id: 754585
url: "https://softctwo.iteye.com/blog/754585"
---

change dir $WAS\_HOME/profiles/default/AppSer01/bin  
run  
./wsadmin.sh -conntype NONE -lang jython  
AdminTask.changeHostName ('\[-interactive]')  
\*nodeName XXX  
\*hostName XXX  
systemName

AdminConfig.save()  
exit