【Weblogic】linux下weblogic新建domain(入门教程)
找到weblogic下的/common/bin目录,/home/weblogic/Oracle/Middleware/wlserver_10.3/common/bin
./config.sh -mode=console(用控制台模式安装)
(1)选择“创建新的Weblogic域”,输入“1”,按回车;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104606577-54634307.png)
(2)一般情况直接回车就行;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104612233-446452209.png)
(3)根据自己需要来选择模板,这里选的是第一个;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104618405-66698493.png)
(4)给domain命名;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104623937-1854129873.png)
(5)设置domain域的目录,可以用默认的也可以自己设置;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104628421-1884414488.png)
(6)设置名称和口令,字母+数字,例如weblogic1/weblogic1;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104632858-2134937201.png)
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104637937-276272481.png)
(7)选择开发模式;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104642030-500387742.png)
(8)设置所用jdk路径;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104646171-1273448189.png)
(9)选择第一个;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104651265-1057876136.png)
(10)设置服务名称和端口,这里设置的是demo/9998;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104656265-94393723.png)
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104808249-148074383.png)
(11)设置完毕,按回车,等弹出下图提示,则创建成功;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104814640-1586959884.png)
(12)进到第5步设置的域目录下,启动;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104820296-170361416.png)
(13)日志显示下图时,说明启动成功;
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830104824702-1488779483.png)
(14)进入控制台:打开浏览器,输入地址(http://ip:端口号/console)
例: http://127.0.0.1:9998/console/
(15)输入第6步设置的登录名和密码,点击登录
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830113002874-1359724891.png)
(16)设置数据源
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830113136796-642026676.png)
(17)部署项目
![](https://images2017.cnblogs.com/blog/1223704/201708/1223704-20170830113247171-142906381.png)