Difference between revisions of "upgrade mediawiki on koilparampil.bizhat.com"

From WebHostingNeeds.com
Jump to: navigation, search
m
m
 
Line 2: Line 2:
 
cd /home/koilparampil.bizhat.com/boby
 
cd /home/koilparampil.bizhat.com/boby
 
mysqldump koil_wiki > koil_wiki-`date +%Y-%m-%d`.sql
 
mysqldump koil_wiki > koil_wiki-`date +%Y-%m-%d`.sql
echo  `date` 'mediawiki-1.28.1.tar.gz' >> version.txt
+
echo  `date` 'mediawiki-1.29.2.tar.gz' >> version.txt
wget https://releases.wikimedia.org/mediawiki/1.28/mediawiki-1.28.1.tar.gz
+
wget https://releases.wikimedia.org/mediawiki/1.29/mediawiki-1.29.2.tar.gz
# tar xvfz mediawiki-1.28.1.tar.gz -C /home/koilparampil.bizhat.com/public_html/ --strip-components=1
+
# tar xvfz mediawiki-1.29.2.tar.gz -C /home/koilparampil.bizhat.com/public_html/ --strip-components=1
  
tar xf mediawiki-1.28.1.tar.gz
+
tar xf mediawiki-1.29.2.tar.gz
mv mediawiki-1.28.1 /home/koilparampil.bizhat.com/
+
mv mediawiki-1.29.2 /home/koilparampil.bizhat.com/
  
 
cd /home/koilparampil.bizhat.com/
 
cd /home/koilparampil.bizhat.com/
 
mv public_html public_html-old
 
mv public_html public_html-old
mv mediawiki-1.28.1 public_html
+
mv mediawiki-1.29.2 public_html
  
 
mv public_html/images public_html/images-old
 
mv public_html/images public_html/images-old

Latest revision as of 20:55, 15 November 2017

cd /home/koilparampil.bizhat.com/boby
mysqldump koil_wiki > koil_wiki-`date +%Y-%m-%d`.sql
echo  `date` 'mediawiki-1.29.2.tar.gz' >> version.txt
wget https://releases.wikimedia.org/mediawiki/1.29/mediawiki-1.29.2.tar.gz
# tar xvfz mediawiki-1.29.2.tar.gz -C /home/koilparampil.bizhat.com/public_html/ --strip-components=1

tar xf mediawiki-1.29.2.tar.gz
mv mediawiki-1.29.2 /home/koilparampil.bizhat.com/

cd /home/koilparampil.bizhat.com/
mv public_html public_html-old
mv mediawiki-1.29.2 public_html

mv public_html/images public_html/images-old
mv  public_html-old/images public_html/images
cp -R public_html-old/logo public_html/logo
cp public_html-old/LocalSettings.php public_html

cd /home/koilparampil.bizhat.com/public_html/
composer install

cd /home/koilparampil.bizhat.com/public_html/maintenance/
php update.php --aconf ../AdminSettings.php

Verify page with photo working

http://koilparampil.bizhat.com/COFA



mediawiki