Install Gallery on Cloud Sites

  • Last updated on: 2016-01-21
  • Authored by: Rackspace Support

Note: This article is written for our Cloud Sites Control Panel. You can get to it from the Cloud Control Panel by clicking Rackspace Cloud in the upper-left corner and selecting Cloud Sites. You can also navigate directly to

This article will lead you through prepping your Cloud Sites domain to host a php based photo gallery using “Gallery”, an open source and readily available site application.

Getting Started

If you have not already done so, go to and download the latest stable release of Gallery.

Following is the link that was current at the time of this article:


Setting up the Sites

  1. Create your new domain from the Cloud Sites Control Panel with minimum requirements being PHP 4, and MySQL 4 or 5.
  2. Once the domain has finished creating, create your database. To do this, click on the Features tab from the top menu. Click Add, and then select MySQL 4 or 5. Type in whatever name you would like to call the DB, type in a username and password of your choice. Follow prompts to finish creation. (You may want to write down the information provided, the hostname, database name, database username and, database password.)

Prepare your data

  1. Extract the content of the Gallery file you downloaded earlier to your local computer.
  2. Open up your FTP client software and login to your new domain. If you are not familiar with uploading content, go here: What FTP software should I use? and use the information to connect provided here: Getting Started With Cloud Sites, FTP/SSHFS/FTP Clients. Your best bet will be to upload everything inside the gallery folder contained within the .zip file you downloaded to your web/content folder.
  3. Once the files have finished uploading, you are ready to get started with the installation of the Gallery and its settings.

Configure the Site<

  1. The information needed here is provided when you created your Database, if did you not already write them down, you can view this by logging into your Cloud Sites Control Panel and select your domain from the list. Click on the features tab and select the database from the list. After you click it, you will see all the info you need, except for the password. This is only known to you.
  2. Fill in the DB Hostname: with the hostname you now have. DB Username: with the database username you created, Fill in DB Password: with the password you created, Fill in DB Name: with the database name you created as well. Once you have filled in those fields, click Continue to Step 6.
  3. The admin account username and password for Gallery will be auto generated. Make sure to write this down because you will need it.
  4. Click Start Using Gallery.


You have now successfully installed Gallery. Please keep in mind that this is a very much used and known PHP application, just like any well used software it is susceptible to exploit. The best way to protect yourself and your data is to update your software regularly, I recommend joining their mailing list, this will keep you up to date on releases and security problems, so you can react accordingly.

Continue the conversation in the Rackspace Community.