Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux modifies IP address and installs Weblogic

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The first step is to configure the virtual machine IP address

1. Modify IP when restart takes effect

1. First, open the virtual machine, enter the command line with root user, and execute ifconfig to view the current IP

2. Enter: vi / etc/sysconfig/network-scripts/ifcfg-eth0 in the terminal, and modify

IP is 192.168.56.112

3. Finish quitting.

4. Restart the network service

Command: > service network restart or / etc/init.d/network restart

5. See if PING is connected.

2. Modify IP with immediate effect

# ifconfig eth0 192.168.56.110 netmask 255.255.255.0 Murray-modify default gateway---# route add default gw 192.168.56.110

Third, modify DNS and others

Modify vi / etc/resolv.conf

The modification takes effect immediately, and the restart is also effective.

-modify host name

Effective immediately:

# hostname test1

Restart takes effect:

Modify vi / etc/sysconfig/network

The second step is to modify virtual machine parameters.

Edit the connection between the virtual machine and the host

Locate the network adapter and connect in net mode

The third step is to install Weblogic12 [this time introduce the installation in Linux]

Install JDK

1. Next in jdk-8u172-ea-bin-b03-linux-x64-18_jan_2018.tar.gz

2. I put this jar package in the tmp folder and execute the command

# tar xzvf jdk-8u172-ea-bin-b03-linux-x64-18_jan_2018.tar.gz-C / usr/local/java/

3. Configure parameter path: (configure environment variable, add it under / etc/profile file)

Export JAVA_HOME=/usr/local/java/jdk1.7.0_79export JRE_HOME=/usr/local/java/jdk1.7.0_79/jreexport CLASSPATH=.:$JAVA_HOME/lig:$JRE_HOME/lib:$CLASSPATHexport PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

4. Execute the command to make the configuration file effective immediately:

# source / etc/profile

5. Verify whether the installation of JDK is successful:

# java-version

Success is as shown in the figure:

Install Weblogic12

1. Download weblogic12 middleware. What I download here is wls121200.jar.

2. Create weblogic user groups and users:

# groupadd weblogic#useradd-g weblogic weblogic

3. Copy jar to the weblogicg root directory

4. Check the ownership of the jar package, as shown in the figure:

5. Switch weblogic users to execute installation commands:

# Java-jar wls_121200.jar

6. Pop up the welogic installation interface, and click OK:

7. Click NEXT directly on the following interface:

8. The pop-up screen is as follows, and click NEXT directly:

9. The pop-up screen is as follows. Select Weblogic Server Installation and click NEXT:

10. I installed JDK1.8 before and reported a warning [it is best to use 1.7 and sometimes the jar package is not compatible], directly NEXT:

11. Cancel the My oracle Support option and click NEXT:

12. The pop-up screen is as follows, and click YES directly:

13. Enter the following interface and click Install directly:

14. After the progress bar is completed, the interface is as follows, directly NEXT:

Click Finish, and the weblogic installation is complete.

16. Next, configure weblogic. Create a domain first. The pop-up screen is as follows. Select create a new domain and click NEXT:

17. Default options. The interface is as follows. Click NEXT:

18. Pop up the configure Weblogic interface, enter the weblogic account and password you want to set, and click NEXT:

19. Enter the following interface and click NEXT directly:

20. Go to the following interface, select as shown in the figure, and click NEXT:

21. There is no need to operate this step, and you can directly NEXT to the next step:

22. Enter the following interface. You can click ADD to add managed nodes, or you can choose not to add them. I added a nups_poc port of 7003, and click NEXT:

23. The interface is as follows. You don't need to add the output, but NEXT it directly:

24. After adding Machines, directly NEXT:

25 、

26. Click NEXT, select nups_poc, click create, enter the following figure, and click NEXT directly:

27. Enter the lower interface and click finish.

Configure the weblogic startup password to enter $ORACLE_HOME/domains/base_domain/servers/AdminServer/security/ and modify it

Boot.properties file, which is automatically encrypted later.

Note: if this step is not configured, an error will be reported:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report