更新时间:2021-08-05 17:38:06
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started with OpenShift
A brief introduction into OpenShift
Creating an OpenShift Online account
Creating OpenShift domains using the web console
Creating a WordPress application using the web console
Uploading SSH keys using the web console
Working with the SSH key passphrases
Cloning the application to the local machine
Deploying your first change
Checking the application's gear quota and limits
Installing the OpenShift rhc command-line client
Setting up an OpenShift account using rhc
Enabling the autocomplete feature in an rhc command-line client
Viewing the account details using rhc
Specifying a different OpenShift server hostname
Updating rhc
Chapter 2. Managing Domains
Introduction
Creating a domain using rhc
Renaming a domain using rhc
Viewing domain details using rhc
Adding viewer members to a domain using rhc
Adding an editor member to a domain using rhc
Adding an admin member to a domain using rhc
Viewing all the members in a domain using rhc
Removing members from a domain using rhc
Restricting gear sizes for a domain using rhc
Leaving a domain using rhc
Deleting a domain using rhc
Chapter 3. Creating and Managing Applications
Creating an OpenShift application using the rhc command-line client
Specifying your own template Git repository URL
Starting/stopping/restarting an application
Adding and managing add-on cartridges
Adding a cron cartridge to an application
Using downloadable cartridges with OpenShift applications
Viewing application details
Cloning the application Git repository using rhc
SSH into the application gear using rhc
Running a command in the application's SSH session using rhc
Setting application-specific environment variables
Taking and restoring application backups
Tracking and rolling back application deployments
Configuring the default Git branch for deployment
Doing manual deployments
Configuring and doing binary deployments
Using your own custom domain name
Cleaning up the application
Deleting the application
Chapter 4. Using MySQL with OpenShift Applications
Adding a MySQL cartridge to your application
Adding a phpMyAdmin cartridge to your application
Accessing a MySQL database from your local machine
Connecting to a MySQL cartridge from your local machine using MySQL Workbench
Updating the MySQL max connections setting
Updating the MySQL configuration settings
Performing scheduled MySQL database backups
Using an Amazon RDS MySQL DB instance with OpenShift
Chapter 5. Using PostgreSQL with OpenShift Applications
Adding the PostgreSQL cartridge to your application
Accessing the PostgreSQL cartridge from your local machine
Connecting to the PostgreSQL cartridge using pgAdmin from your local machine
Updating the PostgreSQL max_connections setting
Using the .psqlrc configuration file to configure the OpenShift application psql shell
Performing scheduled PostgreSQL database backups
Using EnterpriseDB PostgreSQL Cloud Database with OpenShift
Installing PostgreSQL extensions
Chapter 6. Using MongoDB and Third-party Database Cartridges with OpenShift Applications
Adding a MongoDB cartridge to your application
Adding a RockMongo cartridge to your application
Accessing a MongoDB cartridge from your local machine
Connecting to a MongoDB cartridge using Robomongo from your local machine
Enabling the MongoDB cartridge REST interface
Performing scheduled MongoDB database backups
Using MongoLab MongoDB-as-a-Service with OpenShift
Adding a MariaDB cartridge to your application
Adding a Redis cartridge to your application
Chapter 7. OpenShift for Java Developers
Creating and deploying Java EE 6 applications using the JBoss EAP and PostgreSQL 9.2 cartridges
Configuring application security by defining the database login module in standalone.xml
Installing modules with JBoss cartridges