Difference between revisions of "Raspberry Pi"
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) (→Editing the Wordpress installation) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | = Information sharing on the InfoSpots = |
This page explains how information from community/school members can be shared with other people on the InfoSpots | This page explains how information from community/school members can be shared with other people on the InfoSpots | ||
== Purpose of Information sharing == | == Purpose of Information sharing == | ||
Line 5: | Line 5: | ||
== The Community/School Server based on a Raspberry Pi (RPI)== | == The Community/School Server based on a Raspberry Pi (RPI)== | ||
− | [[File:Yeboo_com_homepage.png| | + | [[File:Yeboo_com_homepage.png|250px|right|thumb|''Figure 1: Global Yeboo.com page with health information]] |
− | InfoSpots are equipped with a community/school server, which, in the easiest way, is a [[Raspberry Pi]] ([[RPI]]). Once you press "Free Internet", you are redirected to Yeboo.com, the home page of the RPI. Though we have a global Yeboo.com page (see Figure 1), each RPI has | + | InfoSpots are equipped with a community/school server, which, in the easiest way, is a [[Raspberry Pi]] ([[RPI]]). Once you press "Free Internet", you are redirected to Yeboo.com, the home page of the RPI. Though we have a global Yeboo.com page (see Figure 1), each RPI has its own [[Webserver]]. The Webserver is the first picture that a user sees. |
On the home page of the RPI, one finds a simple Web-page, made with WordPress. The installation of a Web server is an easy way to show people a specific introduction and can bring them further into information for their interest. Our recommendation is to have the home page in a graphical way with icons, pointing to sub-sections of the Web page. | On the home page of the RPI, one finds a simple Web-page, made with WordPress. The installation of a Web server is an easy way to show people a specific introduction and can bring them further into information for their interest. Our recommendation is to have the home page in a graphical way with icons, pointing to sub-sections of the Web page. | ||
Line 12: | Line 12: | ||
In order to allow sharing, we have implemented a Nextcloud instance on the RPI. Nextcloud is a local cloud, allowing users to create information/content and share it with others. | In order to allow sharing, we have implemented a Nextcloud instance on the RPI. Nextcloud is a local cloud, allowing users to create information/content and share it with others. | ||
− | [[File:LocalYeboo.jpg|710px|center|thumb|''Figure | + | <!--- [[File:LocalYeboo.jpg|710px|center|thumb|''Figure 1: Local Yeboo.com installation (Mar2022)'']]---> |
+ | On [https://Yeboo.BasicInternet.org Yeboo.BasicInternet.org]we have described more in detail on how to configure and error search the installation (see ICT-communications/About_RPI.md). The information is openly available for everyone. (you need to register for making changes) | ||
+ | |||
+ | [[File:Nextcloud_RPI.png|710px|center|thumb|''Figure 2: Detailed information on RPI usage'']] | ||
+ | |||
== Editing the Wordpress installation == | == Editing the Wordpress installation == | ||
+ | Wordpress can be edited with http://yeboo.com/wp-admin | ||
+ | * a guest user with password BasicInternet is configured | ||
+ | * the admin user has a specific password (''hint: BI1'') | ||
+ | |||
+ | Admin users can establish new users (e.g. teachers & students) and give them rights to edit | ||
+ | |||
+ | === Error handling === | ||
If you type Yeboo.com in your browser, you will be redirected to the Web page on the RPI. If you see Figure 1, then your InfoSpot is wrongly configured. Do the following | If you type Yeboo.com in your browser, you will be redirected to the Web page on the RPI. If you see Figure 1, then your InfoSpot is wrongly configured. Do the following | ||
# Power off the RPI, wait for 10 seconds, and then power on again (leave the LNCC powered on). ''Note: the RPI receives an IP address from the LNCC - to be discussed: should we install all RPIs with fixed IP address? - Advantage: no wrong configuration'' | # Power off the RPI, wait for 10 seconds, and then power on again (leave the LNCC powered on). ''Note: the RPI receives an IP address from the LNCC - to be discussed: should we install all RPIs with fixed IP address? - Advantage: no wrong configuration'' | ||
Line 19: | Line 30: | ||
If you see the home page of your school/community, you can type ''yeboo.com/wp-admin'' to edit the home page. The username is wordpress, the password is known to your technical manager. Now you can see change the home page of your organisation. | If you see the home page of your school/community, you can type ''yeboo.com/wp-admin'' to edit the home page. The username is wordpress, the password is known to your technical manager. Now you can see change the home page of your organisation. | ||
− | |||
== Adding information for everyone == | == Adding information for everyone == | ||
Line 27: | Line 37: | ||
* Connect to BasicInternet on Wifi - select: Free Internet | * Connect to BasicInternet on Wifi - select: Free Internet | ||
* Select the link to Nextcloud | * Select the link to Nextcloud | ||
− | * Login as user "guest" with password " | + | * Login as user "guest" with password "BasicInternet" for access to publicly available content |
− | + | ||
− | + | ||
+ | If you are a teacher, you will receive your own account. You can then add content and share it with your students. | ||
== Technical information == | == Technical information == | ||
Line 42: | Line 51: | ||
Yeboo.com/wp-admin | Yeboo.com/wp-admin | ||
+ | <!--- | ||
'''Create static IP address on the Raspberry Pi''' in order to ease the connection from the LNCC | '''Create static IP address on the Raspberry Pi''' in order to ease the connection from the LNCC | ||
<pre> | <pre> | ||
Line 55: | Line 65: | ||
# after reboot, check the hostnmae | # after reboot, check the hostnmae | ||
hostname -I | hostname -I | ||
− | </pre> | + | </pre> ---> |
Latest revision as of 15:54, 13 November 2022
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
![]() |
Information sharing on the InfoSpots
This page explains how information from community/school members can be shared with other people on the InfoSpots
Purpose of Information sharing
Empowering our communities needs the contribution from everyone. Only community members can define what kind of information is needed for acquiring knowledge and skills. Thus, we need to establish a way of knowledge sharing
The Community/School Server based on a Raspberry Pi (RPI)
InfoSpots are equipped with a community/school server, which, in the easiest way, is a Raspberry Pi (RPI). Once you press "Free Internet", you are redirected to Yeboo.com, the home page of the RPI. Though we have a global Yeboo.com page (see Figure 1), each RPI has its own Webserver. The Webserver is the first picture that a user sees.
On the home page of the RPI, one finds a simple Web-page, made with WordPress. The installation of a Web server is an easy way to show people a specific introduction and can bring them further into information for their interest. Our recommendation is to have the home page in a graphical way with icons, pointing to sub-sections of the Web page.
In order to allow sharing, we have implemented a Nextcloud instance on the RPI. Nextcloud is a local cloud, allowing users to create information/content and share it with others.
On Yeboo.BasicInternet.orgwe have described more in detail on how to configure and error search the installation (see ICT-communications/About_RPI.md). The information is openly available for everyone. (you need to register for making changes)
Editing the Wordpress installation
Wordpress can be edited with http://yeboo.com/wp-admin
- a guest user with password BasicInternet is configured
- the admin user has a specific password (hint: BI1)
Admin users can establish new users (e.g. teachers & students) and give them rights to edit
Error handling
If you type Yeboo.com in your browser, you will be redirected to the Web page on the RPI. If you see Figure 1, then your InfoSpot is wrongly configured. Do the following
- Power off the RPI, wait for 10 seconds, and then power on again (leave the LNCC powered on). Note: the RPI receives an IP address from the LNCC - to be discussed: should we install all RPIs with fixed IP address? - Advantage: no wrong configuration
- If, after starting the RPI again, you still see that "yeboo.com" shows Figure 1, then you need to talk to your network administrator to get the LNCC reconfigured.
If you see the home page of your school/community, you can type yeboo.com/wp-admin to edit the home page. The username is wordpress, the password is known to your technical manager. Now you can see change the home page of your organisation.
Adding information for everyone
We have installed an Nextcloud solution, which is a decentralised cloud solution, on the RPi. Nextcloud is set up such that users with an account can add content, and define if that content is shared publicly.
The procedure is as follows:
- Connect to BasicInternet on Wifi - select: Free Internet
- Select the link to Nextcloud
- Login as user "guest" with password "BasicInternet" for access to publicly available content
If you are a teacher, you will receive your own account. You can then add content and share it with your students.
Technical information
How to create an image on the RPI
The easiest way on how to configure a RPI is to create and copy an image from an existing configuration onto a new SD card. Recommended reading:
- https://www.tomshardware.com/how-to/back-up-raspberry-pi-as-disk-image
- https://raspberrytips.com/create-image-sd-card/
When you have created the RPI, you can also read on how to install it
Wordpress on Raspberry Pi
Yeboo.com/wp-admin