Main page
New page
Upload file
Help
Community portal
Recent changes
Talk
Contributions
Create account
Enable dark mode
Enable read mode
Log in
View history
What links here
Related changes
Page information
Editing
Appropedia:Site development/Upgrade checklist
From Appropedia
Warning!
You are not logged in.
Log in
or
create an account
to have your edits attributed to your username rather than your IP, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Archived notice}} == Pre Upgrade List == == Steps taken in upgrate to 1.9.2 == #Tested the latest domian backup by untaring it to a test directory. Everything looked okay. Deleted the test directory. Renamed today's domain and database backups to be different than the pre-update backup. #cd ~/appropedia.org #mkdir ~/appropedia.org/preserve #cp LocalSettings.php ~/appropedia.org/preserve/LocalSettings.php #Run backup scripts for domain and database #* cd ~/backups #* ./appropedia.sh #* ./mysql.sh #cd ~/ #wget http://download.wikimedia.org/mediawiki/1.9/mediawiki-1.9.2.tar.gz #gunzip -c mediawiki-1.9.2.tar.gz | tar -xf - #cd mediawiki-1.9.2 #mv AdminSettings.sample AdminSettings.php #vi AdminSettings.php #: Correct these lines #:* $wgDBadminuser = '*******'; #:* $wgDBadminpassword = '*********'; #cp -R * ~/appropedia.org/ #cd ~/appropedia.org #Check version number to confirm successful recursive copy (cp -R *) #* vi RELEASE-NOTES #/usr/local/php5/bin/php ~/appropedia.org/maintenance/update.php #rm -r preserve That should be it. Recommended: Test the update, Upgrade extensions. Follow the Post Upgrade List below. 1.9.2 upgrade by -[[User:GoodSignal|GoodSignal]] 01:55, 17 February 2007 (PST) == Post Upgrade List == ===Google Analytics=== Replace Google analytics code into current skin. Add it right above <nowiki></body></html></nowiki>: <tt><nowiki><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></nowiki></tt> <tt><nowiki></script></nowiki></tt> <tt><nowiki><script type="text/javascript"></nowiki></tt> <tt><nowiki>_uacct = "UA-761261-1";</nowiki></tt> <tt><nowiki>urchinTracker();</nowiki></tt> <tt><nowiki></script></nowiki></tt> --[[User:Lonny|Lonny]] 02:33, 17 February 2007 (PST) ===Social links=== Add back into the MonoBook.php, the following just after: <nowiki></div><!-- end of the left (by default at least) column --> </nowiki> <nowiki> <div class="visualClear"></div> </nowiki> <pre> <!-- Start Monobook Bookmarklets, originally created by Jon Rees, Oxford Informatics, adapted by Lonny //--> <div class="pBody" align="right"> <?php $this_url = htmlspecialchars($this->data['content_actions']['nstab-main']['href']) ?> <?php $this_url = 'https://www.appropedia.org'.$this_url ?> <a href="http://www.hugg.com/submit?url=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Hugg this page"><img src='https://www.appropedia.org/images/bookmarklets/hugg.gif' border="0"></a> <a href="http://digg.com/submit?phase=2&url=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Digg us"><img src='https://www.appropedia.org/images/bookmarklets/digg.png' border="0"></a> <a href="http://technorati.com/faves/?add=<?php echo $this_url ?>" title="Add our site to your technorati bookmarks!"><img src='https://www.appropedia.org/images/bookmarklets/technorati.png' border="0"></a> <a href="http://del.icio.us/post?url=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Add our site to your del.icio.us bookmarks!"><img src='https://www.appropedia.org/images/bookmarklets/delicious.png' border="0"></a> <a href="http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Add our site to your Google bookmarks!"><img src='https://www.appropedia.org/images/bookmarklets/google.png' border="0"></a> <a href="http://reddit.com/submit?url=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Add our site to your reddit bookmarks!"><img src='https://www.appropedia.org/images/bookmarklets/reddit.png' border="0"></a> <a href="http://blogmarks.net/my/new.php?mini=1&simple=1&url=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Add our site to your blogmark bookmarks!"><img src='https://www.appropedia.org/images/bookmarklets/blogmarks.png' border="0"></a> <a href="http://bluedot.us/Authoring.aspx?u=<?php echo $this_url ?>&title=<?php $this->text('title') ?>" title="Add our site to your blue dot bookmarks!"><img src='https://www.appropedia.org/images/bookmarklets/bluedot.png' border="0"></a> <a href="http://feeds.feedburner.com/AppropediaRC" rel="alternate" type="application/rss+xml"><img src="https://www.appropedia.org/images/bookmarklets/feed-icon16x16.png" alt="Subscribe" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/AppropediaRC" rel="alternate" type="application/rss+xml">Subscribe</a> </div> <!-- Ends Monobook Bookmarklets, originally created by Jon Rees, Oxford Informatics, adapted by Lonny //--> </pre> --[[User:Lonny|Lonny]] 03:25, 17 February 2007 (PST) ==Updated to 1.13== ;dump database :mysqldump -uadb.. -pPASSWORD -h mysql.appropedia.org appropedia > backups/archives/appropedia.10508 ;zip it (could do this using a tag with the dump) :gzip appropedia.10508 ;save it off site ;run update site from within goodies in Dreamhost ;cp AdminSettings.sample AdminSettings.php :(Optional) Type this command to hide your file from casual snooping: chmod 640 AdminSettings.php :Edit the appropriate lines in this file with the username and password for your Mediawiki's MySQL database ;cd maintenance/ ;/usr/local/php5/bin/php update.php ("Deleting old default messages" may take 5-10 minutes, depending on the size of your database) ;Add this just before <nowiki></body></html></nowiki> in MonoBook.php <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-761261-1"; urchinTracker(); </script> ;Add this somewhere: <!-- AddThis Bookmark Button BEGIN --> <script type="text/javascript"> addthis_url = location.href; addthis_title = document.title; addthis_pub = 'lonny'; </script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script> <!-- AddThis Bookmark Button END -->
Summary:
Warning!
All contributions to Appropedia are released under the CC-BY-SA-4.0 license unless otherwise noted (see
Appropedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here! You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted material without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
MediaWiki:TemplateNotice.js
(
view source
)
Template:Archived notice
(
edit
)
Template:EXISTS
(
edit
)
Template:Notice
(
view source
) (protected)
Template:Notice/styles.css
(
edit
)
Module:Appropedia
(
edit
)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
OK
Discussion