Amazon EC2 Linux as LAMP server

The following guide demonstrates how to install

  • Apache Webserver 2.4
  • PHP 5.4
  • MySQL Server 5.5 (Community Edition)

Step 1: install Apache, PHP, MySQL

sudo yum install -y httpd24 php54 mysql55

Step 2: start the services

sudo /etc/init.d/mysqld start
sudo /etc/init.d/httpd start

Step 3: make sure services start after a reboot

sudo chkconfig --level 2345 httpd on
sudo chkconfig --level 2345 mysqld on

Amazon Linux AMI as LAMP setup

Aside

The following guide demonstrates how to install Apache Webserver 2.2, PHP 5.3, MySQL Server 5.1 (Community Edition) and Perl (without mod_perl).

sudo yum install -y httpd php php-pear mysql mysql-server perl php-common php-dba php-pdo php-mysql php-xml php-xmlrpc

Then start Apache HTTPD and MySQL Server:

sudo /etc/init.d/mysqld start
sudo /etc/init.d/httpd start

And make sure it`s always loaded on startup:
sudo chkconfig --level 2345 httpd on
sudo chkconfig --level 2345 mysqld on

OpenX Ad Server: Beginner’s Guide

Aside

Packt Publishing released the book “OpenX Ad Server: Beginner’s Guide” last week.

I`m very lucky to give you guys (and girls) with a review on my blog (this site, doh!) this month!
I`ve been using OpenX since 2006 to structure and organise online advertisement campaigns.

The books covers the following items:

  • Learn the essentials of online advertising from the advertiser and publisher points of view
  • Install and utilize OpenX Ad Server effectively to make your business run faster
  • Get to know the usage of all the campaign and banner types
  • Manage ad campaigns and banners on multiple web sites from a centralized platform
  • Display ads according to their importance and alter the under-performing ads easily and swiftly
  • Learn the most effective way to work with web site ad zones
  • Maximize your profits by selling your ad space on your blogs and web sites effectively
  • Take full advantage of GeoTargeting for generating maximum revenue by showing ads according to visitor origin
  • Utilize the channels to show relevant ads based on the content of web sites
  • Integrate Google AdSense and Amazon ads with your web sites using OpenX
  • Convert OpenX Ad Server into a multi-user ad management platform for advertisers, publishers, and ad agencies
  • Track the success of any ad campaign, banner or web site zone using detailed statistics, and reports

More information about the book can be found at www.packtpub.com/openx-ad-server-beginners-guide/book