This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guides:how_to_get_a_usable_olpc_xo-1_system_in_2024 [2024-09-27 00:47] omolini [Enable network time and date updates (optional)] |
guides:how_to_get_a_usable_olpc_xo-1_system_in_2024 [2024-09-27 03:46] (current) omolini |
||
---|---|---|---|
Line 19: | Line 19: | ||
$ nano fedora-updates.repo | $ nano fedora-updates.repo | ||
$ nano fedora-updates-testing.repo | $ nano fedora-updates-testing.repo | ||
+ | </code> | ||
+ | |||
+ | ==== 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> | </code> | ||
Line 31: | Line 38: | ||
<code bash> | <code bash> | ||
- | $ echo "export EDITOR=nano" >> /root/.bashrc | + | $ echo "export EDITOR=nano" >> /etc/bashrc |
</code> | </code> | ||
Line 45: | Line 52: | ||
<code bash> | <code bash> | ||
*/10 * * * * ntpdate pool.ntp.org | */10 * * * * ntpdate pool.ntp.org | ||
+ | <<<EMPTY LINE>>> | ||
</code> | </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. | 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. | ||
Line 55: | Line 66: | ||
</code> | </code> | ||
+ | In my case, I had to change the default from ''ZONE="GMT"'' to ''ZONE="America/Chicago"''. | ||
Line 62: | Line 74: | ||
<code bash> | <code bash> | ||
+ | $ cd /etc/yum.repos.d | ||
$ nano rpmfusion.repo | $ nano rpmfusion.repo | ||
</code> | </code> | ||
Line 73: | 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"}} |