Bureaucrats, developer, Administrators
9,854
edits
(→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.) |
(+ Made, verified and distributed backups and took a snapshot of the system disk) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== December == | |||
=== Wednesday 2018-12-26 === | |||
* Made, verified and distributed backups and took a snapshot of the system disk. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 19:44, 26 December 2018 (UTC) | |||
== November == | |||
=== Friday 2018-11-16 === | |||
* Snapshotting complete with a downtime of 4 minutes. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 16:35, 16 November 2018 (UTC) | |||
* Machine rebooted to new kernel. Going to take a snapshot of the system disk. This is going to cause a freeze, usually only for 3-4 minutes, but today the snapshotting of the other machine caused a freeze of 24 minutes, so the site may be unavailable for a while. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 15:56, 16 November 2018 (UTC) | |||
* Rebooting the machine to take kernel version 4.9.0-8-amd64 into use. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 15:39, 16 November 2018 (UTC) | |||
* Made, verified and distributed backups. Updated software with apt. There is a new kernel version. Going to reboot an almost identical server with less important sites on it first to see that all goes ok with the new kernel version. After that going to reboot this server for the new kernel version. Expected downtime will be 1-2 minutes. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 14:50, 16 November 2018 (UTC) | |||
=== Thursday 2018-11-08 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 12:59, 8 November 2018 (UTC) | |||
== October == | |||
=== Monday 2018-10-29 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 21:12, 29 October 2018 (UTC) | |||
=== Saturday 2018-10-27 === | |||
* Also took a snapshot of the system disk. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 14:49, 27 October 2018 (UTC) | |||
* Moved the little info on countries that [[Consumerium list of lists]] had to [[Countries of the world]] and am aiming to use that as a central place to add pieces of info on countries. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 14:34, 27 October 2018 (UTC) | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 14:30, 27 October 2018 (UTC) | |||
=== Tuesday 2018-10-23 === | |||
* Today I did a small test to find out how much CPU load affects the power consumption of a laptop. I did this because I have recently resumed contributing my computational resources to the [[w:Berkeley Open Infrastructure for Network Computing]] or BOINC for short and am considering whether to add running BOINC to the things suggested to consumers who stumble upon the development wiki [[Main Page]]. | |||
:When, a Lenovo ThinkPad X230, was being '''mostly idle''' at 20-30% CPU utilization it consumed on average '''30W''' or slightly under and when I put all cores into full labour with the [[w:hardware stress test]] program for Linux aptly named just 'stress' with the parameter '--cpu 4' (the CPU has 4 cores), which causes CPU utilization going to 100%. '''Under full workload''' on the CPU cores the computer used an average of '''40W''' so '''cranking all CPU cores to the max''' causes an approximate '''+35% electricity consumption'''. | |||
:Also tested an another computer, a Dell Inpiron E6220 that had a very low power consumption of around '''17W''' when idle with 10% of CPU in use and the stressing of the CPU to the max caused a much bigger rise in its electricity consumption: It went to '''52W''' so that is a rise of '''+206% electricity consumption''' or '''+35W''' in terms of absolute consumption. | |||
:It is hard to draw a conclusion from a sample of only 2 computers, but it is clear that CPU utilization does play a major role in how much power the computer consumes. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 13:41, 23 October 2018 (UTC) | |||
=== Monday 2018-10-15 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:11, 15 October 2018 (UTC) | |||
=== Friday 2018-10-12 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 14:31, 12 October 2018 (UTC) | |||
* Upgraded the server software with apt. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 14:34, 12 October 2018 (UTC) | |||
== September == | |||
=== Sunday 2018-09-30 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 09:48, 30 September 2018 (UTC) | |||
=== Saturday 2018-09-08 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:23, 9 September 2018 (UTC) | |||
---- | |||
== August == | |||
=== Tuesday 2018-08-28 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 21:09, 28 August 2018 (UTC) | |||
=== Thursday 2018-08-23 === | |||
* There was a slight misconfiguration in the SSL/TLS certs. It is now fixed and it was not anything that would jeopardize the security of the TLS encryption. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 11:48, 23 August 2018 (UTC) | |||
=== Tuesday 2018-08-21 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 17:00, 21 August 2018 (UTC) | |||
=== Wednesday 2018-08-15 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 19:52, 15 August 2018 (UTC) | |||
=== Sunday 2018-08-12 === | |||
* The server time seems to occasionally drift towards the past. This may very well be due to the way the hosting guys' do the snapshotting of the system. The real time clock (RTC) is quite correct but the other clocks drift into the past. I think I'm going to enable NTP to stop this from happening. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:43, 12 August 2018 (UTC) | |||
=== Saturday 2018-08-11 === | |||
* Tested this wiki with [https://gtmetrix.com/reports/develop.consumerium.org/LbQSBGBd gtemetrix.com website tester] and the main suggestions it gave are to add gzipping of content and to utilize / leverage client-side caching so going to look into doing those. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 12:40, 11 August 2018 (UTC) | |||
:::* Update: Enabled gzipping of applicable files with [https://gtmetrix.com/enable-gzip-compression.html these instructions]. The only thing those instructions did not mention was to do a 'sudo a2enmod headers'. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 12:19, 12 August 2018 (UTC) | |||
* I am going to make some small investments in a (yet to be determined) selection of eurozone [[w:Peer-to-peer lending|P2P lending]] services. ([[Lists of alternative financial services|list]]). This will help me become better acquainted with the P2P lending ecosystem. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:59, 11 August 2018 (UTC) | |||
=== Friday 2018-08-10 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:53, 11 August 2018 (UTC) | |||
=== Wednesday 2018-08-08 === | |||
* Made, verified and distributed backups. Wrote a nifty little shell script to automate most parts of the task. Next going to write a script for verifying the backups automatically. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:34, 9 August 2018 (UTC) | |||
=== Friday 2018-08-03 === | |||
* Made, verified and distributed backups. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 09:38, 3 August 2018 (UTC) | |||
== July == | == July == | ||
=== Monday 2018-07-23 === | === Monday 2018-07-23 === | ||
* 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. | |||
* 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)]. You want the latter in order to install LinkedWiki. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 20:28, 23 July 2018 (UTC) | |||
:: '''Update''': [[mw:User:Karima Rafes]] promptly [https://www.mediawiki.org/w/index.php?title=Topic:Uhgoypksk5nul6y4&topic_showPostId=uhgta2fdat172xwy#flow-post-uhgta2fdat172xwy replied to my question on Mediawiki.org] that only the SPARQL editor requires bootstrap and that it is somewhat "experimental". | |||
Note to self: This is what I did to install the LinkedWiki: | Note to self: This is what I did to install the LinkedWiki: | ||
Line 11: | Line 95: | ||
2. install yarn as follows | 2. install yarn as follows | ||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | 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 | 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 | sudo apt-get update && sudo apt-get install yarn | ||
3. install node.js as follows | 3. install node.js as follows | ||
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | ||
sudo apt-get install -y nodejs | sudo apt-get install -y nodejs | ||
4. Install dependencies | 4. Install dependencies | ||
composer install --no-dev | composer install --no-dev | ||
yarn install --production=true | yarn install --production=true | ||
</pre> | </pre> | ||
This warned that bootstrap is not installed, which breaks the experimental SPARQL editor | |||
'''Update''': Installed bootstrap | |||
<pre> | |||
yarn add jquery # dependency of bootstrap | |||
yarn add popper.js # dependency of bootstrap | |||
yarn add bootstrap@4.1.2 | |||
yarn install --production=true | |||
</pre> | |||
and the <pre>yarn install --production=true</pre> run without warnings. Today I'm going to test the LinkedWiki extension to see if it works. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:28, 24 July 2018 (UTC) | |||
=== Sunday 2018-07-15 === | === Sunday 2018-07-15 === |