/opt/
/var/www/html/, w -> /opt/mediawiki-1.14.0
.
wikidb
database, wikiuser
user. (mysql cmd ref)
PHP 5.2.9 installed Found database drivers for: MySQL? PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/var/lib/php/session) appears to be valid. PHP's memory_limit is 128M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Found GNU diff3: /usr/bin/diff3. Couldn't find GD library or ImageMagick?; image thumbnailing disabled. Installation directory: /opt/mediawiki-1.14.0 Script URI path: /w Installing MediaWiki? with php file extensions Environment checked. You can install MediaWiki?. Generating configuration file... Database type: MySQL? Loading class: DatabaseMysql? Attempting to connect to database server as root...success. Connected to mysql 5.1.34; enabling MySQL? 4.1/5.0 charset mode Database wikidb exists Creating tables... done. Initializing statistics... Granting user permissions to wikiuser on wikidb...success. Created sysop account wikiadmin.
mysql -u wikiuser -p
AdminSettings.php
yum install tetex-latex
.
UPGRADE
file: === Perform the file upgrade === Replace the existing MediaWiki files with the new. You should preserve the LocalSettings.php file and the "extensions" and "images" directories. Depending upon your configuration, you may also need to preserve additional directories, including a custom upload directory ($wgUploadDirectory), deleted file archives, and any custom skins.
AdminSettings.php
to top level directory.
./maintenance
directory
php update.php --aconf ../AdminSettings.php
; there were successful checks, but then errors, MediaWikiUpdateDBerrors.
You will need to have $wgDBadminuser and $wgDBadminpassword set in your LocalSettings.php, see there for more info.
So I put it in there, as well as AdminSettings.php. No go.
# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 10 Server version: 5.1.34 MySQL Community Server (GPL) by Remi Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use wikidb; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> grant usage on *.* to wikiuser@localhost identified by 'wikipasswd'; Query OK, 0 rows affected (0.00 sec) mysql>
# mysql -u root -p mysql> grant all privileges on wikidb.* to wikiuser@localhost; mysql> flush privileges; mysql> quit;
=== Check configuration settings === The names of configuration variables, and their default values and purposes, can change between release branches, e.g. $wgDisableUploads in 1.4 is replaced with $wgEnableUploads in later versions. When upgrading, consult the release notes to check for configuration changes which would alter the expected behaviour of MediaWiki.
/var/www/html/, w -> /opt/mediawiki
was missing - added back; however the page fails to load properly - perhaps now an apache configuration has been lost?
/root/backup/itb3-backup/etc/httpd/conf
). Diffing httpd.conf
. They are different. Newer version of Apache has been installed, see http://httpd.apache.org/docs/2.2/
Options FollowSymLinks AllowOverride All
Order deny,allow
. No change. Still getting these in error_log: "client denied by server configuration:"...
# yum install php.x85_64
# yum install php-mysql.x86_64
# service httpd reload
# service httpd reload
mysql> use wikidb; mysql> show tables; mysql> select user_name, user_real_name, user_email from mw_osguser; +-----------+----------------+----------------------+ | user_name | user_real_name | user_email | +-----------+----------------+----------------------+ | Wikiadmin | | | | Rwg | Rob Gardner | rwg@hep.uchicago.edu | +-----------+----------------+----------------------+ 2 rows in set (0.00 sec) mysql>