Difference between revisions of "Jessie"
(Created page with " test apache http://localhost/ test mysql mysql -h 127.0.0.1 -u root -p Uncomment the alias line in /etc/mediawiki/apache.conf Alias /mediawiki /var/lib/mediawiki sudo nan...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[/etc/]] - - - -- [[package list]] | ||
test apache | test apache | ||
− | http://localhost/ | + | * http://localhost/ |
test mysql | test mysql | ||
− | mysql -h 127.0.0.1 -u root -p | + | * mysql -h 127.0.0.1 -u root -p |
− | Uncomment the alias line in /etc/mediawiki/apache.conf | + | Uncomment the alias line in [[/etc/mediawiki/apache.conf]] - - - - [[/etc/mediawiki/]] |
− | Alias /mediawiki /var/lib/mediawiki | + | Alias /mediawiki /var/lib/mediawiki - - - - [[/var/lib/]] |
− | sudo nano /etc/mediawiki/apache.conf | + | * sudo nano /etc/mediawiki/apache.conf |
test mediawiki | test mediawiki | ||
− | http://localhost/mediawiki | + | * http://localhost/mediawiki |
− | + | ** I get NOT found - no set up script | |
+ | test permissions | ||
+ | * ls -l | ||
------------------ | ------------------ | ||
Line 23: | Line 26: | ||
to fit in with the odd things Debian does to Apache. | to fit in with the odd things Debian does to Apache. | ||
− | + | [[httpd.conf]] in [[/etc/apache2/]] | |
− | |||
− | |||
− | + | [[htdocs]] in [[/var/www/]] (default) | |
− | + | ||
+ | logs in [[/var/log/apache2/]] (default) | ||
+ | |||
+ | |||
+ | Apache rules are added in [[/etc/mediawiki/apache.conf]] - - - - [[/etc/mediawiki/]] | ||
+ | |||
+ | The installer tells you to move the wiki configuration to [[/etc/mediawiki/LocalSettings.php]] - - [[LocalSettings.php]] | ||
1-1-16 never get to installer - http://localhost/mediawiki | 1-1-16 never get to installer - http://localhost/mediawiki | ||
− | + | * Not found | |
+ | |||
+ | The MediaWiki code is in [[/usr/share/mediawiki/]] but | ||
+ | |||
+ | [[LocalSettings.php]] and [[AdminSettings.php]] are symlinks | ||
− | |||
− | |||
to [[/etc/mediawiki/LocalSettings.php]] and [[/etc/mediawiki/AdminSettings.php]] | to [[/etc/mediawiki/LocalSettings.php]] and [[/etc/mediawiki/AdminSettings.php]] | ||
− | + | [[config/]] [[extensions/]] and [[images/]] are symlinks | |
+ | |||
to [[/var/lib/mediawiki/config/]] etc. | to [[/var/lib/mediawiki/config/]] etc. | ||
− | + | [[/var/lib/mediawiki/]] has [[config/]] [[extensions/]] and [[Images/]] | |
+ | |||
along with symlinks back to [[/usr/share/mediawiki/includes/]] [[/usr/share/mediawiki/index.php]] etc. | along with symlinks back to [[/usr/share/mediawiki/includes/]] [[/usr/share/mediawiki/index.php]] etc. |
Latest revision as of 22:38, 3 January 2016
/etc/ - - - -- package list
test apache
test mysql
- mysql -h 127.0.0.1 -u root -p
Uncomment the alias line in /etc/mediawiki/apache.conf - - - - /etc/mediawiki/
Alias /mediawiki /var/lib/mediawiki - - - - /var/lib/
- sudo nano /etc/mediawiki/apache.conf
test mediawiki
- http://localhost/mediawiki
- I get NOT found - no set up script
test permissions
- ls -l
The Debian package does some odd things to MediaWiki
to fit in with the odd things Debian does to Apache.
logs in /var/log/apache2/ (default)
Apache rules are added in /etc/mediawiki/apache.conf - - - - /etc/mediawiki/
The installer tells you to move the wiki configuration to /etc/mediawiki/LocalSettings.php - - LocalSettings.php
1-1-16 never get to installer - http://localhost/mediawiki
- Not found
The MediaWiki code is in /usr/share/mediawiki/ but
LocalSettings.php and AdminSettings.php are symlinks
to /etc/mediawiki/LocalSettings.php and /etc/mediawiki/AdminSettings.php
config/ extensions/ and images/ are symlinks
to /var/lib/mediawiki/config/ etc.
/var/lib/mediawiki/ has config/ extensions/ and Images/
along with symlinks back to /usr/share/mediawiki/includes/ /usr/share/mediawiki/index.php etc.