For 2021 - online Python 3 training - see ((here)).
Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.
Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
Upgrading our training systems to all the current stable versions
Programming languages are the eye of the storm in software development - the calm in the midst of the gales, an area where changes are gradual and gentle. It really needs to be that way, for who wants to pay for development of code when it's going to have a short shelf life?
And so developers write code that's leading edge code and algorithms, but with languages that are merely modern rather than leading edge or bleeding edge. Code needs to work rather than be too clever to work. So I find myself only difting of late into Python 3 courses and still doing a lot of Python 2, and Perl 6 still sits on the horizon.
But operating systems march on, and the version we've been running on our laptops has been getting long in the tooth, grey in the hair, and has started to have bad breath. Still a fine operting system, but it's embarrassing when it tells your delegates it's rather out of date. So I'm taking the opportunity of few days clear of customer facing work to upgrade the underlying Linux release to the most recent "Long Term Support" version on our training systems, and install recent versions of the laguages and servers we teach on them too. A useful exercise, and I'm logging it here so that I can refer back to procedures later and clarify versions and options used for our delegates. But the log will be in a summary form - you'll be able to follow it if you've been through our Linux training ;-) ... or very likely if you've not as well.
Release is Ubuntu 12.04.2, install from USB stick (from Pen Drive)
Other software to be added - Rails, CodeIgniter, Django
0. Set up distribution on pen drive
1. Backup old trainee account
2. Install from pen drive ...
SD4 for main OS
Main disc for boot
final slice for swap
account Graham Ellis / Trainee / abc123
3. Enable networking
4. Install langauges (perl 5.14.2
and python 2.7.3 and gcc 4.6.3 already present)
sudo apt-get install lua5.2
sudo apt-get install ruby1.9.1
sudo apt-get install php5-cli
sudo apt-get install python3-mimimal
sudo apt-get install tk8.5
sudo apt-get install expect
sudo apt-get install rakudo
sudo apt-get install openjdk-7-jdk
5. Install a default set of servers
sudo apt-get install apache2-mpm-prefork
sudo apt-get install mysql-server-core-5.5
sudo apt-get install mysql-client-core-5.5
sudo apt-get install openssh-server
for PHP build ...
sudo apt-get install libxml2-dev
and from www.wellho.net
(All these in downloads.tgz on the pen drive)
7. Set up root account ((and test)) and add a reference local directory
sudo passwd root
8. Test base installs / set up a reference set
8a) - httpd
tar xzf ../Downoads/httpd-2.2.27.tar.gz
./configure --prefix=/usr/ref/apache2 --enable-rewrite --enable-so --enable-proxy --enable-proxy-http --enable-proxy-balancer --enable-proxy-ajp --enable-dav --enable-info
cd /usr/ref/apache2/conf and change to port 81
from a browser
and when tested, as root
8b) - php
tar xzf ../Downloads/php-5.5.11.tar.gz
./configure --prefix=/usr/ref --with-apxs2=/usr/ref/apache2/bin/apxs --with-mysql --with-mysqli
cp /home/trainee/ref/php-5.5.11/php.ini-development /usr/ref/lib/php.ini
check that httpd config file contains
LoadModule php5_module modules/libphp5.so
and that it maps php files
At /usr/ref/apache2/htdocs/test.php add
<?php phpinf0(); ?>
from a browser
and when tested, as root
tar xzf ~trainee/Downloads/apache-tomcat-7.0.53.tar.gz
ln -s apache-tomcat-7.0.53/ tomcat
from a browser
Guadalajara completed today ... Albany, Caerphilly, Edinburgh, Frankfurt, Helsinki and Manticore to be completed tomorrow. Dharhan has disc drive issues; Brugges a cracked screen (and I will probably leave it as a "control" system. Izmir and Juneau (our old internal staff systems - smart blue covers rather than smart yellow ones) may also be brought into the fold, and we have a spare system to install too; I'll probably rename Manticore into the "places I have trained" series - poetic license and I'll call in Kintbury, which is near enough to Newbury and the final machine need to start with an "L" - it's going to have to be called "Liverpool"! (written 2014-04-07)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articlesA165 - Web Application Deployment - Installing Software 
What to do during a Linux build - (2006-07-20) 
FTP server on Fedora Linux - (2008-07-06) 
OS Commerce install made simple - (2009-04-24) 
Running straight from the jar, but not from a tar - (2009-05-26) 
Make - automating the commands for building and installing - (2010-11-16)A051 - Web Application Deployment - Linux - General 
sw_vers - what version of OSX am I running? - (2009-02-03) 
1234567890 ... coming up on Friday 13th - (2009-02-11) 
How do I become a Linux System Administrator? - (2011-03-28) 
Shell - Grep - Sed - Awk - Perl - Python - which to use when? - (2012-10-22)
Some other Articles
Chippenham - Melksham - Trowbridge, public transport over Easter (2014)Updated staff systems helps us look after our customers betterUpdated delegate computers - nine of the bestWhy we teach LuaUpgrading our training systems to all the current stable versionsKeeping you Tkinter display up to date while monitoringOver a pound a kilometre - my bus in Weston-super-mareTrain fare look expensive? There may be a cheaper optionMaking a personal gain from a more expensive business hotel stayWhere is Melksham Market? In the Market Place, every Tuesday
4759 posts, page by page
Link to page ... 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, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page
This is a page archived from The Horse's Mouth at
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).