Joomla16
From Proxmox VE
Contents |
Appliance Details
| Package: | joomla |
| Version: | 1.6.0-SVN-20765 |
| Certified: | no |
| Section: | www |
| Location: | http://www.gnuacademy.org/appliances/debian-6.0-joomla_1.6.0-SVN-20765_i386.tar.gz |
| Maintainer: | Ap.Muthu |
| OS: | debian-6.0 |
Introduction
Joomla! v1.6 builds upon the success of Joomla! v1.5.x as the best Open Source Content Management Systems of choice. It is easy to install, simple to manage, and is becoming more reliable. This avatar brings with it fine grained ACLs, SEO, Speed, Power and Control of Options like never before.
For more details see: Joomla!
Virtual Appliances can be downloaded directly via the Central Web-based Management if apm-available is used.
Recommended settings for Proxmox VE
- Memory (MB): 512
- Swap (MB): 512
- Hard disk (GB): 8
Appliance specific settings
- MySQL root password: randomised and available at /root/.my.cnf
- Please change this if needed via command line after the first boot:
mysqladmin -u root -p password yournewpasswordhere
- Set the server timezone via command line:
dpkg-reconfigure tzdata
Appliance comes pre-installed with GZip, mod-rewrite, SEF enabled. After first boot, the joomla installation folder is backed up to /var/backups/installation-j16.tar.gz
Joomla! settings
Main software packages: Debian Squeeze, Joomla 1.6.0+, MySQL 5.1, Postfix, Apache2, PHP5, cURL, zip, unzip, bzip2
First steps
Start the VM. After 10 seconds, check the first logs of the VM and note the MySQL root and joomuser randomised passwords.
Now open a VNC console and install the latest security updates.
apt-get update apt-get dist-upgrade
Now, connect to the Joomla! web admin GUI http://youripaddress.or.domain/administrator and manage the site.
Building Joomla Template
- Joomla v1.6.1 full file
- Joomla v1.6.0 to v1.6.1 patch file
- Joomla_1.6.3-Stable-Full_Package.tar.gz
- Get the latest DAB build template files by Ap.Muthu from here.
Getting Joomla SVN code
The folks at Joomla.org have not provided links for directly downloading svn files as tar.gz archives. The following obtains the necessary tar balls.
If you have not done so once, then:
apt-get install subversion
Do a checkout:
svn checkout http://joomlacode.org/svn/joomla/development/trunk/ --username "anonymous" --password "" cd trunk find . -type d -name '.svn' -print0 | xargs -0 rm -rdf cd .. tar -zcvf joomla16_svn.tar.gz trunk/* rm -rf trunk
or an export (always sets last commit time - no authentication required):
svn export http://joomlacode.org/svn/joomla/development/trunk/ tar -zcvf joomla16_svn.tar.gz trunk/* rm -rf trunk
A bash script to obtain the changed files between SVNs is available here with comments in it for usage and options.
Upgrading v1.6 SVN
After having successfully set up Joomla v1.6.0 from the earlier template here, you can upgrade the installation to the latest v1.6.xx by taking the difference files from the SVN and checking the sql file for any changes. Console commands to upgrade to SVN 20500 and then to SVN 20518 are:
cd /var/www/ wget http://www.sacollege.net/files/appliances/joomla16-svn-20480_20500i.tar.gz tar -zxvpf joomla16-svn-20480_20500i.tar.gz rm -f joomla16-svn-20480_20500i.tar.gz wget http://www.sacollege.net/files/appliances/joomla16-svn-20500_20518i.tar.gz tar -zxvpf joomla16-svn-20500_20518i.tar.gz rm -f joomla16-svn-20500_20518i.tar.gz sed -e 's/padding: 0\.35em 1em 0\.35em/padding: 0.35em 0.75em 0.35em/' -i /var/www/joomla/administrator/templates/bluestork/css/template.css
and execute the following MySQL commands from:
USE `joomla16`;
UPDATE `jos_extensions` SET `manifest_cache` = '{"legacy":false,"name":"Joomla! Web Application Framework","type":"library","creationDate":"2008","author":"Joomla","copyright":"Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"http:\\/\\/www.joomla.org","version":"1.6.0","description":"The Joomla! Web Application Framework is the Core of the Joomla! Content Management System","group":""}' WHERE `name` = 'Joomla! Web Application Framework' AND `type` = 'joomla';
UPDATE `jos_extensions` SET `manifest_cache` = '{"legacy":false,"name":"atomic","type":"template","creationDate":"10\\/10\\/09","author":"Ron Severdia","copyright":"Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.","authorEmail":"contact@kontentdesign.com","authorUrl":"http:\\/\\/www.kontentdesign.com","version":"1.6.0","description":"TPL_ATOMIC_XML_DESCRIPTION","group":""}' WHERE `name` = 'atomic' AND `type` = 'template';
UPDATE `jos_extensions` SET `manifest_cache` = '{"legacy":false,"name":"bluestork","type":"template","creationDate":"07\\/02\\/09","author":"Ron Severdia","copyright":"Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.","authorEmail":"contact@kontentdesign.com","authorUrl":"http:\\/\\/www.kontentdesign.com","version":"1.6.0","description":"TPL_BLUESTORK_XML_DESCRIPTION","group":""}' WHERE `name` = 'bluestork' AND `type` = 'template';
UPDATE `jos_extensions` SET `manifest_cache` = '{"legacy":false,"name":"beez_20","type":"template","creationDate":"25 November 2009","author":"Angie Radtke","copyright":"Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.","authorEmail":"a.radtke@derauftritt.de","authorUrl":"http:\\/\\/www.der-auftritt.de","version":"1.6.0","description":"TPL_BEEZ2_XML_DESCRIPTION","group":""}' WHERE `name` = 'beez_20' AND `type` = 'template';
UPDATE `jos_extensions` SET `manifest_cache` = '{"legacy":false,"name":"hathor","type":"template","creationDate":"May 2010","author":"Andrea Tarr","copyright":"Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.","authorEmail":"hathor@tarrconsulting.com","authorUrl":"http:\\/\\/www.tarrconsulting.com","version":"1.6.0","description":"TPL_HATHOR_XML_DESCRIPTION","group":""}' WHERE `name` = 'hathor' AND `type` = 'template';
UPDATE `jos_extensions` SET `manifest_cache` = '{"legacy":false,"name":"beez5","type":"template","creationDate":"21 May 2010","author":"Angie Radtke","copyright":"Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.","authorEmail":"a.radtke@derauftritt.de","authorUrl":"http:\\/\\/www.der-auftritt.de","version":"1.6.0","description":"TPL_BEEZ5_XML_DESCRIPTION","group":""}' WHERE `name` = 'beez5' AND `type` = 'template';
then to SVN 20765:
cd /var/www/ wget http://www.sacollege.net/files/appliances/joomla16-svn-20518_20765i.tar.gz tar -zxvpf joomla16-svn-20518_20765i.tar.gz rm -f joomla16-svn-20518_20765i.tar.gz sed -e 's/padding: 0\.35em 1em 0\.35em/padding: 0.35em 0.75em 0.35em/' -i /var/www/joomla/administrator/templates/bluestork/css/template.css
How to see the Joomla Version
Login to as an admin on the admin console (for example at http://www.example.com/administrator) and you will see the Joomla version number in the footer in the logged in page.
Kindly refer the Post Release FAQs link at the end of this page for any issues and fixes that may have surfaced since this release.
deflate_module verification
Check if the mod_deflate is loaded and enabled with:
# apachectl -t -D DUMP_MODULES
It should show something like:
deflate_module (shared)
We can also use gzip in the Accept-Encoding text box in Rex Swain's Online HTTP Viewer.
Running Joomla in SSL Mode
make-ssl-cert command is found in the ssl-cert package which comes installed by default in the Joomla template here.
Although we can use the pre-created SSL certificate for the Snake Oil Company available at /etc/ssl/certs and /etc/ssl/private folders, it is advisable for the sake of uniqueness of each install, to regenerate them thus:
make-ssl-cert generate-default-snakeoil --force-overwrite
In order to run Joomla in SSL mode (HTTPS), we need to upload a file (say, named ssl which is a subset of the file at /etc/apache2/sites-available/default-ssl) with the following contents atleast:
<IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin webmaster@localhost DocumentRoot /var/www/joomla/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/joomla/> Optiona All AllowOverride All # Options Indexes FollowSymLinks MultiViews # AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/error.log LogLevel warn CustomLog /var/log/apache2/ssl_access.log combined SSLEngine on SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> BrowserMatch ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </VirtualHost> </IfModule>
Then we need to execute the following:
a2enmod ssl a2ensite ssl /etc/init.d/apache2 reload
Now we can browse to https://youripaddress to view the site in SSL mode.
Checking the Server
The Acronym lsof is list open files.
The console command # lsof -i :80 will output like:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME apache2 11191 root 3u IPv4 5632521 TCP *:www (LISTEN) apache2 11343 www-data 3u IPv4 5632521 TCP *:www (LISTEN) apache2 11347 www-data 3u IPv4 5632521 TCP *:www (LISTEN)
If SSL is enabled, then the console command # lsof -i :443 will output like:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME apache2 11191 root 4u IPv4 5632523 TCP *:https (LISTEN) apache2 11343 www-data 4u IPv4 5632523 TCP *:https (LISTEN) apache2 11347 www-data 4u IPv4 5632523 TCP *:https (LISTEN)
Documentation and HowTo´s about Joomla!
Joomla! | Joomla! v1.6 Bug Tracker | Joomla! v1.6 Forum | Joomla! v1.6 SVN Trunk Status
Migration from Joomla! v1.5 - Script page | Manual Method
