![]() Note that account passwords for the main HPC system (raad2) and the GPU cluster (raad2-gfx) are synced in one direction every few minutes. How to Re-set Your Supercomputer Password 1 How to Re-set Your Supercomputer Password.The following assumes the default option $wgPasswordSalt = true. Log in to mysql as root, use your wiki database, and issue the following command using your wiki prefix for the user table name. compared the newly created Localsettings.php with my old (if present) and copied that into /var/lib/wiki, and set the permissions so that it could not be changed by anyone or read by anyone but the www-data (webserver).set all the parameters as before, except using the new mysql passwords as appropriate.made sure /etc/apache2/conf.d has a link to the file above (in /etc/mediawiki/nf).added the following fragment to set up mediawiki with apache2: create/add this in /etc/mediawiki/apache.cnf.used lndir to create links in the new directory.created a new root directory for the wiki (actually several for several wiki's).Mysql> update user set password=PASSWORD("NEWPASSWORD") where User='wikiuser' Mysql> UPDATE er SET Password=PASSWORD('password') WHERE User='root' You can reset root password - stop mysql and start the daemon with no. recreated mysql passwords for the wikiuser and mysql-root.That gave me a hope, and this is what I did: After investigating I found that the content of the wiki remained in the mysql database. Luckily I had the Localhost.php with settings in the old /etc/mediawiki-? directory that was not wiped. Investigation showed that there is a new mediawili installed, wiping almost all of the old configuration, including the /var/lib/mediawiki-? with links. This is what happened: I upgraded Ubuntu to 8.04 and all of a sudden my wiki was unreachable. Make sure that the database name, user and table prefix are different for this wiki. assign the appropriate permissions to directories and.lndir the /var/lib/mediawiki to the new directory,.create a new directory (say wiki2) in the document root.Creating another wiki on the same webserver $wgWhitelistRead = array ( "Main Page", "Special:Userlogin") $wgGroupPermissions = false ĭisable editing and creating pages by anonymous users:ĭisable reading by anonymous users, except for certain pages: In LocalSettings.php (possible locations: /var/lib/mediawiki/, /var/lib/mediawiki/config/, or /etc/mediawiki/)Ĭhange your logo (picture in top-left corner): Now you should be able to access the wiki at Sudo chmod 600 /etc/mediawiki/LocalSettings.php Sudo mv /var/lib/mediawiki/config/LocalSettings.php /etc/mediawiki/LocalSettings.php Check the path below to match your configuration. You may want to enable SSL or be secure in some other way since you will be entering passwords.įinally, move the LocalSettings file to a safe place so anonymous can not read it (the mediawiki mysql pass is in there!). Then visit the website at (or and follow the instructions to create the databases and configure the wiki. You could add it also in /etc/hosts file and point to localhost IP. Note, your server name should be resolvable. BTW, if you get the annoying "Could not reliably determine the server's fully qualified domain name" message on a fresh apache install, then you can edit /etc/apache/sites-available/default and add the ServerName.change the appropriateline in /etc/apache2/conf.d/nf as followsįrom: # Alias /mediawiki /var/lib/mediawiki Remove comment'#' and rename the mediawiki link as needed in /etc/apache2/conf.d/nf, e.g. Sudo apt-get install mediawiki imagemagick mediawiki-math mysql-server 5 Wiki user (Sysop?) password recovery?ĭoing apt-get install mediawiki is not enough.3 Creating another wiki on the same webserver.
0 Comments
Leave a Reply. |