Topic: Fresh install of FA 2.4.x in OpenVZ container running FA 2.3.x

To start with, a Debian Squeeze OpenVZ container running FA v2.3.26+ was used. The install of FA 2.4.2 was done in on it by purging the databse(s) and then using it's credentials in:

apt-get update
apt-get dist-upgrade
apt-get install rsync

== Install of new FA 2.4 ==
* Backup and empty the databases
cd /var/www
mv frontac frontac_bak
wget https://github.com/apmuthu/frontac24/archive/master.tar.gz -O fa24.tar.gz
tar -xzf fa24.tar.gz
mv frontac24* frontac
mv frontac/core/* frontac/
mv frontac/core/.htaccess frontac/x.htaccess
rm -rf frontac/core
rsync -a -v frontac/FA24Mods/* frontac/
rm -rf frontac/FA24Mods
wget https://frontaccounting.com/wbt/media/download_gallery/dejavu.zip
unzip -o dejavu.zip -d frontac/reporting/fonts
chown -R www-data:www-data frontac
find ./frontac -type f -exec chmod 644 \{\} \;
find ./frontac -type d -exec chmod 755 \{\} \;

sed -i -e 's/# hi_IN UTF-8/hi_IN UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale en_US ISO-8859-1 en_US.UTF-8 UTF-8 ta_IN hi_IN ar_EG.UTF-8

service apache2 restart

# Session save path     Info     /var/lib/php5

# Install from Browser

tar -czpf install_fa24.tar.gz frontac/install
rm -rf frontac/install

The above will provide all FA24Mods from my repo as well.

Re: Fresh install of FA 2.4.x in OpenVZ container running FA 2.3.x

If its wikied, thats good for users while checking manual to work on OpenVZ. If you add screenshots,hope that helpful to others.

Subscription service based on FA
HRM CRM POS batch Themes

Re: Fresh install of FA 2.4.x in OpenVZ container running FA 2.3.x

Those who had been using any FA earlier version in OpenVZ can upgrade using the bash code above. Those who are going to use it for a new FA 2.4.2 installation and want all my mods can modify the above bash scrip and add the apache/php/mysql dependencies in a standard install using a Debian Squeeze template possibly using a debian bootstrap.