Wednesday, July 2, 2014

configuring a server on openshift(example JBOSS 7.1 with java)

for creating an application on Openshift you must have a registered account on Openshift.
If you don't have an openshift account,follow the following link to make one-
how to create an account on openshift

Configuring JBOSS server on openshift-
1.log into  Openshift.
2.you will be redirected to application page(if not click here--: openshift application page.)
3.click on "create your first application now",you will be redirected to application selection page.(if not,click here--: openshift application selection page)
4.Under Java Heading ,Select- click on JBoss Application 7.

Filling Form for Jboss Webserver

1.Public Url(mandatory) -
This will be the Url where the application will be hosted,give an appropriate name
for our example it is - jbossas-nawab.rhcloud.com

2.Source Code(optional)-
you can use GIT to upload source code directly to openshift.
(the configuration is command line based and very hectic,not recommended,we are any way going to upload our code on server using FTP clients)

3.Scaling-
Select - no scaling

Click on "Create application"

your application server is ready and you will be directed to the configuration page.

the only important thing to note here is-
goto your application again signing in again and clickon your application-
now you see credentials to your application-

the address to your application will be mentioned on the right side of the application
as -
1.click on -"want to login your application"
2.address comes with ssh ...copy and paste the address.


(to deploy data onto this server,you need to install some applications onto your system,
click here to goto deploy an application on server page(application installation phase))





No comments:

Post a Comment