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
...Creating a New Cron Job on AWS Linux AMI
By: System Admin 12/13/2012
Cron is a time-based program used explicitly to initiated other programs at particular times on a Linux system. AWS Linux AMI comes with cron pre-installed and configured, like every other modern Linux installation. The base configuration allows for set up of a task that should be run hourly, daily, weekly or monthly as well as any other time period. Quick Job Setup Setting up a job to run hourly, daily, weekly or monthly is very quick. 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. Go to the '/etc' directory
...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
...- Compressing all HTML pages with Apache2 on AWS
- Installing and Configuring phpMyAdmin on AWS Amazon Linux AMI running Apache2 PHP and MySQL
- Creating a New Cron Job on AWS Linux AMI
- Installing and Configuring PHP on AWS Amazon Linux AMI with Apache2
- Installing and Configuring Apache2 on AWS Amazon Linux AMI