I have to install a Weblogic server for Contribution. I have 2 machines with 2 diff host names.
In machine one (M1) I have installed a admin server(admin) with listen address to that machine host and a managed server (managed1). It has 2 machines, one for admin and another for managed1.
In another machine I need to install oly managed server (managed2), which should be controlled by admin of the M1.
I have not idea how to do it. It will be helpful if answer is step by step.
On one M1 you have installed admin and manged1 perfect.
next on M1 only through console create another managed2, but in configuration tab settings of managed2 give listen address of M2(machine 2)
To get the listen address do "ifconfig" you will get ipaddress give the ipaddress in manged2 settings.
Related
So I have a server running proxmox with 2 vms (2 local IPs), each vm has apache server running, I need to setup 2 domains (one to each virtual machine) and I can't find a way.
Apache vhost documentation didn't help neither did google.
Any ideas?
Thank you!
You can create a haproxy cluster with one virtual IP and put back your two apache nodes
You can look at Nginx Proxy Manager (NPM) and setup proxy to 2+ (unlimited) local VMs with different domain. NPM supports web UI so it's easier to config.
The best way is create another VM which for setup NPM then you're good to go. Using this for 10+ domain and had no complaint about it.
P/s: I'm not the author of this useful app.
I have developed a web app using laravel & apache 2.4 in ubuntu 15.04 inside vmware. I have configured ip address of the ubuntu as static which is 192.168.1.250.
Within ubuntu i can access the web app from ip 127.0.0.1 or localhost. And from the networked devices, i can access it using the ubuntu's ip address 192.168.1.250.
Now, i want to access the web app using a domain name from the networked devices instead of IP address. I think i need to install and configure dns server in ubuntu along with apache. So, i installed BIND dns and tried to configure it but failed. So, if it can be done with BIND, then i was wondering HOW? If not, then what may be another way? Thank you !
You can create a tunnel to your local environment by using ngrok which will give you a temporary address (to keep the address static you have to use pro features a.k.a paid features)
Follow this steps:
Download ngrok and unzip ngrok
Open a cmd / terminal and navigate to ngrok location
Type the following command:
ngrok http {your_localhost_server_port_number}
It will create the tunnel but we need to point a virtual host to it so edit your local server virtual host and add an alias / server name like following:
NOTE: if you only have one app running on your local server this step is optional
*.ngrok.io
Now restart your local server to load our new configuration
Now you are able to see your localhost site online by using the ngrok provided url.
Enjoy!
In Azure, I created a virtual network and then associated an Ubuntu Server virtual machine, created with Azure Resource Manager Deployment method, with the network. I then updated the associated Network Security Group and added an inbound security rule for port 80 (Source:Any, Destination:Any, Service:TCP/80). After installing Apache on the VM, I tried to access the server from my browser, but have run into a wall. I can SSH into the VM just fine, but web is a no-go, and I cannot figure out why. Any help would be appreciated.
It sometimes happen to me too because I forgot to RESTART the VM, yes just restart it. At least this works for me. and also dont forget to add outbound rule too
It worked for me with this inbound rule.
Note that when a VM is created from the portal (in ARM model), it gets automatically associated to a virtual network (vnet), a specific subnet within the vnet and a network security group.
When creating the inbound security rule, make sure to:
identify the correct network security group associated to the VM
use a priority number lower than 65500
set the source port range as *
You also need open port 80 on the VM to allow web access.
I dont think that creating your Network Security Group opens the desired port on the VM automatically.
By default in Azure Resource Manager (ARM), all ports are open; there is no need to make Network Security Groups (NSGs) to open ports, only to close them. Here is an example of an ARM template that deploys an ubuntu VM with apache:
https://github.com/Azure/azure-quickstart-templates/tree/master/apache2-on-ubuntu-vm
Alternatively, if you want an auto-scaling LAP stack using VM Scale Sets (in public preview), you can find the ARM template for that here:
https://github.com/Azure/azure-quickstart-templates/tree/master/201-vmss-lapstack-autoscale
Hope this helps! :)
I am trying to install Eucalyptus in a virtual machine. I am using vmware version 9 and Eucalyptus FastStart version 3.1 And the network adapter which I have choose is NAT..
I am having problem with front end installation. This are some details about the problem
Details about my node controller
Host name:neel.localdomain
Wired connection:
Ip address:192.168.211.11
NetMask:24
Gateway:192.168.211.2
DNS Server:8.8.8.8,8.8.4.4
Wireless conection:
Ip address:192.168.211.12
NetMask:24
Gateway:192.168.211.3
DNS Server:8.8.8.8,8.8.4.4
Details about my front end
HostName:localhost.localdomain
wired connection:
Ip address:192.168.211.13
NetMask:24
Gateway:192.168.211.4
DNS Server:8.8.8.8,8.8.4.4
Wireless connection:
Ip address:192.168.211.14
NetMask:24
Gateway:192.168.211.5
DNS Server:8.8.8.8,8.8.4.4
Public Ip range list:
192.168.211.50-192.168.211.74
During node registration process i enter the following ip address 192.168.211.11 to get registered but i get the following error
ssh:connect to host 192.168.211.11 port 22:no route to host
rsync: connection unexpectedly closed(0 bytes received so far)[sender]
rsync error:unexplained error (code 255) at io.c(600)[sender=3.0.6]
One more doubt of mine is while installing front end do node controller have to be in on state and also logged in and I am installing both the front end and also cloud controller in different virtual machine but in same laptop is that ok?
FastStart is intended for use on hardware, if you want to use Eucalyptus in a VM you might want to try eucadev although the intended usage is development and testing of Eucalyptus.
please refer to faststart guide:
https://www.eucalyptus.com/docs/eucalyptus/3.4/index.html#faststart-guide/index.html
And yes, I also have installed successfully Eucalyptus from Faststart using VMware workstation.
Basic idea is to Install Node Controller First & after that starts the Front end
installation keeping node controller active on the same laptop using VMware.
Hope this will help to solve your NC registration problem.
I've created literally dozens and dozens of web servers in my day, but this is my first attempt with Windows Azure and I'm running into some problems. I just started migrating from AWS recently.
First of all, I'm running Ubuntu 13.04. Firewall disabled (for debugging), Apache2 installed correctly (using apt). SSH works fine as do many other services with both the DNS hostname and public IP. Virtual host is set up correctly and validated. However, I cannot access the HTTP website either through the Azure provided subdomain or the virtual IP. It just times out.
This is also my first time using Ubuntu 13.04 as well. So, through the powers of deduction, I'm assuming there is something I'm missing either with this new version of Ubuntu or some quirk in Azure. Does anyone have any suggestions?
SOLUTION
These steps to create "endpoint" works fine for all VPS:
open "virtual machine > endpoint > add endpoint"
choose "next"
set "name:http, protocol:tcp, public port:80, private port:80"
choose "complete"
and then must wait for activation and then for some time.
If you are using Azure Resource Groups along with your VMs (which is available on the new portal) you cannot use endpoints because it's not available there, so you should follow the following to open up the HTTP port or ANY other port:
1- Select the VM that you want to manage ports on.
2- In settings, click on Network Interfaces and select your network.
3- Go to Network Security Group and select your group.
4- Add Inbound or Outbound security rules depending on what you need.