How can I host REST API created by Hyperledger Fabric Composer Rest Server on ubuntu 18.04 - apache

I am new to Hyperledger Fabric. Just created a new application by following a tutorial available at https://medium.freecodecamp.org/how-to-build-a-blockchain-network-using-hyperledger-fabric-and-composer-e06644ff801d
Now I am running the application with http://localhost:8080/ on my local machine, but I need to deploy that application with a public URL/IP.
How can I do that in Ubuntu 18.04?
I am not much familiar with Apache and Ubuntu.
But I tried a way available to host the application I created in Apache from the tutorial available at: https://www.ostechnix.com/configure-apache-virtual-hosts-ubuntu-part-1/
But I am confused in between that how can I accomplish this task.
I need to host this application with a URL or either with an IP so other users on my network can access the API and use that.

Related

Mattermost web-app connectivity from local(windows machine) to mattermost-server which install on AWS server

I am trying to connect Mattermost web-app from local(windows machine) to mattermost-server which install on AWS server.
So my question is...
Is it possible?
which files are used for API call in Mattermost web app?
Can you expand on your question? Are you attempting to run the Mattermost desktop app locally and connect to a Mattermost server that is running within AWS? If so, this is very possible - just make sure that your server is exposed to the internet, and put its URL into the desktop app.

Connecting Vagrant VM to LAN

I am running Vagrant and VirtualBox on Ubuntu 14.04. My web app is built with Laravel and uses Homestead.
The application makes a web service call to a machine on my local area network. I can successfully reach the server from my OS web browser.
However, my web application cannot access this web service as it does not appear to be sharing my local network settings.
Based on my Google searches I have tried changing the Network settings in VirtualBox under the "Attached To" setting. Changing Adapter 1 to Bridged Adapter. However, this did not work.
Is there a way to allow my VM to communicate with a web service on my LAN?
aaronfarr,
I have as host Win7_64 with VirtualBox and as VM an openSuse.
With network configured like in the below picture and also inside VM the same proxy settings like on host, I can do same things both on VM and host machine.

Not able to run Red5

I was following the instructions mentioned in below link to install 'Bigbluebutton'
http://bigbluebutton.googlecode.com/svn-history/r3300/wiki/InstallingBigBlueButtonCentOS.wiki
After the installation of Red5 I started the service successfully with
service red5 start
But I am not able to access http://:5080/ from the server or from other machines to continue with the installation. Running 'netstat -tulpn' does not even list port 5080. Red5 properties file is configured with port 5080 only.
Any idea what would be wrong?
I'm the product manager for BigBlueButton. Your trying to install on CentOS, and we've not supported the CentOS packaging for many years.
See our FAQ for more details
http://docs.bigbluebutton.org/support/faq.html#centos

How to deploy a local eclipse worklight project in cloud server?

I developed an android based hybrid app in the IBM MFP-7.0., My app is fetching the data from the Java service which is running in Tomcat Server. Here the app adapters are running in my local system MFP server to get the data from the Java service, So that I can only run the app in my local system android emulator. Now, we want to deploy the app in the cloud so that we can give this app to our users. Can some body help me how to run our MFP app in the cloud? Is it required to place eclipse in the cloud to run my MFP server like the way I am running in my local system?
Thanks in advance.
It looks to me like your understanding is completely lacking in this subject matter. Also note that this question has got nothing to do with programming.
You need a host machine. On this server you will run an application server (Tomcat, WebSphere Full profile, WebSphere Liberty profile - either single or a farm, depending on your required network topology and security & scalability needs).
On this application server you deploy MobileFirst
You will also need a database
This host machine needs to be accessible (with appropriate security) to the public Internet so that it could serve apps installed in end-users' devices
The application needs to be configured to send requests to the server (or to any front-side server like a Load Balancer, again, depending on your topology)
The generated application needs to be submitted to an App Store so that users could download and install it on their devices
I suggest that you will do some reading before asking any question. Since you're using IBM MobileFirst, start by reading the user documentation: http://www-01.ibm.com/support/knowledgecenter/SSNJXP/welcome.html

OpenMEAP hosted on Apache Tomcat Server via OpenShift Community

I'm preparing a development environment primarily for developing enterprise class cross-platform mobile hybrid apps and after much research I've decided to implement OpenMEAP on an Apache RedHat Cloud OpenShift container for advanced app management and services. The combination of these two could be interesting competition to commercial Mobile Enterprise Application Platforms.
I have my Eclipse setup properly to publish OpenMEAP to OpenShift Community Cloud and I can successfully create, build and deploy the OpenMEAP SLIC to Android devices and emulators after carefully following the instructions in these guides and videos:
OpenMEAP Windows Installation Video
Get free Apache Tomcat Hosting in the Cloud for Java Applications at OpenShift Video
I have only warnings in the Eclipse project. When I publish openmeap-admin-web and openmeap-services-web to the OpenShift container the WAR files are published but they don't expand and therefore cannot be accessed from the tomcat server over the web. If I could get past this problem I could proceed with actual development instead of the exhausting environment prep.
I know it's a long shot but is anyone attempting to use OpenMEAP with OpenShift (or any other cloud based Tomcat server)? I would also like to discuss OpenMEAP database requirements for an OpenShift (or Cloud) Apache Tomcat setup.
Any comment is extremely appreciated.
I don't have any experience onboarding OpenMEAD to OpenShift, but there are some things on the OpenShift Online community that you can review to see if it helps:
1) Troubleshooting with Logs: https://www.openshift.com/faq/how-to-troubleshoot-application-issues-using-logs
2) Onboarding vanilla Tomcat: https://www.openshift.com/blogs/free-apache-tomcat-hosting-in-the-cloud-for-java-applications-its-called-openshift
The later is onboarding Tomcat with a DIY cartridge. What cartridges are you using?
Feel free to post to feedback to the OpenShift forums as well: https://www.openshift.com/forums/openshift
You can deploy OpenMEAP on OpenShift from their quickstart page.
Once you've created the quickstart, you'll need to add your authorization information to your Git repository. Making code changes will require you to set a public SSH key, and then to clone your new application Git repository onto your local machine. See the Getting Started page for more steps in this flow.
Step 1. Get Your Application UUID
Get your application uuid by going to the OpenShift Management Console and select the app name to copy the UUID or run this command: rhc app show $appname | grep -i uuid
Go to the administrative interface of the OpenMEAP instance: https://$appname-$yournamespace.rhcloud.com/openmeap-admin-web/interface/
Log in using the default credentials (userid/password): openshift/openmeap
From the Main Menu, navigate to Settings.
Under Global Settings & Preferences and Cluster Nodes set the following values:
External Service URL: https://$appname-$yournamespace.rhcloud.com/openmeap-services-web
File-system Storage Path Prefix: /var/lib/openshift/<application-uuid>/app-root/data
Admin Server Accessible Service Url Prefix: https://$appname-$yournamespace.rhcloud.com/openmeap-services-web
File-system Storage Path Prefix: /var/lib/openshift/<application-uuid>/app-root/data
Step 2. Build Your Mobile Clients!
Use: openmeap.slic.appMgmtServiceUrl=https://$appname-$yournamespace.rhcloud.com/openmeap-services-web/application-management
More Information
For OpenMEAP developer resources visit http://wiki.openmeap.com
For more info on OpenMEAP in general visit http://www.openmeap.com
Uses jbossews-2.0 with code from https://github.com/OpenMEAP/openshift-openmeap-quickstart