AVAS Technology Blog
Compressing all HTML pages with Apache2 on AWS
By: System Admin 01/29/2013
The Apache2 web server has two mods which can be used to compress data sent to the client (ie browser); mod_deflate and mod_gzip. The gzip mod is more versatile but more challenging to setup. For simple compression of HTML, CSS and JavaScript files, the deflate mod works just file. Compression is particularly important on Amazon Web Services (AWS) because:
HTML is very redundant and bulky Smaller files are sent to the client faster AWS charges you based upon OUTPUT bandwidth; smaller files = less bandwidth usage per file
Simple activation of mod_deflate
...Installing and Configuring phpMyAdmin on AWS Amazon Linux AMI running Apache2 PHP and MySQL
By: System Admin 01/03/2013
This is actually really easy, assuming you are using the base version of PHP (5.3.X) from the AWS package repository. YUM has phpMyAdmin as a package and most of the default settings work just fine. The first time I install on an AWS instance it took maybe 15 minutes to complete. Installing phpMyAdmin These instructions assume you have already setup an AWS instance and have an SSH client (like PuTTY) available and a SCP client (like WinSCP) to use when editing the configuration files.
Log in to your instance via the SSH client. Transfer to the root user ("sudo su"). Use YUM to install phpMyAdmin Press "Y" when it asks if you want to install phpMyAdmin
...Installing and Configuring PHP on AWS Amazon Linux AMI with Apache2
By: System Admin 10/03/2012
Apache2 is the standard Linux web server. It deals with all of the http and https requests sent to the server and complies PHP scripts. PHP is a simpler programming language which offers the power of the more complex object orientated languages without some of the more complex data management issues. PHP is commonly used to develop dynamic web content, especially content based upon a database like MySQL. In a practical sense, you must have Apache installed to use PHP on your server. If you do not have Apache currently installed, instructions can be found here. Installing PHP These instructions assume you have already setup an AWS instance and have an SSH client (like PuTTY) available.
...Installing and Configuring Apache2 on AWS Amazon Linux AMI
By: System Admin 09/26/2012
Apache2 is the standard Linux web server. It deals with all of the http and https requests sent to the server. Apache2 modules are also used to compile php scripts. Installing Apache2 These instructions assume you have already setup an AWS instance and have an SSH client (like PuTTY) available.
Log in to your instance via the SSH client. Transfer to the root user. Use YUM to install httpd (the apache2 web server application) Press "Y" when it asks if you want to install Apache Verify the installation occurred correctly by starting the httpd service
Summary of command line inputs
$ sudo su $ yum install httpd ..... Do you want to install httpd (Y/N): Y $ service httpd start
Configuring Apache2
...Setting up WinSCP for AWS access
By: System Admin 09/09/2012
I am assuming you have already setup PuTTY for AWS access. If haven't yet, please follow the instructions at Setting up PuTTY for AWS access. Also, obviously, you need to have an AWS Instance setup. If you haven't setup an AWS Instance, you can find help at Setting up a Free Tier Amazon EC2 Instance. These instructions assume you have already installed WinSCP on your computer. If you need WinSCP, it can be found at www.winscp.net. It is really easy to install on windows machines. Configuration for AWS Instance access You need to access your AWS dashboard as well as WinSCP.
Open your AWS Console (go to http://aws.amazon.com and login) Go to "EC2" under "Compute and Networking"
...