售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
OpenShift Cookbook
Table of Contents
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with OpenShift
A brief introduction into OpenShift
Creating an OpenShift Online account
Getting ready
How to do it…
How it works…
See also
Creating OpenShift domains using the web console
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a WordPress application using the web console
Getting ready
How to do it…
How it works…
There's more…
See also
Uploading SSH keys using the web console
Getting ready
How to do it…
How it works…
There's more…
See also
Working with the SSH key passphrases
Getting ready
How to do it…
How it works…
See also
Cloning the application to the local machine
Getting ready
How to do it…
How it works…
There's more…
See also
Deploying your first change
Getting ready
How to do it…
How it works…
There's more…
See also
Checking the application's gear quota and limits
Getting ready
How to do it…
How it works…
There's more…
Installing the OpenShift rhc command-line client
Getting ready
How to do it…
How it works…
There's more…
See also
Setting up an OpenShift account using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Enabling the autocomplete feature in an rhc command-line client
Getting ready
How to do it…
How it works…
There's more…
See also
Viewing the account details using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Specifying a different OpenShift server hostname
Getting ready
How to do it…
How it works…
There's more…
See also
Updating rhc
Getting ready
How to do it…
How it works…
There's more…
See also
2. Managing Domains
Introduction
Creating a domain using rhc
Getting ready
How to do it…
How it works…
There's more...
See also
Renaming a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Viewing domain details using rhc
Getting ready
How to do it...
How it works...
There's more…
See also
Adding viewer members to a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Adding an editor member to a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Adding an admin member to a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Viewing all the members in a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Removing members from a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Restricting gear sizes for a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
Leaving a domain using rhc
Getting ready
How to do it…
How it works…
See also
Deleting a domain using rhc
Getting ready
How to do it…
How it works…
There's more…
See also
3. Creating and Managing Applications
Introduction
Creating an OpenShift application using the rhc command-line client
Getting ready
How to do it…
How it works…
There's more
See also
Specifying your own template Git repository URL
Getting ready
How to do it…
How it works…
See also
Starting/stopping/restarting an application
Getting ready
How to do it…
How it works…
There's more…
See also
Adding and managing add-on cartridges
Getting ready
How to do it…
How it works…
There's more…
See more
Adding a cron cartridge to an application
Getting ready
How to do it…
How it works…
There's more…
See also
Using downloadable cartridges with OpenShift applications
Getting ready
How to do it…
How it works…
See also
Viewing application details
Getting ready
How to do it…
How it works…
See more
Cloning the application Git repository using rhc
Getting ready
How to do it…
How it works…
There's more…
See more
SSH into the application gear using rhc
Getting ready
How to do it…
How it works…
There's more…
See more
Running a command in the application's SSH session using rhc
Getting ready
How to do it…
How it works…
There's more…
See more
Setting application-specific environment variables
Getting ready
How to do it…
How it works…
There's more…
See more
Taking and restoring application backups
Getting ready
How to do it…
How it works…
There's more…
See also
Tracking and rolling back application deployments
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring the default Git branch for deployment
Getting ready
How to do it…
How it works…
There's more…
See also
Doing manual deployments
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring and doing binary deployments
Getting ready
How to do it…
How it works…
There's more…
See also
Using your own custom domain name
Getting ready
How to do it…
How it works…
There's more…
See also
Cleaning up the application
Getting ready
How to do it…
How it works…
There's more…
See also
Deleting the application
Getting ready
How to do it…
How it works…
See also
4. Using MySQL with OpenShift Applications
Introduction
Adding a MySQL cartridge to your application
Getting ready
How to do it…
How it works…
There's more…
See also
Adding a phpMyAdmin cartridge to your application
Getting ready
How to do it…
How it works…
There's more…
See also
Accessing a MySQL database from your local machine
Getting ready
How to do it…
How it works…
See also
Connecting to a MySQL cartridge from your local machine using MySQL Workbench
Getting ready
How to do it…
How it works…
See also
Updating the MySQL max connections setting
Getting ready
How to do it…
How it works…
See also
Updating the MySQL configuration settings
Getting ready
How to do it…
How it works…
See also
Performing scheduled MySQL database backups
Getting ready
How to do it…
How it works…
See also
Using an Amazon RDS MySQL DB instance with OpenShift
Getting ready
How to do it…
How it works…
There's more…
See also
5. Using PostgreSQL with OpenShift Applications
Introduction
Adding the PostgreSQL cartridge to your application
Getting ready
How to do it…
How it works…
There's more…
See also
Accessing the PostgreSQL cartridge from your local machine
Getting ready
How to do it…
How it works…
See also
Connecting to the PostgreSQL cartridge using pgAdmin from your local machine
Getting ready
How to do it…
How it works…
See also
Updating the PostgreSQL max_connections setting
Getting ready
How to do it…
How it works…
There's more…
See also
Using the .psqlrc configuration file to configure the OpenShift application psql shell
Getting ready
How to do it…
How it works…
See also
Performing scheduled PostgreSQL database backups
Getting ready
How to do it…
How it works…
See also
Using EnterpriseDB PostgreSQL Cloud Database with OpenShift
Getting ready
How to do it…
How it works…
See also
Installing PostgreSQL extensions
Getting ready
How to do it…
How it works…
See also
6. Using MongoDB and Third-party Database Cartridges with OpenShift Applications
Introduction
Adding a MongoDB cartridge to your application
Getting ready
How to do it…
How it works…
There's more…
See also
Adding a RockMongo cartridge to your application
Getting ready
How to do it…
How it works…
There's more…
See also
Accessing a MongoDB cartridge from your local machine
Getting ready
How to do it…
How it works…
See also
Connecting to a MongoDB cartridge using Robomongo from your local machine
Getting ready
How to do it…
How it works…
See also
Enabling the MongoDB cartridge REST interface
Getting ready
How to do it…
How it works…
See also
Performing scheduled MongoDB database backups
Getting ready
How to do it…
How it works…
See also
Using MongoLab MongoDB-as-a-Service with OpenShift
Getting ready
How to do it…
How it works…
See also
Adding a MariaDB cartridge to your application
Getting ready
How to do it…
How it works…
See also
Adding a Redis cartridge to your application
Getting ready
How to do it…
How it works…
There's more…
See also
7. OpenShift for Java Developers
Introduction
Creating and deploying Java EE 6 applications using the JBoss EAP and PostgreSQL 9.2 cartridges
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring application security by defining the database login module in standalone.xml
Getting ready
How to do it…
How it works…
See also
Installing modules with JBoss cartridges
Getting ready
How to do it…
How it works…
See also
Managing JBoss cartridges using the management web interface and CLI
Getting ready
How to do it…
How it works…
See also
Creating and deploying Spring applications using the Tomcat 7 cartridge
Getting ready
How to do it…
How it works…
There's more…
See also
Taking thread dumps of Java cartridges
Getting ready
How to do it…
How it works…
There's more…
See also
Choosing between Java 6 and Java 7
How to do it…
How it works…
See also
Enabling hot deployment for Java applications
How to do it…
How it works…
See also
Skipping the Maven build
Getting ready
How to do it…
How it works…
There's more…
See also
Forcing a clean Maven build
Getting ready
How to do it…
How it works…
See also
Overriding the default Maven build command
Getting ready
How to do it…
How it works…
See also
Installing the JAR file not present in the Maven central repository
Getting ready
How to do it…
How it works…
See also
Developing OpenShift Java applications using Eclipse
Getting ready
How to do it…
How it works…
There's more…
See also
Using Eclipse System Explorer to SSH into the application gear
Getting ready
How to do it…
How it works…
See also
Debugging Java applications in the Cloud
Getting ready
How to do it…
How it works…
See also
8. OpenShift for Python Developers
Introduction
Creating your first Python application
Getting ready
How to do it…
How it works…
There's more...
See also
Managing Python application dependencies
Getting ready
How to do it…
How it works…
There's more...
See also
Creating and deploying Flask web applications using Python and PostgreSQL cartridges
Getting ready
How to do it…
How it works…
There's more
See also
Enabling hot deployment for Python applications
How to do it…
How it works…
See also
Forcing a clean Python virtual environment
Getting ready
How to do it…
How it works…
See also
Accessing an application's Python virtual environment
Getting ready
How to do it…
How it works…
See also
Using Gevent with Python applications
Getting ready
How to do it…
How it works…
There's more...
See also
Installing a custom Python package
Getting ready
How to do it…
How it works…
There's more…
See also
Using the .htaccess file to configure Apache
Getting ready
How to do it…
How it works…
See also
9. OpenShift for Node.js Developers
Introduction
Creating your first Node.js application
Getting ready
How to do it…
How it works…
See also
Configuring Node supervisor options
Getting ready
How to do it…
How it works…
See also
Managing Node.js application dependencies
Getting ready
How to do it…
How it works…
There's more…
See also
Using the use_npm marker
Getting ready
How to do it…
How it works…
See also
Enabling hot deployment for Node.js applications
How to do it…
How it works…
See also
Creating and deploying Express web applications using Node.js and MongoDB cartridges
Getting ready
How to do it…
How it works…
See also
Working with Web Sockets
Getting ready
How to do it…
How it works…
See also
Using CoffeeScript with OpenShift Node.js applications
Getting ready
How to do it…
How it works…
See also
10. Continuous Integration for OpenShift Applications
Introduction
Adding Jenkins CI to your application
Getting ready
How to do it…
How it works…
There's more…
See also
Increasing the slave idle timeout
Getting ready
How to do it…
How it works…
See also
Installing Jenkins plugins
Getting ready
How to do it…
How it works…
See also
Using Jenkins to build projects hosted on GitHub
Getting ready
How to do it…
How it works…
See also
Creating a Jenkins workflow for your OpenShift applications
Getting ready
How to do it…
How it works…
See also
Upgrading Jenkins to the latest version
Getting ready
How to do it…
How it works…
See also
11. Logging and Scaling Your OpenShift Applications
Introduction
Viewing application logs
Getting ready
How to do it…
How it works…
There's more…
See also
Working with JBoss application logs
Getting ready
How to do it…
How it works…
There's more…
See also
Enabling JBoss access logs
Getting ready
How to do it…
How it works…
See also
Working with Tomcat application logs
Getting ready
How to do it…
How it works…
There's more…
See also
Working with Python application logs
Getting ready
How to do it…
How it works…
See also
Creating scalable applications
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring a different health check URL for HAProxy
Getting ready
How to do it…
How it works…
See also
Configuring HAProxy to use a different balance algorithm
Getting ready
How to do it…
How it works…
See also
Creating scalable apps from nonscalable apps
Getting ready
How to do it…
How it works…
See also
Enabling manual scaling with marker files
Getting ready
How to do it…
How it works…
There's more…
See also
A. Running OpenShift on a Virtual Machine
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜