User:Jukeboksi/Blog/2018: Difference between revisions

→‎Monday 2018-07-23: + Installed mw:Extension:LinkedWiki on the test wiki, but not quite sure if it is properly installed now as I got some warnings when installing dependencies with yarn.
(→‎Monday 2018-07-23: Wiki was configured slightly wrong leading to some elements in the pages not being https-protected. Now fixed.)
(→‎Monday 2018-07-23: + Installed mw:Extension:LinkedWiki on the test wiki, but not quite sure if it is properly installed now as I got some warnings when installing dependencies with yarn.)
Line 3: Line 3:
* Made, verified and distributed backups and also took a snapshot of the system disk. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 11:09, 23 July 2018 (UTC)
* Made, verified and distributed backups and also took a snapshot of the system disk. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 11:09, 23 July 2018 (UTC)
* Noticed the "change password" in preferences was warning about the password being sent over unencrypted .. After a little while of disbelief I checked the page source and there were a few 'http://' items there. Then checked the LocalSettings.php and in fact there were a few 'http://' values hardcoded back from setting the wiki family up. Sorry about that. Corrected those and now everything is TLS/SSL protected. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 16:51, 23 July 2018 (UTC)
* Noticed the "change password" in preferences was warning about the password being sent over unencrypted .. After a little while of disbelief I checked the page source and there were a few 'http://' items there. Then checked the LocalSettings.php and in fact there were a few 'http://' values hardcoded back from setting the wiki family up. Sorry about that. Corrected those and now everything is TLS/SSL protected. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 16:51, 23 July 2018 (UTC)
* Installed [[mw:Extension:LinkedWiki]] on the [[test wiki]], but not quite sure if it is properly installed now as I got [https://www.mediawiki.org/wiki/Topic:Uhgoypksk5nul6y4 some warnings] when installing dependencies with yarn.
:::: Note to people who want to try installing LinkedWiki: [https://packages.debian.org/stable/yarn yarn from standard Debian repositories (a tool to test command line programs)] '''is not''' the '''[https://yarnpkg.com/lang/en/ yarn (package manager)]''' that you want in order to install LinkedWiki, but a totally different program. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 20:28, 23 July 2018 (UTC)
Note to self: This is what I did to install the LinkedWiki:
<pre>
1. wget the LinkedWiki-extension,  untar and cd to the directory LinkedWiki
2. install yarn as follows
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
3. install node.js as follows
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
4. Install dependencies
composer install --no-dev
yarn install --production=true
</pre>


=== Sunday 2018-07-15 ===
=== Sunday 2018-07-15 ===
9,854

edits