DaqWikiManagement: Difference between revisions
Jump to navigation
Jump to search
m (→Install (el7)) |
m (→Install (el7)) |
||
Line 46: | Line 46: | ||
rpm -q mariadb ### mariadb-5.5.56-2.el7.x86_64 | rpm -q mariadb ### mariadb-5.5.56-2.el7.x86_64 | ||
systemctl enable mariadb | |||
systemctl start mariadb | systemctl start mariadb | ||
mysql_secure_installation | mysql_secure_installation | ||
# set root password | # set root password |
Revision as of 16:32, 4 January 2018
Links
Install (el7)
ssh ladd00 cd ~daqweb/mediawiki rsync -av DaqWiki daqstore:/var/www/html/ ssh daqstore cd /var/www/html mv DaqWiki/core AgWiki cd AgWiki git fetch git checkout REL1_30 cd skins/Vector git fetch git checkout REL1_30 cd extensions/WebEditor git fetch git checkout REL1_30 open https://daqstore.triumf.ca/AgWiki/ - should give an internal error, a php exception edit LocalSettings.php
do the composer stuff
get the composer: https://getcomposer.org/download/ cd AgWiki ../composer.phar update open https://daqstore.triumf.ca/AgWiki/ - should give an error - cannot connect to the database
configure mysql
yum install php71w-mysql rpm -q mariadb ### mariadb-5.5.56-2.el7.x86_64 systemctl enable mariadb systemctl start mariadb mysql_secure_installation # set root password # accept all default answers mysql -p ### enter the root password create database `AgWiki`; create user `agwiki` identified by `agwiki123`; GRANT USAGE ON *.* TO 'aguser'@localhost IDENTIFIED BY 'aguser123'; GRANT ALL privileges ON `AgWiki`.* TO 'aguser'@localhost; FLUSH PRIVILEGES; show grants for 'aguser'@localhost; exit enter these database settings to LocalSettings.php
Misc
- MediaWiki:Sidebar edit the navigation side bar