Wednesday, April 8, 2015

How much money can you get from YouTube video ads?

I was curious about what kind of money a normal person can make out of YouTube video ads.

As part of my Program Arcade Games web site I have a lot of tutorial videos. I've got about 2,000 subscribers and a half million views total on my video channel. Was that worth any money? Last Christmas I enabled advertising to find out.

The results:
Start date: 12/23/2014
End date: 4/8/2015
Days advertising was active: 106
Total views: 81,165
Total earned: 103.25
Amount earned per day 0.9741
Amount earned per view 0.0013

You need at least $100 in revenue to get paid. I ended the experiment to see once I got over $100. Quite frankly, $100 doesn't seem worth it to annoy people for 106 days and 81,000 views.

Keep in mind you only get paid if someone clicks on the ad. So a person isn't paid on a per-view basis. The results varied a lot on a per-day basis. This is what the analytics looked like:

Saturday, February 14, 2015

Script for setting up Wordpress on an AWS machine

I found the documentation a bit of a headache to run through. This is a quick way to get a wordpress server up and running on Amazon Web Services.


sudo apt-get -y update
sudo apt-get -y upgrade

sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password yourdbserverpassword'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password yourdbserverpassword'
sudo apt-get -y install mysql-server

sudo apt-get -y install apache2 php5 php5-mysql mercurial

sudo service mysql start
mysql -u root -p
CREATE USER 'wordpress-user'@'localhost' IDENTIFIED BY 'yourdbpassword';
CREATE DATABASE `wordpress-db`;
GRANT ALL PRIVILEGES ON `wordpress-db`.* TO "wordpress-user"@"localhost";

cd ~
tar -xzf latest.tar.gz

cd wordpress/
cp wp-config-sample.php wp-config.php
sed -i 's/database_name_here/wordpress-db/g' wp-config.php
sed -i 's/username_here/wordpress-user/g' wp-config.php
sed -i 's/password_here/yourdbpassword/g' wp-config.php

curl >> wp-config.php

sudo rm /var/www/html/index.html
sudo mv * /var/www/html/
sudo chown -R www-data:www-data /var/www/html