OpenSolaris 2008.11 with Drupal 6.10 and AMP Stack AMI provided by Sun Microsystems, Inc.

items>OpenSolaris 2008.11 with Drupal 6.10 and AMP Stack AMI provided by Sun Microsystems, Inc.
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

This 32bit AMI is based on OpenSolaris 2008.11 AMP Stack AMI (ami-c7cf28ae).
Register at http://www.sun.com/third-party/global/amazon/ to receive latest news on OpenSolaris AMIs

Details

Submitted By: nextgenec2
US East AMI ID: ami-170aed7e
Europe AMI ID: ami-e6f0d892
AMI Manifest: sun-osol-2008-11/Drupal_2008.11_32_1.0.img.manifest.xml
Operating System: Linux/Unix
Created On: April 2, 2009 5:26 PM GMT
Last Updated: April 6, 2009 10:13 PM GMT

Description

This 32 bit AMI is based on OpenSolaris 2008.11 AMP Stack AMI. Following components are included in the AMI.

  • Drupal 6.10 (pre-configured state)
  • Apache 2.2
  • MySQL 5.0
  • PHP 5.2 (along with extensions like APC, DTrace, Suhosin, Memcache) runtime
  • phpmyadmin for administering mysql database.

Security Recommendation

Drupal Installation/configuration pages can be accessible using public DNS address associated with the instance. It is recommended to configure ec2 firewall on port '80' to limit inbound connections.

Configurations

  • Drupal (bundled within this AMI in pre-configured state) is available under location /var/drupal-6.10
  • Drupal specific configuration for Apache Web Server is available within /etc/apache2/2.2/conf.d/drupal.conf.
  • Users can launch and configure Drupal by accessing http://<DNS name associated with the instance> in their browser.
  • Apache and mysql services are pre-configured to start on boot.
  • If you would like to use phpMyAdmin, you will need to do the following:

                 # cp /etc/apache2/2.2/samples-conf.d/phpmyadmin.conf /etc/apache2/2.2/conf.d/

                 # svcadm restart http:apache22

  • Drupal recommends having a database protected with a valid user name and password to be created on the system before configuring Drupal. Hence, users are advised to either use 'ssh' to login to your AMI or phpMyAdmin to create such database before proceeding to configuring Drupal.
  • DTrace probes are available within Apache and PHP runtime. Sample Dtrace scripts are available under /opt/DTT/

For more details on security information and image usage instructions, Please refer to the '/root/ec2sun/README' file.


AMP Stack File Layouts

Apache PHP MYSQL
Binary Runtime Files /usr/apache2/2.2/bin /usr/php/5.2/bin /usr/mysql/5.0/bin
Configuration Files /etc/apache2/2.2 /etc/php/5.2 /etc/mysql/5.0
Web Documents / Data Files /var/apache2/2.2 /var/php/5.2 /var/mysql/5.0

Administering AMP Stack

Command Apache MYSQL
Start Service svcadm enable http:apache22 svcadm enable mysql:version_50
Stop Service svcadm disable http:apache22 svcadm disable mysql:version_50
Restart Service svcadm restart http:apache22 svcadm restart mysql:version_50

You can reset mysql 'root'password by running following command:
# /usr/mysql/5.0/bin/mysqladmin -u root -p password ''

ZFS + EBS for MYSQL

User can now take advantage of ZFS to manage EBS volumes and can store mysql data on it. It may improve performance for certain workloads and database sizes.

For more information visit

Documentation

Support

  • Register at http://www.sun.com/third-party/global/amazon/ to receive latest news on OpenSolaris AMIs
  • For technical support during Beta period, please send emails to ec2-solaris-support[AT]SUN[DOT]COM.
  • AMP Stack within OpenSolaris are delivered as part of WebStack project. For any questions related to these components, please write to webstack-discuss[AT]opensolaris[DOT]org

OpenSolaris AMI License for Amazon EC2

http://www.sun.com/third-party/global/amazon/license/ami/

OpenSolaris and MySQL are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the US and other countries.
©2015, Amazon Web Services, Inc. or its affiliates. All rights reserved.