Monday Apr 06, 2009

Joomla 1.5.9 AMI With AMP Stack On OpenSolaris 2008.11

AMI ID: ami-7916f110
AMI Manifest: sun-osol-2008-11/Joomla_2008.11_32_1.0.img.manifest.xml
License: Public

Description:

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

  • Joomla 1.5.9 (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 Recommendations:

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

Configuration:

  • Joomla (bundled within this AMI in pre-configured state) is available under location /var/Joomla-1.5.9
  • Joomla specific configuration for Apache Web Server is available within /etc/apache2/2.2/conf.d/joomla.conf
  • Users can launch and configure Joomla 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

  • 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 '<MySQL password>'

It is highly recommended to secure your MySQL database by following the guidelines mentioned within MySQL 5 database documentation:

http://dev.mysql.com/doc/refman/5.0/en/security-guidelines.html

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.


Wednesday Apr 01, 2009

Drupal 6.10 AMI with AMP stack on OpenSolaris 2008.11

AMI ID: ami-170aed7e
AMI Manifest: sun-osol-2008-11/Drupal_2008.11_32_1.0.img.manifest.xml
License: Public

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 '<MySQL password>'

It is highly recommended to secure your MySQL database by following the guidelines mentioned within MySQL 5 database documentation:

http://dev.mysql.com/doc/refman/5.0/en/security-guidelines.html

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.


Monday Mar 16, 2009

MySQL 5.1 AMI on OpenSolaris 2008.11

AMI ID:

ami-752ccb1c

AMI Menifest:

sun-osol-2008-11/MySQL_2008.11_32_3.0.img.manifest.xml

License:

Public


Description:

This 32bit AMI is based on OpenSolaris 2008.11 AMI. It contains MySQL 5.1 binaries with DTrace probes, and SysBench. SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load. There are also sample Dtrace scripts which utilize the probes in MySQL to collect information about SQL calls. Users should check /export/home/mysql README files for directions.The MySQL and SysBench binaries are located in the /usr/local/mysql and /sysbench directories. An existing user 'mysql' is authorized to start the MySQL server and run tests.

Note:  default mysql root user password can be obtained from /root/ec2sun/README file

You can reset mysql 'root' password by running following command as unix "mysql" user:

# mysqladmin -u root -p password '<MySQL password>'

It is highly recommended to secure your MySQL database by following the guidelines mentioned within MySQL 5.1 database documentation:

http://dev.mysql.com/doc/refman/5.1/en/security-guidelines.html

Administering MySQL

Command

MYSQL

Start Service

svcadm enable mysql

Stop Service

svcadm disable mysql

Restart Service

svcadm restart mysql

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

More details including re-bundling instructions can be found in the Getting Started Guide

For more information on Dtrace and SysBench, please visit
http://www.sun.com/software/solaris/howtoguides/dtracehowto.jsp
http://sourceforge.net/projects/sysbench


Tuesday Mar 03, 2009

AMP stack AMI on OpenSolaris 2008.11

AMI ID:

ami-c7cf28ae

AMI Menifest:

sun-osol-2008-11/AMP_Stack_2008.11_32_1.0.img.manifest.xml

License:

Public

Description:

This 32bit AMI is based on OpenSolaris 2008.11 AMI. Following components are included within this AMI.

  • Apache 2.2

  • MySQL 5.0

  • PHP 5.2 (along with extensions like APC, DTrace, Suhosin, Memcache) runtime

  • phpmyadmin for administering mysql database.

Configurations:

  • 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

  • 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 '<MySQL password>'

It is highly recommended to secure your MySQL database by following the guidelines mentioned within MySQL 5 database documentation:

http://dev.mysql.com/doc/refman/5.0/en/security-guidelines.html

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


Friday Feb 06, 2009

OpenSolaris 2008.11 Now Available on Amazon EC2 in Europe!


OpenSolaris Now Available on Amazon EC2 in Europe!

We are very happy to broaden the availability of the latest OpenSolaris 2008.11 Base AMI on Amazon EC2 in the European Region. This AMI is public and does not need registration.

Following are the details of this new AMI:

OpenSolaris 2008.11 32-bit AMI:

ami-6c1c3418 aki-661c3412 / ari-601c3414

To run this AMI in Europe, change the following environment variables before launching the AMI:

EC2_URL="https://eu-west-1.ec2.amazonaws.com"
LOCATION="EU"

The other env variables remain the same.

NOTE:  a unique <your-keypair-name> must be generated for each region before launching an AMI.(Use ec2-add-keypair <name> > keypairfile after setting the above env variables).

Thursday Feb 05, 2009

opensol2008-11-fixes

OpenSolaris 2008.11 AMI on Amazon EC2 includes couple of bug fixes to OpenSolaris 2008.11 that make the re-bundling of the AMI possible. The bugs are listed below:

Tuesday Jan 13, 2009

OpenSolaris 2008.11 on Amazon EC2 Released

AMI ID: ami-7db75014
AMI Manifest: sun-osol-2008-11/2008.11_32_1.0.img.manifest.xml
AKI/ARI ID:
aki-6552b60c/ari-6452b60d
License: Public

Description:

Sun Microsystems Inc. is pleased to announce the release of OpenSolaris 2008.11 on Amazon EC2's cloud computing service. This 32-bit AMI gives you the power and security of OpenSolaris combined with the flexibility of Amazon's cloud computing service, and is optimised for for EC2's cloud computing environment.

This image contains Image Packaging System (IPS),ZFS, DTrace and more. For details, please visit http://www.opensolaris.com/learn/features/whats-new/200811.

The Image Packaging System, IPS, has continued to evolve since its first appearance in OpenSolaris 2008.05. IPS now supports improved search, mirroring of network repositories, and the addition of the first phase of a client API. Developers can download additional software from the repository. The root file system is ZFS in this AMI and includes the pre-installed packages and tools necessary to get started with using OpenSolaris on Amazon EC2. You can obtain more details about the OpenSolaris project at http://www.opensolaris.org.


Also, just like in our previous AMIs, the "pkg image-update" command updates the kernel and ramdisk which is not allowed in EC2. Therefore, in order to prevent your instances from becoming non-compatible with the Amazon EC2 environment, we have disabled this command. More details including re-bundling instructions can be found in the Getting Started Guide.

The "Getting Started Guide" has been updated with instructions on Re-bundling OpenSolaris 2008.11 based 32-bit AMI on Amazon EC2. The re-bundling process has been automated with the addition of rebundle.sh script located at /opt/ec2/sbin reducing the time and complexity involved in creating new images over this base image.

There is a lot of work in progress in developing pre-packaged software stacks, like  the AMP stack and Ruby on Rails framework, targeting specific developer's needs.  Keep checking the "Open Solaris on EC2" web-page for availability of these AMIs.

Support:

For technical support during Beta period, please contact ec2­-solaris­-support[AT]SUN[DOT]COM.

Please check OpenSolaris on Amazon EC2 blog for latest updates and new information about OpenSolaris AMIs.

The "OpenSolaris on Amazon EC2 Getting Started Guide" is located at:

http://www.sun.com/third-party/global/amazon/Sun_AmazonEC2_GettingStartedGuide.pdf

Register for OpenSolaris AMIs here.

Monday Jan 12, 2009

S3 as filesystem on OpenSolaris (s3fs)

I recently got s3fs working on OpenSolaris. You can find the detailed instructions here. Now you can mount a S3 bucket as a filesystem on OpenSolaris.

This offers some very interesting possibilities. For one it would simplify the process of moving your non-cloud application into the cloud as you do not need to deal with a special API for accessing S3. You can reuse your file access code.

Second, cp & mv are much better alternatives to get & put.

Also s3fs provides for a caching option. This allows you to cache your S3 access in local disks, reducing the number of times you need to access S3 for your data.

Just one note of caution. s3fs is still beta software so be careful before you put it in production. 

Try out the instructions and let me know. 

 

Tuesday Dec 23, 2008

pkg image-update usage on OpenSolaris

"pkg image-update" results in updating kernel and ramdisk and is not allowed in EC2 so it is recommended not to run such commands which may make your instance non-compatible with  EC2 environment. More details including re-bundling instruction can be found in the Getting Started Guide.

Wednesday Oct 01, 2008

Hadoop AMI on Opensolaris

AMI ID: ami­-2bdd3942
AMI Manifest: sun-osol/opensolaris-2008.05-build91-hadoop.img.manifest.xml
License: Public

Description:

This AMI contains 32-­bit OpenSolaris 2008.05 with packages updated to build 91 and  hadoop­0.17.2.1

Hadoop Distribution is unpacked at /root/hadoop­0.17.2.1

To begin, user needs to modify src/contrib/ec2/bin/hadoop­ec2­env.sh using steps given here.
Steps to run the job on a cluster are given here.

OpenSolaris 2008.05 distribution is based on the new packaging system introduced by OpenSolaris project called Image Packaging System (IPS).

Developers can download additional software from the repository The root file system is ZFS in this AMI.


Support:

For technical support during Beta period, please contact ec2­-solaris­-support[AT]SUN[DOT]COM.

Please check OpenSolaris on Amazon EC2 blog for latest updates and new information about OpenSolaris AMIs.

The "OpenSolaris on Amazon EC2 Getting Started Guide" is located at:
http://www.sun.com/third­party/global/amazon/Sun_AmazonEC2_GettingStartedAug08Update.pdf

Register for OpenSolaris AMIs here.

Friday Aug 29, 2008

Joomla AMI using AMP Stack on OpenSolaris

This 32 bit AMI is based OpenSolaris 2008.05 (with packages updated to build 91) and Joomla 1.5.6 (in pre-configured state). Following components are included within this AMI
  • Apache 2.2 , PHP 5.2.6, MySQL 5.0.x and Memcached 1.2.5 .

  • Joomla 1.5.6 (pre-configured state)

  • phpMyAdmin

  • Apache and MySQL services are pre-configured to start on boot.

  • Dtrace probes are also available within Apache and PHP runtime. Sample Dtrace scripts are also available under /opt/DTT/ .


Users can launch and configure Joomla by accessing http://<DNS name associated with the instance>/joomla in their browser.


AMI ID:

ami-2bf01442

AMI Manifest:

sun-osol/opensol2008.05-b91-AMPStack-Joomla.img.manifest.xml

License:

Public

Description:

OpenSolaris 2008.05 is a distribution based on OpenSolaris operating system and includes popular features like

  • ZFS (as its root file system)

  • new packaging system known as Image packaging system (IPS) where users can download any additional software, if needed, from a repository.

  • Dtrace for performance monitoring and tuning purposes.

  • GNU binaries under default PATH and many more...


For more information, check out OpenSolaris 2008.05 Getting Starting Guide from here


Amazon EC2 customers can get more information on OpenSolaris by visiting our OpenSolaris on Amazon EC2 Getting Started Guide from http://www.sun.com/thirdparty/global/amazon/Sun_AmazonEC2_GettingStartedAug08Update.pdf


Joomla - an open source content management platform - supports developing wide variety of websites ranging from personal blogs, corporate brochures and large community-driven websites. For more information on Joomla , refer to its Getting Started Guide within - http://www.joomla.org/about-joomla/getting-started.html

AMP Stack File Layout:


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:

Commands

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 (only if the service is already running)

svcadm restart http:apache22

svcadm restart mysql:version_50


Enabling phpMyAdmin for MySQL Administration:

phpMyAdmin – popular tool written in PHP to handle MySQL administation over the web – is bundled within this AMI. However, for security purposes, 'phpMyAdmin' application is 'disabled' by default within this AMI. Users are strongly urged to protect their MySQL 'root' user with a proper password before enabling this application.

  • Secure your MySQL database by doing some thing like

    • /usr/mysql/5.0/bin/mysql -u root -p password <give a new password>

  • Un-comment the following line in /etc/apache2/2.2/conf.d/phpmyadmin.conf

Alias /phpmyadmin /usr/phpmyadmin

  • Restart Apache Service by doing some thing like

  • Now, access phpMyAdmin application over the web by visiting

    • http://<dns name associated with this AMI>/phpmyadmin . Will need to login with a valid MySQL database's user name and password.


Configuring Joomla:

  • Joomla (bundled within this AMI in pre-configured state) is available under location /var/joomla

  • Joomla recommends having a database protected with a valid user name and password to be created on the system before configuring Joomla. Hence, users are advised to either use 'ssh' to login to your AMI or phpMyAdmin to create such database before proceeding to configuring Joomla. For more information, refer to MySQL documentation by visiting here

  • Joomla specific configuration for Apache Web Server is available within /etc/apache2/2.2/conf.d/joomla.conf .

  • Users can launch and configure Joomla by accessing http://<DNS name associated with the instance>/joomla in their browser.


Support :

  • 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


Register for OpenSolaris AMIs by visiting here.

Drupal AMI using AMP Stack on OpenSolaris

This 32 bit AMI is based on OpenSolaris 2008.05 (with packages updated to build 91) and Drupal 6.4 (in pre-configured state). Following components are included within this AMI

  • Apache 2.2 , PHP 5.2.6, MySQL 5.0.x and Memcached 1.2.5 .

  • Drupal 6.4 (pre-configured state)

  • phpMyAdmin

  • Apache and MySQL services are pre-configured to start on boot.

  • Dtrace probes are also available within Apache and PHP runtime. Sample Dtrace scripts are also available under /opt/DTT/ .

Users can launch and configure Drupal by accessing http://<DNS name associated with the instance>/drupal in their browser.

AMI ID:

ami-4ff01426

AMI Manifest:

sun-osol/opensol2008.05-b91-AMPStack-Drupal.img.manifest.xml

License:

Public

Description:

OpenSolaris 2008.05 is a distribution based on OpenSolaris operating system and includes popular features like

  • ZFS (as its root file system)

  • new packaging system known as Image packaging system (IPS) where users can download any additional software, if needed, from a repository.

  • Dtrace for performance monitoring and tuning purposes.

  • GNU binaries under default PATH and many more...


For more information, check out OpenSolaris 2008.05 Getting Starting Guide from here


Amazon EC2 customers can get more information on OpenSolaris by visiting our OpenSolaris on Amazon EC2 Getting Started Guide from http://www.sun.com/thirdparty/global/amazon/Sun_AmazonEC2_GettingStartedAug08Update.pdf

Drupal - an open source content management platform - supports a variety of websites ranging from personal blogs, corporate brochures and large community-driven websites. For more information on Drupal , refer to its Getting Started Guide within - http://drupal.org/getting-started

AMP Stack File Layout:


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:

Commands

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 (only if the service is already running)

svcadm restart http:apache22

svcadm restart mysql:version_50

Enabling phpMyAdmin for MySQL Administration:

phpMyAdmin – popular tool written in PHP to handle MySQL administation over the web – is bundled within this AMI. However, for security purposes, 'phpMyAdmin' application is 'disabled' by default within this AMI. Users are strongly urged to protect their MySQL 'root' user with a proper password before enabling this application.


  • Secure your MySQL database by doing some thing like

    • /usr/mysql/5.0/bin/mysql -u root -p password <give a new password>

  • Un-comment the following line in /etc/apache2/2.2/conf.d/phpmyadmin.conf

Alias /phpmyadmin /usr/phpmyadmin

  • Restart Apache Service by doing some thing like

  • Now, access phpMyAdmin application over the web by visiting

    • http://<dns name associated with this AMI>/phpmyadmin . Will need to login with a valid MySQL database's user name and password.

Configuring Drupal:

  • Drupal (bundled within this AMI in pre-configured state) is available under location /var/drupal.

  • 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. For more information, refer to MySQL documentation by visiting here

  • 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>/drupal in their browser.


Support :

  • 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


Register for OpenSolaris AMIs by visiting here.

Mediawiki AMI using AMP Stack on OpenSolaris

This 32 bit AMI is based on OpenSolaris 2008.05 (with packages updated to build 91) and MediaWiki 1.12 (in pre-configured state). Following components are included within this AMI
  • Apache 2.2 , PHP 5.2.6, MySQL 5.0.x and Memcached 1.2.5 .

  • MediaWiki 1.12

  • phpMyAdmin

  • Apache and MySQL services are pre-configured to start on boot.

  • Dtrace probes are also available within Apache and PHP runtime. Sample Dtrace scripts are also available under /opt/DTT/ .


Users can launch and configure MediaWiki by accessing http://<DNS name associated with the instance>/mediawiki in their browser.

AMI ID:

ami-2ef11547

AMI Manifest:

sun-osol/opensol2008.05-b91-AMPStack-MediaWiki.img.manifest.xml

License:

Public

Description:

OpenSolaris 2008.05 is a distribution based on OpenSolaris operating system and includes popular features like

  • ZFS (as its root file system)

  • new packaging system known as Image packaging system (IPS) where users can download any additional software, if needed, from a repository.

  • Dtrace for performance monitoring and tuning purposes.

  • GNU binaries under default PATH and many more...


For more information, check out OpenSolaris 2008.05 Getting Starting Guide from here


Amazon EC2 customers can get more information on OpenSolaris by visiting our OpenSolaris on Amazon EC2 Getting Started Guide from http://www.sun.com/thirdparty/global/amazon/Sun_AmazonEC2_GettingStartedAug08Update.pdf


MediaWiki - an open source Wiki software that powers popular site like Wikipedia – free encyclopedia. For more information on MediaWiki , refer to its Getting Started Guide within - http://www.mediawiki.org/wiki/Manual:Contents

AMP Stack File Layout:


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:

Commands

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 (only if the service is already running)

svcadm restart http:apache22

svcadm restart mysql:version_50

Enabling phpMyAdmin for MySQL Administration:

phpMyAdmin – popular tool written in PHP to handle MySQL administation over the web – is bundled within this AMI. However, for security purposes, 'phpMyAdmin' application is 'disabled' by default within this AMI. Users are strongly urged to protect their MySQL 'root' user with a proper password before enabling this application.

  • Secure your MySQL database by doing some thing like

    • /usr/mysql/5.0/bin/mysql -u root -p password <give a new password>

  • Un-comment the following line in /etc/apache2/2.2/conf.d/phpmyadmin.conf

Alias /phpmyadmin /usr/phpmyadmin

  • Restart Apache Service by doing some thing like

  • Now, access phpMyAdmin application over the web by visiting

    • http://<dns name associated with this AMI>/phpmyadmin . Will need to login with a valid MySQL database's user name and password.

Configuring MediaWiki:

  • MediaWiki specific configuration for Apache Web Server is available within /etc/apache2/2.2/conf.d/mediawiki.conf

  • Users can launch and configure MediaWiki by accessing http://<DNS name associated with the instance>/mediawiki in their browser.

Support :

  • 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


Register for OpenSolaris AMIs by visiting here.

AMP stack AMI on OpenSolaris

This 32 bit AMI is based on OpenSolaris 2008.05 (with packages updated to build 91) . Following components are included within this AMI
  • Apache 2.2 , PHP 5.2.6, MySQL 5.0.x and Memcached 1.2.5 .

  • phpMyAdmin

  • Apache and MySQL services are pre-configured to start on boot.

  • Dtrace probes are also available within Apache and PHP runtime. Sample Dtrace scripts are also available under /opt/DTT/ .

AMI ID:

ami-45f1152c

AMI Manifest:

sun-osol/opensol2008.05-b91-AMPStack.img.manifest.xml

License:

Public

Description:

Open Solaris 2008.05 is a distribution based on OpenSolaris operating system and includes popular features like

  • ZFS (as its root file system)

  • new packaging system known as Image packaging system (IPS) where users can download any additional software, if needed, from a repository.

  • Dtrace for performance monitoring and tuning purposes.

  • GNU binaries under default PATH and many more...


For more information, check out OpenSolaris 2008.05 Getting Starting Guide from here


Amazon EC2 customers can get more information on OpenSolaris by visiting our OpenSolaris on Amazon EC2 Getting Started Guide from http://www.sun.com/thirdparty/global/amazon/Sun_AmazonEC2_GettingStartedAug08Update.pdf

AMP Stack File Layout:


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:

Commands

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 (only if the service is already running)

svcadm restart http:apache22

svcadm restart mysql:version_50


Enabling phpMyAdmin for MySQL Administration:

phpMyAdmin – popular tool written in PHP to handle MySQL administation over the web – is bundled within this AMI. However, for security purposes, 'phpMyAdmin' application is 'disabled' by default within this AMI. Users are strongly urged to protect their MySQL 'root' user with a proper password before enabling this application.

  • Secure your MySQL database by doing some thing like

    • /usr/mysql/5.0/bin/mysql -u root -p password <give a new password>

  • Un-comment the following line in /etc/apache2/2.2/conf.d/phpmyadmin.conf

Alias /phpmyadmin /usr/phpmyadmin

  • Restart Apache Service by doing some thing like

  • Now, access phpMyAdmin application over the web by visiting

    • http://<dns name associated with this AMI>/phpmyadmin . Will need to login with a valid MySQL database's user name and password.

Support :

  • 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


Register for OpenSolaris AMIs by visiting here.

OpenSolaris Based MySQL AMI

Following the launch of the Ruby on Rails 2 AMI, we are pleased to announce the launch of our "MySQL 5 with Dtrace probes" AMI.

This 32-bit AMI is based on the OpenSolaris 2008.05 AMI with updated software revisions to build 91. It contains MySQL 5.1.25 binaries, and SysBench. SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load. There are also sample Dtrace scripts which utilize the probes in MySQL to collect information about SQL calls. Users should check /export/home/mysql README files for directions.The MySQL and SysBench binaries are located in the /usr/local/mysql and /sysbench directories. An existing user 'mysql' is authorized to start the MySQL server and run tests.

Note:  default mysql root user password can be obtained from /export/home/mysql README

The OpenSolaris distribution is based on the OpenSolaris project, and features functionality such as ZFS, DTrace, and a new packaging system, the Image Packaging System(IPS). IPS is a network based package management system that allows for users to install applications from online repositories using the "pkg" command. Developers can install additional software on this AMI from the repository using the pkg command. The root file system is ZFS in this AMI.

Also, just like in the RoR AMI, the "pkg image-update" command updates the kernel and ramdisk which is not allowed in EC2. Therefore, in order to prevent your instances from becoming non-compatible with the Amazon EC2 environment, we have disabled this command. More details including re-bundling instructions can be found in the Getting Started Guide.

More details can be found at:

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1653&categoryID=101

For more information on Dtrace and SysBench, please visit
http://www.sun.com/software/solaris/howtoguides/dtracehowto.jsp
http://sourceforge.net/projects/sysbench


About

Information about Solaris and OpenSolaris on Amazon Web Services (AWS) EC2. Look here for the latest information on the program and any late breaking information on (Open)Solaris on EC2.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today