Difference between revisions of "upgrade mediawiki on webhostingneeds.com"

From WebHostingNeeds.com
Jump to: navigation, search
m
m
Line 4: Line 4:
  
 
<pre>
 
<pre>
 +
 
cd /home/webhostingneeds.com/boby
 
cd /home/webhostingneeds.com/boby
 +
wget https://releases.wikimedia.org/mediawiki/1.28/mediawiki-1.28.1.tar.gz
 
mysqldump webhostingneeds > webhostingneeds-`date +%Y-%m-%d`.sql
 
mysqldump webhostingneeds > webhostingneeds-`date +%Y-%m-%d`.sql
wget https://releases.wikimedia.org/mediawiki/1.28/mediawiki-1.28.0.tar.gz
+
echo  `date` 'mediawiki-1.28.1.tar.gz' >> version.txt
echo  `date` 'mediawiki-1.28.0.tar.gz' >> version.txt
+
tar xvfz mediawiki-1.28.1.tar.gz -C /home/webhostingneeds.com/public_html/ --strip-components=1
tar xvfz mediawiki-1.28.0.tar.gz -C /home/webhostingneeds.com/public_html/ --strip-components=1
 
  
 
cd /home/webhostingneeds.com/public_html
 
cd /home/webhostingneeds.com/public_html
mv vendor vendor-old
+
rm -rf vendor
 
composer self-update
 
composer self-update
 
composer install
 
composer install
Line 17: Line 18:
 
cd /home/webhostingneeds.com/public_html/maintenance/
 
cd /home/webhostingneeds.com/public_html/maintenance/
 
php update.php --aconf ../AdminSettings.php
 
php update.php --aconf ../AdminSettings.php
 +
  
 
</pre>
 
</pre>

Revision as of 03:58, 7 April 2017

Upgrade MediaWiki on webhostingneeds.com

s70 (cloud1.hostonnet.com)

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

cd /home/webhostingneeds.com/public_html
rm -rf vendor
composer self-update
composer install

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




mediawiki