Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Implementing AppFog
  • Table Of Contents Toc
Implementing AppFog

Implementing AppFog

3.5 (4)
close
close
Implementing AppFog

Implementing AppFog

3.5 (4)

Overview of this book

AppFog is the leading platform-as-a-service provider of PHP, Ruby, Node.js, and Java solutions. It is used by developers worldwide to deploy tens of thousands of applications. AppFog delivers a reliable, scalable, and fast platform for deploying applications in the cloud.This book is a hands-on guide that will walk you through creating and deploying applications to the cloud using AppFog, which will allow you to get your application deployed without the hassle of setting up servers.This book demonstrates how to use the AppFog service to build an application and have it running in the Cloud. It will walk you through the initial AppFog setup process and explain how to create your first application in minutes.You will also discover how to use services such as databases to make your applications more powerful. You will also learn how to create applications from scratch.You will find out everything you need to know to get an application running in the cloud for the first time.
Table of Contents (13 chapters)
close
close
Implementing AppFog
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
2
Index

Installing on CentOS


On CentOS, you need superuser privileges to install a software package. The simplest way to do this is to enter superuser mode using the su command.

  1. Enter superuser mode

    $ su -
    # 
    
  2. Install the basic Ruby package. Type yes as prompted.

    # yum install ruby
    
  3. Install Ruby packages for development and documentation.

    # yum install ruby-devel ruby-irb ruby-rdoc ruby-ri
    
  4. Install the Rubygems package.

    # yum install rubygems
    
  5. Install the AppFog gem.

    # gem install af
    
  6. Install the AppFog gem.

    # gem install af
    
  7. Install the Sinatra gem.

    # gem install sinatra
    
  8. Exit superuser mode.

    # exit
    $
    

Note

Always exit the superuser mode after installing the software. Doing routine tasks as superuser is likely to cause security and other problems.

You will need to re-enter the superuser mode to install Gems, including the AppFog command line tool.

You can use the sudo tool to enter single commands as superuser. On CentOS this feature is not enabled by default. Refer to the system documentation for more information.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Implementing AppFog
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon