steptail.com

Does expecting the unexpected make the unexpected the expected?

User Tools

Site Tools


guides:how_to_get_a_usable_olpc_xo-1_system_in_2024

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guides:how_to_get_a_usable_olpc_xo-1_system_in_2024 [2024-09-26 20:59]
omolini
guides:how_to_get_a_usable_olpc_xo-1_system_in_2024 [2024-09-27 03:46] (current)
omolini
Line 16: Line 16:
 $ su $ su
 $ cd /​etc/​yum.repos.d/​ $ cd /​etc/​yum.repos.d/​
-$ nano fedora.reponano fedora-updates.repo... etc.+$ nano fedora.repo 
 +nano fedora-updates.repo 
 +$ nano fedora-updates-testing.repo
 </​code>​ </​code>​
  
-==== Enable network time updates (optional) ====+==== Enable Bash settings for root account ==== 
 +By default, the OLPC installation has no bash settings. You can easily copy them from the OLPC account, which uses the global settings: 
 + 
 +<code bash> 
 +$ cp /​home/​olpc/​.bashrc /root 
 +</​code>​ 
 + 
 +==== Enable network time and date updates (optional) ==== 
 +If your OLPC has an empty clock battery, you may want to enable network time service. These steps help you configure and enable automatic updates every 10 minutes. 
 <code bash> <code bash>
 $ yum install ntpdate $ yum install ntpdate
 </​code>​ </​code>​
 +
 +Optional: If you prefer to use a different text editor than vi, such as nano, type:
 +
 +<code bash>
 +$ echo "​export EDITOR=nano"​ >> /etc/bashrc
 +</​code>​
 +
 +This will add a variable that tells which text editor to use by default.
 +
 +Edit crontab and add ntpdate to be run every 10 minutes. ​
 +
 +<code bash>
 +$ crontab -e
 +</​code>​
 +
 +Add the following line in the crontab file:
 +<code bash>
 +*/10 * * * * ntpdate pool.ntp.org
 +<<<​EMPTY LINE>>>​
 +</​code>​
 +
 +Note! The file must contain an empty line feed at the end or the crontab will not properly save.
 +
 +==== Set system time zone ====
 +If you know your current time zone identifier, edit /​etc/​sysconfig/​clock and change the ZONE variable from GMT to your time zone. If you don't know it, run tzselect, then edit the clock file. Once this is done, run tzdata-update.
 +
 +<code bash>
 +$ tzselect
 +$ nano /​etc/​sysconfig/​clock
 +$ tzdata-update
 +</​code>​
 +
 +In my case, I had to change the default from ''​ZONE="​GMT"''​ to ''​ZONE="​America/​Chicago"''​.
 +
  
 ==== Enable RPM Fusion repository for all missing packages (to enable things like MP3 playback, emulators etc.) ==== ==== Enable RPM Fusion repository for all missing packages (to enable things like MP3 playback, emulators etc.) ====
Line 29: Line 74:
  
 <code bash> <code bash>
 +$ cd /​etc/​yum.repos.d
 $ nano rpmfusion.repo $ nano rpmfusion.repo
 </​code>​ </​code>​
Line 40: Line 86:
 mirrorlist=http://​mirrors.rpmfusion.org/​mirrorlist?​repo=free-fedora-$releasever&​arch=$basearch mirrorlist=http://​mirrors.rpmfusion.org/​mirrorlist?​repo=free-fedora-$releasever&​arch=$basearch
 enabled=1 enabled=1
-include=file:///​etc/​yum/​olpc-exclude 
 metadata_expire=7d metadata_expire=7d
 +gpgcheck=0
 </​code>​ </​code>​
  
 If you want to install a RPM package manually, you can also go to https://​mirrors.rpmfusion.org/​mm/​publiclist/​ , and once you have selected your OS version and architecture,​ scroll down to bottom to click on either http or rsync methods. You can the download whatever RPM package you need, and use the ''​rpm -i''​ utility to install the RPM package. If you want to install a RPM package manually, you can also go to https://​mirrors.rpmfusion.org/​mm/​publiclist/​ , and once you have selected your OS version and architecture,​ scroll down to bottom to click on either http or rsync methods. You can the download whatever RPM package you need, and use the ''​rpm -i''​ utility to install the RPM package.
- 
- 
  
 ==== Example ==== ==== Example ====
  
-Now that you have RPM Fusion enabled, to install X Multimedia System (xmms) ​with MP3 support, run the following: +Now that you have RPM Fusion enabled, to install X Multimedia System (xmms) ​and MP3 support, run the following:
- +
-<code bash> +
-$ yum install xmms +
-</​code>​ +
- +
-This will install xmms music player from official Fedora repositories without MP3 input plugin.+
  
 <code bash> <code bash>
-$ yum install xmms-mp3+$ yum install ​xmms xmms-mp3
 </​code>​ </​code>​
  
-This will install ​the MP3 input plugin ​from the RPM Fusion repository ​and place it under /​usr/​lib/​xmms/​input.+This will install ​xmms music player from official Fedora repositories and then install ​MP3 input support ​from the RPM Fusion repository. The MP3 input plugin will be placed in /​usr/​lib/​xmms/​input.
  
 {{tag>​Guides Guides:​Software Guides:"​OLPC XO-1"​}} {{tag>​Guides Guides:​Software Guides:"​OLPC XO-1"​}}
guides/how_to_get_a_usable_olpc_xo-1_system_in_2024.1727384355.txt.gz · Last modified: 2024-09-26 20:59 by omolini