![]() Instructions on how to enable extensions can be found at Manual:Extensions. The current tarball for MediaWiki comes with a package of 15 or so of the most popular extensions, but there are literally hundreds more. See Manual:$wgLogos (1.35+) or Manual:$wgLogo. Sudo nano /var/lib/mediawiki/LocalSettings.php ![]() Gksudo gedit /var/lib/mediawiki/LocalSettings.php The following are changes that appear to be universally helpful Manual:LocalSettings.php has detailed information that may be useful. MediaWiki is configured by the LocalSettings.php file, usually found in /var/lib/mediawiki. Sudo mv ~/Downloads/LocalSettings.php /var/lib/mediawiki/Īnd navigate your browser to (or server_ip_address/mediawiki or server_ip_address/mediawiki/index.php) to see your new wiki.Īdditional wiki configuration General information The configuration page will give the exact directory/filename that must be moved: The configuration process will prompt you to download a LocalSettings.php that must be saved to the parent directory of the new wiki. Giving the mysql root password you configured earlier. Under Database Config, you may change the database name and DB username to new values, but you must turn on "Use superuser account", name: Use the username and password which you provided as above in the mysql configuration section: It may complain that php extensions like mbstring and xml are missing even you have installed them.įill out all the fields in the configuration form and press the continue button. This can solve a lot of problems by specifically identifying the source of any errors. Pay close attention for "Checking environment." in MediaWiki installation script.Sudo ln -s /var/lib/mediawiki /var/www/html/mediawikiįor Debian based systems running apache2, once you create a symbolic link in the /var/ If this gives a 404 error then working a symbolic link should solve the issue. Navigate your browser to (for certain installations it may be or instead) and follow the procedure given. If it is already set to 128M or more, leave it as is. Mysql> GRANT ALL ON my_wiki.* TO OK, 0 rows affected (0.01 sec) GRANT the NEW mysql user access to the NEW created mysql database my_wiki:.Mysql> CREATE USER IDENTIFIED BY 'THISpasswordSHOULDbeCHANGED' create a NEW mysql user (new_mysql_user):Įnter password: Enter password of mysql root user (if you have not configured password it will be blank, so just press enter).Sudo mysqld_safe -skip-grant-tables -skip-networking & On Raspbian, if this is a new installation of mariadb you will also need to run: This can be done from a browser or by command lineīut before proceeding with the initial MediaWiki installation, there are certain steps you need to do first! If you install php-apcu you will have to reload your apache configuration in order to avoid a warning message when running configuration script: Sudo apt-get install php-apcu php-intl imagemagick inkscape php-gd php-cli php-curl php-bcmath git You can install any of the above with sudo apt-get install packagename. In order to make the visualeditor work on 32bit machines, like a raspi If not present config script will tell you that it is not installed Required by some extensions such as Extension:Math. Sometimes it will render SVGs better if originally created in Inkscape.Īlternative to ImageMagick for image thumbnailing.Ībility to run PHP commands from the command line, which is useful for debugging and running maintenance scripts. MediaWiki will fallback to a slower PHP implementation if not available.Īlternative means of SVG thumbnailing, than ImageMagick. Modern MediaWiki versions will automatically take advantage of this being installed for improved performance. These packages are not necessary but may be useful, depending on the installation: Sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |