su - oracle
cd /u02/weblogic/user_projects/domains/base_domain/bin
source ./setDomainEnv.sh
cd /u02/weblogic/user_projects/domains/base_domain/security
mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift.old
java weblogic.security.utils.AdminAccount weblogic aNzO7rP4ZOFAgOpw .
cd /u02/weblogic/user_projects/domains/base_domain/servers/AdminServer/data
mv ldap ldap_old
cd /u02/weblogic/user_projects/domains/base_domain/servers/AdminServer/security
cp boot.properties boot.properties.bak
vi boot.properties
username=weblogic
password=Test1234
/u02/weblogic/user_projects/domains/base_domain/bin
./startWebLogic.sh
原文地址:http://10742668.blog.51cto.com/10732668/1919633