MPKB:Server

from the Macalester Public Knowledge Base

Jump to: navigation, search

MPKB.net runs on a http://bluehost.com server with 4GB of storage space and daily badwidth limit of 5GB.

Both mpkb.org and adelantemac.org are automatically forwarded to this address, in particular mpkb.org, because the .net TLD is not a familiar one to college students.

This page serves as a basic maintenance clearinghouse and a memo to remember future to-do lists relating to the server.

[edit] Related

[edit] Administrative

[edit] Budget

  • $166.80 has been paid to maintain the server from 2005 until May 2nd of 2007 using MCSG funds assigned to ¡Adelante! as capital funds. See Adelante/Budget/Spring 2005.
  • Given that there are 5 add-on domains, were 5 other organizations/groups to join, the cost could be lowered to $21.30/year per group, each with independent domains, from our current $83/year ($166.80 + $8.88/domain x 5 x 2 years (our domain is included in the plan) / 2 years.)
    potential customers running mediawiki: MNFTC
  • the original adelantemac.org server (100mb/2gb) server is already contracted until December 2008. any recycling ideas?

[edit] who can do what

[edit] sharing

addon domains : 0/5
subdomains : 0/20
Project:mailing lists : 14/100

[edit] Technical

[edit] Development ideas

[edit] accounts

  • still using adelantemac@gmail.com for most admin related stuff
  • cPanel: go to http://bluehost.com and sign in with our account
  • shell: 70.96.188.20:22
  • civicspace: mpkbnet

[edit] software

[edit] bugs with the mpkb.net server

moved to Project:Bugs

[edit] CivicSpace installation diffs

[edit] MediaWiki installation diffs

[edit] monobook.php

these codes should be added to the monobook.php every time mediawiki software is upgraded, unless you keep the monobook.php files, but it's just easier to overwrite the file than checking for any new committs to monobook.

[edit] GeoURL
  • between <head> and </head>
<meta name="ICBM" content="44.939965, -93.167725" /> <meta name="DC.title" content="Minnesota Public Knowledge Base" />
[edit] NedStat
  • insert between <?php $this->html('viewcount') ?> and </li><?php } ?>
<!-- Begin Nedstat Basic code --> <!-- Title: Minnesota Public Knowledge Base --> <!-- URL: http://mpkb.net/ --> <script language="JavaScript" type="text/javascript" src="http://m1.nedstatbasic.net/basic.js"> </script> <script language="JavaScript" type="text/javascript" > <!-- nedstatbasic("AC8TfwOCqgGYHNTR7ATxfzUwDDnQ", 0); // --> </script> <noscript> <a target="_blank" href="http://www.nedstatbasic.net/stats?AC8TfwOCqgGYHNTR7ATxfzUwDDnQ"><img src="http://m1.nedstatbasic.net/n?id=AC8TfwOCqgGYHNTR7ATxfzUwDDnQ" border="0" width="18" height="18" alt="Nedstat Basic - Web site estadísticas gratuito El contador para sitios web particulares"></a><br> <a target="_blank" href="http://www.nedstatbasic.net/">Contador gratuito</a> </noscript> <!-- End Nedstat Basic code -->
[edit] referrers
  • before <div id="p-language" class="portlet">
<div id="p-referrer" class="portlet">
 <h5>referrers</h5>
 <div class="pBody">
 <script language="Javascript" src="http://mpkb.net/referrers.js"></script>
 </div>
 </div>

[edit] diff for spanish installation

[edit] Monobook.php
[edit] LocalSettings.php

[edit] localsettings.php

$wgArticlePath      = "/en/$1";
$wgEnableUploads		= true;
$wgNoFollowLinks = false;
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'pdf', 'doc', 'xls',
'odt', 'ods', 'odp', 'ppt', 'mdb', 'hwp', 'txt', 'mic', 'zip', 'rar', 'tif' );
$wgCachePages = false; # Allow client-side caching of pages
$wgUseTrackbacks = true; 
$wgGroupPermissions['user']['delete']          = true;
$wgGroupPermissions['user']['move']            = true;
$wgGroupPermissions['user']['patrol']          = true;
$wgGroupPermissions['user']['protect']         = true;
$wgGroupPermissions['user']['rollback']        = true;
include("extensions/Poem.php");
include("extensions/Inputbox.php");
$wgUseTrackbacks = true;
session_name ("mpkbeng");
[edit] /extensions

[edit] commons

/** * If you operate multiple wikis, you can define a shared upload path here. * Uploads to this wiki will NOT be put there - they will be put into * $wgUploadDirectory. * If $wgUseSharedUploads is set, the wiki will look in the shared repository if * no file of the given name is found in the local repository (for [[Image:..]], * [[Media:..]] links). Thumbnails will also be looked for and generated in this * directory. */ $wgUseSharedUploads = false; /** Full path on the web server where shared uploads can be found */ $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images"; /** Fetch commons image description pages and display them on the local wiki? */ $wgFetchCommonsDescriptions = false; /** Path on the file system where shared uploads can be found. */ $wgSharedUploadDirectory = "/var/www/wiki3/images"; /** DB name with metadata about shared directory. Set this to false if the uploads do not come from a wiki. */ $wgSharedUploadDBname = false; /** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */ $wgCacheSharedUploads = true; /** * Point the upload navigation link to an external URL * Useful if you want to use a shared repository by default * without disabling local uploads * e.g. $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload'; */ $wgUploadNavigationUrl = false; /** * Give a path here to use thumb.php for thumbnail generation on client request, instead of * generating them on render and outputting a static URL. This is necessary if some of your * apache servers don't have read/write access to the thumbnail path. * * Example: * $wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php"; */ $wgThumbnailScriptPath = false; $wgSharedThumbnailScriptPath = false; /** * Set the following to false especially if you have a set of files that need to * be accessible by all wikis, and you do not want to use the hash (path/a/aa/) * directory layout. */ $wgHashedSharedUploadDirectory = true; /** * Base URL for a repository wiki. Leave this blank if uploads are just stored * in a shared directory and not meant to be accessible through a separate wiki. * Otherwise the image description pages on the local wiki will link to the * image description page on this wiki. * * Please specify the namespace, as in the example below. */ $wgRepositoryBaseUrl="http://commons.wikimedia.org/wiki/Image:";

[edit] other defaultsettings.php stuff

/** * To set 'pretty' URL paths for actions other than * plain page views, add to this array. For instance: * 'edit' => "$wgScriptPath/edit/$1" * * There must be an appropriate script or rewrite rule * in place to handle these URLs. */ $wgActionPaths = array();

[edit] Capacity

Badwidth 
as of May 2005, the site receives 150 visits and uses 30MB of bandwidth a day. Traffic originates primarily from the United States (in particular Macalester) but some connections are caught from the European Union and Mexico. The large bandwidth allowance implies, that transfer speed allowing, the site could host streaming video for conferences in the future.
Storage 
80MB of storage have been used, which split as 20MB in images, 30MB in MediaWiki database (primarily edit history) and the rest in CivicSpace and the MediaWiki software. The 30MB is excessive for just four months of low-traffic editing; it is expected that version 1.5 of MediaWiki, scheduled for release on June 1st of 2005, will introduce a more efficient database schema.
Personal tools
macalester
In other languages