Once in a while I install OAS (Oracle Analytics Server) on my laptop. I do it for testing purposes mostly... I don't want anyone but myself to connect to this OAS. Sort of rich man's OA Desktop.
First of all, don't do it. Even if you want OAS on a laptop, you would better use a VM or Docker. This type of installation is not supported and usually is problematic.
This post is for myself, so I will stop reinventing the wheel each time I do it...
⛔
Problem:
- OAS is a server that requires a static IP.
- My laptop changes the IPs each time I move from one network to another.
- During the installation the IP is hard coded in some of the config files.
Work around1:
- Disable all network (close Wi-Fi, unplug network...) till you see ipconfig in Windows return no networks
- Install OAS. The installer will be forced to use the server name.
- Finish Installation. Stop OAS. Enable network you disabled. Start OAS. It works via server name.
Work around2 (only if option 1 didn't work):
- Create a MS loopback adapter with a static IP. Example from Oracle DB 21c documentation is here.
- Set that IP as Ethernet network on the laptop.
- Before OAS installation turn of Wi-Fi or any other network, so the installation is forced to use the loopback IP.
⛔
Once done remember to stop and start OAS on the same network.
