About this Openshift Origin LiveCD
The image contains 5 sets of components:
- Broker: Central service exposing a REST API for consumers and coordinating with the application containers (known as nodes).
- Messaging System: A pluggable communication pipeline component for facilitating communication between broker and each node.
- User Authentication: A pluggable user authentication component with a default MongoDB implementation.
- Domain Name Management: A pluggable user authentication component that provides DNS management.
- Cartridges: Management wrappers around software runtimes that will be enabled in both this runtime and the service offering.
Get Started with the OpenShift Origin
1. Create a domain name
Using your OpenShift Origin login and password, call rhc domain create to create a unique domain name for your applications.
Note: A login with the username 'admin' and password 'admin' has been created for you. Additional logins can be created using the ss-create-user command: su -c "ss-create-user -u<username> -p<password>"
$ rhc domain create -n mydomain -l admin Password: admin
2. Create your first application
Now you can create an application.
$ rhc app create -a myapp -t php-5.3 Password: admin
This will create a remote git repository for your application, and clone it locally in your current directory.
3. Make a change, publish
Now that you have created a template application, here's how to update it with your content. Here's an example for the php framework.
$ cd myapp $ vim php/index.php (Make a change... :wq) $ git commit -a -m "My first change" $ git push
Use whichever IDE or editor works best for you. Chances are, it'll have git support.
Now, check your URL - your change will be live.
4. Next steps
Check out the following pages for videos, blogs, and tutorials:
Ready to scale in the cloud?
Sign up now
>