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

From WebHostingNeeds.com
Jump to: navigation, search
m
m
Line 1: Line 1:
 
2016-11-29
 
2016-11-29
  
<syntaxhighlight lang="bash">
+
<pre>
 
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
Line 27: Line 27:
 
php update.php --aconf ../AdminSettings.php
 
php update.php --aconf ../AdminSettings.php
  
</syntaxhighlight>
+
</pre>
  
 
----
 
----
 
[[mediawiki]]
 
[[mediawiki]]

Revision as of 03:44, 7 April 2017

2016-11-29

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

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

cd /home/koilparampil.bizhat.com/
mv public_html public_html-old
mv  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


mediawiki