Difference between revisions of "About"

From Networks of Care
Jump to navigation Jump to search
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
  
.toc {
+
h1{
  display: block;
+
display: none;
 
}
 
}
  
}}
+
.mw-body-content p:nth-of-type(1){
 +
margin-top: 0;
 +
}
  
 +
.mw-body-content p, .mw-body-content  ul{
 +
max-width: 70%;
 +
}
  
==Setting up my raspberry pi==
+
img {
 
+
width: 29vw;
In my computer:
+
height: auto;
 
+
}
'''SD card'''
+
}}
 
 
1. Format for FAT32 (I used disk utility on mac. Format to MS_DOS). Use more than 8gb, mediawiki can become heavy.
 
 
 
 
 
2. Flash ISO to SD card (Raspbian Buster Light, https://www.raspberrypi.org/downloads/raspbian/ ) with a mounter (I've used etcher https://www.balena.io/etcher/ )
 
 
 
 
 
With raspi connected to power, internet, screen and keyboard:
 
 
 
'''01 Default login'''
 
 
 
Login: pi
 
 
 
Password: raspberry
 
 
 
 
 
'''02 SSH config'''
 
 
 
    $ cd /boot
 
 
 
    $ sudo touch ssh
 
 
 
    $ sudo reboot
 
 
 
 
 
'''03 Check IP address'''
 
 
 
    $ hostname -i
 
 
 
Response: 192.0.0.0
 
 
 
 
 
'''04 My keyboard wasn't working properly.'''
 
 
 
I had to change language of keyboard to US instead of UK.
 
 
 
    $ sudo raspi-config
 
 
 
    Localisation Options
 
 
 
    Change Keyboard Layout
 
 
 
    Choose US
 
 
 
After using the keyboard I changed back to UK to avoid errors.
 
 
 
 
 
'''05 Change hostname'''
 
 
 
    $ ssh pi@192.0.0.0
 
 
 
    $ sudo raspi-config
 
 
 
    Choose item no. 2 on the menu: Network Options
 
 
 
    Rename hostname to: newhostname
 
 
 
    $ reboot
 
 
 
 
 
'''06 Add user'''
 
 
 
    $ sudo adduser name
 
 
 
 
 
'''07 Add new user to sudo'''
 
 
 
    $ sudo adduser name sudo
 
 
 
 
 
'''08 You should be able to login with:'''
 
 
 
    $ ssh name@newhostname
 
 
 
 
 
'''09 I had an error with known hosts.'''
 
I removed cached key on my computer:
 
 
 
    $ ssh-keygen -R 192.000.0.000
 
 
 
 
 
'''10 Remove default pi user'''
 
 
 
    $ sudo deluser pi
 
 
 
 
 
'''10 Use key-based authentication:'''
 
 
 
 
 
'''10.1 Add .ssh keys to RPI'''
 
 
 
https://www.raspberrypi.org/documentation/remote-access/ssh/passwordless.md#copy-your-public-key-to-your-raspberry-pi
 
 
 
 
 
'''10.2 Edit file'''
 
    $ sudo nano /etc/ssh/sshd_config
 
 
 
    Uncomment PassowrdAuthentication and set it to no;
 
 
 
    Uncomment PermitRootLogin prohibit-passowrd;
 
 
 
 
 
'''10.3 Reload SSH'''
 
 
 
    $ sudo /etc/init.d/ssh restart
 
 
 
 
 
'''10.4 Reboot RPi'''
 
 
 
    $ sudo reboot
 
 
 
 
 
'''10.5 In my computer:'''
 
 
 
    $ cd ~/.ssh
 
 
 
    $ sudo nano config
 
 
 
 
 
Add to the document:
 
 
 
    Host newhostname
 
        User name
 
        Hostname 192.000.0.0
 
        Port 22
 
        Identityfile /Users/ritagraca/.ssh/id_rsa
 
        Serveraliveinterval 30
 
 
 
 
 
'''10.6 To ssh to my pi now:'''
 
 
 
    $ ssh newhostname
 
 
 
 
 
'''11. Set static ip address for LAN'''
 
 
 
    $ sudo nano /etc/dhcpcd.conf
 
 
 
 
 
Edit this part:
 
 
 
    #Static IP text block
 
        interface eth0
 
        static ip_address=192.000.0.00
 
        static routers=192.000.0.0
 
        static domain_name_servers=8.8.8.8 8.8.4.4
 
 
 
 
 
Note:
 
 
 
I shut down my pi, IP changed and couldn't ssh to it. If this happened already, connect pi again to screen, find new IP with $ config command, and put new IP in ~/.ssh, step 10.5.
 
 
 
 
 
==Installing Mediawiki on my pi==
 
 
 
 
 
'''1. Install Apache'''
 
 
 
    $ sudo apt update
 
 
 
    $ sudo apt install apache2 -y
 
 
 
 
 
'''2. Download Mediawiki'''
 
 
 
    $ mkdir Downloads
 
 
 
    $ cd Downloads
 
 
 
    $ wget https://releases.wikimedia.org/mediawiki/1.34/mediawiki-1.34.0.tar.gz (check the version)
 
 
 
    $ tar -xvzf mediawiki-1.34.0.tar.gz
 
 
 
 
 
'''3. Move'''
 
 
 
    $ sudo mkdir /var/lib/mediawiki
 
 
 
    $ sudo mv mediawiki-*/* /var/lib/mediawiki
 
 
 
 
 
'''4. Linking'''
 
 
 
    $ cd /var/www/html
 
 
 
    $ sudo ln -s /var/lib/mediawiki mediawiki
 
 
 
 
 
'''5. Updating'''
 
 
 
    $ sudo apt-get update
 
 
 
    $ sudo apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring
 
 
 
 
 
'''5.1 Error: Package 'mysql-server' has no installation candidate'''
 
 
 
Fix with:
 
 
 
    $ sudo apt install mariadb-server-10.3 php-mysql
 
 
 
 
 
'''5.2 Error: MySQL didn't ask for password so:'''
 
 
 
    $ sudo mysql_secure_installation
 
 
 
It will ask for password now.
 
 
 
 
 
'''6. Database'''
 
 
 
    $ sudo mysql -u root -p
 
 
 
Enter password.
 
Type:
 
 
 
    mysql> CREATE DATABASE wiki;
 
    mysql> USE wiki;
 
 
 
    mysql> CREATE USER 'name'@'localhost' IDENTIFIED BY 'yourpassword';
 
    mysql> GRANT ALL PRIVILEGES ON wiki.* TO 'name'@'localhost';
 
    mysql> FLUSH PRIVILEGES;
 
    mysql> quit
 
 
 
 
 
'''7. Open browser'''
 
 
 
    http://ip_address_of_pi/mediawiki
 
 
 
On the website, it will ask for database connection settings:
 
 
 
    localhost
 
    database: wiki
 
    user: name
 
    password: yourpassword
 
 
 
Continue installation.
 
 
 
 
 
'''8. After setting up, it will ask to save LocalSettings.php. Download to your computer.'''
 
 
 
 
 
'''9. Move file from your computer to pi.'''
 
 
 
In your computer:
 
 
 
    $ scp LocalSettings.php name@hostname:/home/name/Downloads
 
 
 
 
 
'''10. Move from pi to the right place.'''
 
 
 
In your pi:
 
 
 
    $ sudo mv ~/Downloads/LocalSettings.php /var/lib/mediawiki/
 
 
 
 
 
some more help to setup mediawiki http://willbeone-techtips.co.za/2018/02/12/installing-mediawiki-raspberry-pi3/
 
 
 
== Extension Semantic MediaWiki ==
 
 
 
'''1. Download composer'''
 
 
 
More here https://getcomposer.org/doc/00-intro.md#installation-nix
 
 
 
 
 
'''1.1 Download the installer to the current directory'''
 
 
 
    $ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 
 
 
 
 
'''1.2 Verify the installer SHA-384'''
 
 
 
    $ php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
 
 
 
 
 
'''1.3 Run the installer'''
 
 
 
    $ php composer-setup.php
 
 
 
 
 
'''1.4 Remove the installer'''
 
 
 
    $ php -r "unlink('composer-setup.php');"
 
 
 
 
 
'''1.5 Global Access'''
 
 
 
Now that I have composer.phar, I will put it in /usr/local/bin to have global access.
 
 
 
    $ sudo mv composer.phar /usr/local/bin/composer
 
 
 
This means that instead of starting with $ php composer.phar, I just write $ composer.
 
 
 
Some more help to install composer https://www.semantic-mediawiki.org/wiki/Help:Installation/Using_Composer_with_MediaWiki_1.25%2B
 
 
 
 
 
'''2. Create and edit the file composer.local.json in /var/www/html/mediawiki.'''
 
 
 
    $ cd /var/www/html/mediawiki
 
 
 
    $ sudo nano composer.local.json
 
 
 
 
 
paste this code:
 
 
 
    {
 
            "require": {
 
                      "mediawiki/semantic-media-wiki": "~3.1"
 
            }
 
    }
 
 
 
  
'''3. Run the update script'''
+
<div style="width: 30vw; float: left;"> [[File:About.jpg|frameless|left]] </div>
  
    $ composer update --no-dev
+
<div style="margin-left: 30vw; width: 70vw;">
 +
==Networks==
  
 +
Managing an online community is difficult. It requires a collective understanding of how people want to be together and how to deal with conflict. These challenges motivated different groups to create and apply informal rules to their networks. They are published online as user guidelines, community rules, collaboration protocols, network etiquette, community covenants, a group pact, a collective agreement, a Code of Conduct. These guidelines aim for comfortable interactions between the members; they set expectations for users, put in evidence the values of a community, making explicit which behaviours are allowed or discouraged, possibly decreasing unwanted hate. They can help to deal with internal and exterior abuses, especially when the documents are upheld by a network of people who acknowledges the differences in privilege, power, experiences, money and time of different users.
  
'''3.1 Change permissions:'''
+
==of Care==
  
Gives error:
+
Discussing Codes of Conduct isn't only considering the potential of text, but recognising the labour intensive routines that imply human effort and involve the community. The caretakers are essential — to write the guidelines, to manage reports, to moderate, to document, to listen, to grant support. A Code of Conduct also needs visibility and a plan for distribution. Furthermore, the desire to share different guidelines from corporate-owned social platforms requires other competencies, such as moving to other platforms, or self-hosting our social groups. Care work is highly skilled, and it needs to be further discussed, recognised and cherished.
  
    file_put_contents(./composer.lock): failed to open stream: Permission denied
+
== — a field guide ==
  
Give permissions:
+
This field guide will lead you through the attempts, accomplishments and missteps of moderators, writers, users and custodians of social networks. It collects and comments on existing Codes of Conduct, listens to different experiences, and proposes other projects to explore. The field guide goes through the work of artists, designers, libre and open software enthusiasts, feminists and LGBTQ users, aiming to facilitate future work for other circles. It's exciting to consider which gestures may contribute to increasing autonomy and cooperation in digital platforms, whether Codes of Conduct can be useful to reduce hate and improve interactions, or even desirable. Let's explore the networks of care generated together.
  
    $ chmod -R 777 ./
 
  
 +
==Structure==
  
'''4. Maintenance script'''
+
Networks of Care is divided into three parts.  
  
    $ php maintenance/update.php
+
[https://hub.xpub.nl/networksofcare/mediawiki/index.php?title=Category:Archiving Archiving] — to collect and annotate Codes of Conduct, creating a collection that is possible to browse, dissect and analyse.
  
 +
[https://hub.xpub.nl/networksofcare/mediawiki/index.php?title=Category:Networking Networking] — to interview and document the work of moderators, writers of Codes of Conduct, facilitators, community members and networks' administrators.
  
'''5. Enable Semantic MediaWiki on LocalSetting.php'''
+
[https://hub.xpub.nl/networksofcare/mediawiki/index.php?title=Category:Linking Linking] — to point other ways forward, useful templates, resources, and experiments.
  
Write in the end of the file:
 
  
    enableSemantics( ' http://192.000.0.0/mediawiki/ ' );
+
==Images==
  
 +
The images that appear throughout this project are cyanographic prints. A guide to the printing and creation process is shown [[Images|in this page]].
  
'''6. Repeat step 4.'''
 
  
I had a error with database. I had to run the update script again.
+
==Technical Documentation==
If when running this script there's error with permissions, just change permissions, step 3.1
 
  
 +
Technical knowledge is relevant to:
  
'''7. Uploading files to the server'''
+
*use moderation tools
 +
*adapt, fork, customise moderation tools
 +
*create new tools
 +
*adapt, fork, customise social platforms
 +
*create new platforms
 +
*use software and hardware
 +
*question autonomy
 +
*experiment with protocols
 +
*self-host
 +
*understand tutorials
 +
*write and send reports
  
Check first folder permissions, and change if necessary:
 
  
    $ chmod -R 777 ./
+
These actions can be challenging. Networks of Care goes through a few of these technical hurdles, documenting along the way the experience of creating and maintaining this project.
  
 +
Networks of Care is hosted on a Raspberry Pi and uses MediaWiki software to organise the content. It uses extensions such as Semantic MediaWiki and Page Forms. The main page shows a diagram that uses the API to get access to wiki features. It also uses Leaflet, a JavaScript library.
  
To allow bigger files:
+
[[Technical_documentation|Here is the detailed Technical Documentation]].
  
'''7.1. Edit this file'''
 
        $ sudo nano /etc/nginx/nginx.conf
 
  
 +
==Contacts==
  
'''7.2 Add this in the bottom of the http part:'''
+
This work has been produced in the context of the graduation research of [http://www.ritagraca.com Rita Graça] from the Experimental Publishing (XPUB) Master course at the Piet Zwart Institute, Willem de Kooning Academy, Rotterdam, University of Applied Sciences.
  
        # set client body size to 2M
+
XPUB is a two year Master of Arts in Fine Art and Design that focuses on the intents, means and consequences of making things public and creating publics in the age of post-digital networks.
        # client_max_body_size 2M;
 
  
 +
https://xpub.nl
  
'''7.3 Reload the server'''
 
        $ service nginx
 
        reload
 
  
== Understanding and using Semantic MediaWiki ==
+
</div>
 +
<div style="clear: both;"> </div>

Latest revision as of 10:25, 15 July 2020


About.jpg

Networks

Managing an online community is difficult. It requires a collective understanding of how people want to be together and how to deal with conflict. These challenges motivated different groups to create and apply informal rules to their networks. They are published online as user guidelines, community rules, collaboration protocols, network etiquette, community covenants, a group pact, a collective agreement, a Code of Conduct. These guidelines aim for comfortable interactions between the members; they set expectations for users, put in evidence the values of a community, making explicit which behaviours are allowed or discouraged, possibly decreasing unwanted hate. They can help to deal with internal and exterior abuses, especially when the documents are upheld by a network of people who acknowledges the differences in privilege, power, experiences, money and time of different users.

of Care

Discussing Codes of Conduct isn't only considering the potential of text, but recognising the labour intensive routines that imply human effort and involve the community. The caretakers are essential — to write the guidelines, to manage reports, to moderate, to document, to listen, to grant support. A Code of Conduct also needs visibility and a plan for distribution. Furthermore, the desire to share different guidelines from corporate-owned social platforms requires other competencies, such as moving to other platforms, or self-hosting our social groups. Care work is highly skilled, and it needs to be further discussed, recognised and cherished.

— a field guide

This field guide will lead you through the attempts, accomplishments and missteps of moderators, writers, users and custodians of social networks. It collects and comments on existing Codes of Conduct, listens to different experiences, and proposes other projects to explore. The field guide goes through the work of artists, designers, libre and open software enthusiasts, feminists and LGBTQ users, aiming to facilitate future work for other circles. It's exciting to consider which gestures may contribute to increasing autonomy and cooperation in digital platforms, whether Codes of Conduct can be useful to reduce hate and improve interactions, or even desirable. Let's explore the networks of care generated together.


Structure

Networks of Care is divided into three parts.

Archiving — to collect and annotate Codes of Conduct, creating a collection that is possible to browse, dissect and analyse.

Networking — to interview and document the work of moderators, writers of Codes of Conduct, facilitators, community members and networks' administrators.

Linking — to point other ways forward, useful templates, resources, and experiments.


Images

The images that appear throughout this project are cyanographic prints. A guide to the printing and creation process is shown in this page.


Technical Documentation

Technical knowledge is relevant to:

  • use moderation tools
  • adapt, fork, customise moderation tools
  • create new tools
  • adapt, fork, customise social platforms
  • create new platforms
  • use software and hardware
  • question autonomy
  • experiment with protocols
  • self-host
  • understand tutorials
  • write and send reports


These actions can be challenging. Networks of Care goes through a few of these technical hurdles, documenting along the way the experience of creating and maintaining this project.

Networks of Care is hosted on a Raspberry Pi and uses MediaWiki software to organise the content. It uses extensions such as Semantic MediaWiki and Page Forms. The main page shows a diagram that uses the API to get access to wiki features. It also uses Leaflet, a JavaScript library.

Here is the detailed Technical Documentation.


Contacts

This work has been produced in the context of the graduation research of Rita Graça from the Experimental Publishing (XPUB) Master course at the Piet Zwart Institute, Willem de Kooning Academy, Rotterdam, University of Applied Sciences.

XPUB is a two year Master of Arts in Fine Art and Design that focuses on the intents, means and consequences of making things public and creating publics in the age of post-digital networks.

https://xpub.nl