Difference between revisions of "Fedora 21"

From Sugar Labs
Jump to navigation Jump to search
m (→‎SoaS errors: removed problem solved)
Line 77: Line 77:
 
  yum update
 
  yum update
 
  yum install fedup
 
  yum install fedup
 +
fedup --network 21 --product workstation
 +
 +
*NOTE: use --product nonproduct  for KDE & minimal
 +
 +
*Old Command:
 
  fedup --nogpgcheck --network 21 --product workstation --instrepo https://dl.fedoraproject.org/pub/alt/stage/21_TC2/Server/x86_64/os/
 
  fedup --nogpgcheck --network 21 --product workstation --instrepo https://dl.fedoraproject.org/pub/alt/stage/21_TC2/Server/x86_64/os/
 
:Download 1459 files
 
:Download 1459 files

Revision as of 20:25, 15 November 2014

Fedora® version page: 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |

Fedora 21

Get PreRelease

http://fedoraproject.org/get-prerelease
f21-Beta-RC4 11/04/2014
  • Rawhide is now f 22
To convert to a F21 and remove rawhide repos:
https://lists.fedoraproject.org/pipermail/test/2014-July/121912.html
boot.iso - Basically a Netinstall (Built daily)
This is pre-release so it may (or not) work. Latest is 21.48.3-1 Anaconda 08/29/2014
Works in Virtualbox

Release Announcement

http://fedoraproject.org/wiki/F21_Beta_release_announcement

Release Notes f21

Release Notes-prerelease-only

Common f21 Bugs

Download

  • updated 11/13/2014
http://dl.fedoraproject.org/pub/alt/stage/21_TC2/


Changes in boot.iso in f21

  • The netinstall.iso (boot.iso) has changed and now a specific boot.iso is created for specific installs:
f21-Beta-1-Release Candidate and earlier
  • NOTE IN TC7 and later; file names; now have underscore (_) instead of dash (-) in name separators
This can cause problems
  • To create all of the features of the old netinstall you must add this repo in Anaconda Sources:
http://dl.fedoraproject.org/pub/fedora/linux/development/21/x86_64/os/
  • Workstation Repo:
  • no longer available in Beta
http://dl.fedoraproject.org/pub/alt/stage/21_Alpha_TC6/Workstation/x86_64/os/
http://dl.fedoraproject.org/pub/alt/stage/21_Alpha_TC7/Workstation/x86_64/os/
http://dl.fedoraproject.org/pub/alt/stage/21_Alpha_RC1/Workstation/x86_64/os/
  • Server Repo
http://dl.fedoraproject.org/pub/alt/stage/21_TC2/Server/x86_64/os/
  • boot.iso everything
http://dl.fedoraproject.org/pub/fedora/linux/development/21/x86_64/os/images/boot.iso
((This is not always created with the rest of the builds) there are i386 versions also.
  • For latest Builds builds (and links to them) see:
https://apps.fedoraproject.org/releng-dash/
All http://koji.fedoraproject.org/koji/tasks?start=0&state=all&view=flat&method=createLiveCD&order=-id
Beta-Release: http://koji.fedoraproject.org/koji/tasks?owner=pbrobinson&state=all&view=flat&method=createLiveCD&order=-id
Alternate: http://koji.fedoraproject.org/koji/tasks?owner=ausil&state=all&view=flat&method=createLiveCD&order=-id

GnomeShell Cheatsheet

Shortcuts and key combinations to use in GnomeShell
  • User Menu->System Settings->Keyboard-> Shortcuts

fedup Updating f20 desktop to f21 workstation

done 11/14/2014 attempted with encrypted file system
  • f20 live respins
http://alt.fedoraproject.org/pub/alt/live-respins/
Used in testing
  • Caution:

1-) Backup your work before attempting this

2-) fully update your f20 install

3-) In root terminal:

yum update
yum install fedup
fedup --network 21 --product workstation 
  • NOTE: use --product nonproduct for KDE & minimal
  • Old Command:
fedup --nogpgcheck --network 21 --product workstation --instrepo https://dl.fedoraproject.org/pub/alt/stage/21_TC2/Server/x86_64/os/
Download 1459 files
  • reboot system
  • "System Upgrade Fedup" on boot menu
fedup-dracut-0.9.0
Update 1459 files
  • NOTE: Terminal display stops updating at about 68%
FIX: switch to {alt-f2} then {alt-f1}
  • Successful Upgrade.
  • NOTE: use --product nonproduct for KDE & minimal

TESTING

f21_Final_TC1

https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_TC1_Desktop
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_TC1_Installation
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_TC1_Base
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_TC1?rd=Test_Results:Current_Desktop_Test#Test_Matrix

Other testing

https://fedoraproject.org/wiki/Test_Results:Fedora_21_Beta_RC4_Installation#USB_stick
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Beta_RC4__Desktop#Non_release-blocking_desktops:_x86_.2F_x86_64
https://fedoraproject.org/w/index.php?title=Test_Results:Fedora_21_Alpha_RC1_Server
https://fedoraproject.org/wiki/Test_Results:Current_Server_Test

Available environment groups

  • Used to add a Desktop Environment (DE) to an install
# yum grouplist
Available environment groups:
  Fedora Server
  Fedora Cloud Server
  Fedora Workstation
  KDE Plasma Workspaces
  Xfce Desktop
  LXDE Desktop
  Cinnamon Desktop
  MATE Desktop
  Sugar Desktop Environment
  Development and Creative Workstation
  Web Server
  Infrastructure Server
  Basic Desktop
  Minimal Install

VirtualBox.pngLogo SoaS 01.pngVirtualBox:F21 release candidate Sugar 0.102 v11

http://people.sugarlabs.org/Tgillard/Fedora-Live-SoaS-x86_64-21.ova
  • Based on Fedora-Live-SoaS-x86_64-21-20140829.iso
Link:https://kojipkgs.fedoraproject.org//work/tasks/4218/7484218/Fedora-Live-SoaS-x86_64-21-20140829.iso
  • import into VirtualBox for Testing ONLY
08/29/2014
User=sugar; Password=sugaruser
Root=sugarroot
  • NOTES
8 GB HD
Bridged Networking
Screenshot of Background

Fedora-Live-SoaS-x86 64-21.png

  • NOTE: If no backgrounds are available install gnome-backgrounds for images to set as background.
Get VirtualBox
Note VirtualBox is free; only extensions are restricted to personal use
How to Clear ./sugar
35px-Activity-write.png
  • When making a new VM, to clear the Sugar Journal of old entries and to avoid identity conflicts among copies of the VM, enter the command rm -rf ~/.sugar in the Terminal activity. Then shutdown the VM. This will clear all Learner information on the VM and let you start with a fresh install. Skipping this will result in collisions in the Neighborhood view of the Jabber network between separate copies of the appliance. Verify the presence of the .sugar directory by entering ls -a in Terminal.
  • When cloning a customized VM, in order to keep the Journal and installed .xo Activities, use rm -rf ~/.sugar/default/owner.key* in the Sugar Terminal, and then shutdown the VM. enter in root terminal:su (password) shutdown -h now This leaves the Journal entries and removes only the previous Learner's identity key files.
  • To clear the Sugar Journal:rm -rf ~/.sugar/default/datastore This may be needed if the Journal becomes clogged with too many entries. USE WITH CAUTION'

UEFI Boot

  • Warning UEFI does not support MultiBoot
New install will delete the existing UEFI boot record if installing from USB.
https://bugzilla.redhat.com/show_bug.cgi?id=1129507

UEFI-recovery

  • How to fix booting of your disk if it does not boot.

Described by Dan Mossor here:

https://fedoraproject.org/wiki/User:Dmossor/uefi-recovery
  • Text of link:
http://wiki.sugarlabs.org/go/Fedora_21/UEFI_recovery

Changing Gnome-terminal to open new in a tab

"You have to go into Edit/Preferences/General 
to control whether "Open Terminal" opens the terminal in a new window or a new tab." 
Andre Robatino

Errors in java when upgrading to f21

"After updating to java-1.8.0-openjdk-1:1.8.0.11-11.b12.fc21.x86_64
java is no longer my PATH"

dd writing a USB with gnome-disks

or
  • 2 Boot Live CD of f21 Workstation
start gnome-disks
Insert USB with previously downloaded (Live) xxx.iso
click on gear on the top bar of gnome-disks
click Restore Disk Image
Select xxx.iso and Target USB
  • NOTE works with booted Live DVD/CD

Write a Live.iso to a USB

  • Boot from a live USB to install F21
Some of these methods will create a persistent USB

Testing liveusb-creator in Windows 8.1

  • Tested by satellit on 2014/08/01
NOTE: GUI works well in fedora.
"There are a number of things that need to fixed in the windows version of liveusb-creator. 
1-) detect screen resolution and properly display GUI
2-) run in compatability mode (run as administrator)
3-) run as liveusb-creator --reset-mbr by default  (this can be done in linux by editing the icon command)
4-)Fix the Download button on the GUI to work and be up to date."


  • fedora-qa Install testing:
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Rawhide_2014_05_Install#Live_image
06/24/2014 NetworkManager--wifi added to comps in f21(rawhide)
SoaS shows wireless and ad-hoc in f1 Network Neighborhood on install

"If you suddenly find yourself without Wi-Fi,find a wired network connection and:

dnf install NetworkManager-wifi
systemctl restart NetworkManager"

DNF vs YUM

http://blogs.gnome.org/dcbw/2014/06/19/psa-fedora-21-networkmanager-and-dnf/

RPM Fusion

"RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship."

Upgrade to rawhide from an existing installation

https://fedoraproject.org/wiki/Releases/Rawhide#Upgrade_from_an_existing_installation

Anaconda Command Line Options

https://fedoraproject.org/wiki/Anaconda_Boot_Options?rd=Anaconda/Options#cmdline
https://fedoraproject.org/wiki/Anaconda_Command_Line_Options

Kickstart

Systemd

  • Fedora wiki page

Systemd Commands

http://www.freedesktop.org/software/systemd/man/index.html

dracut

https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html

Updating Grub 2 on UEFI systems

Turn off gnome automatic background updates

  • NOTE seems to be no longer available:
https://bugzilla.gnome.org/show_bug.cgi?id=709121
  • To turn off background downloading of updates and forced 10 minute updates on boot of gnome3.10.1
  • Root terminal
yum install dconf-editor
  • User Terminal
dconf-editor
gnome/settings-daemon/plugins/updates 
Uncheck [ ] auto updates
NOTE this plugin no longer exists in f21(rawhide) 03/14/2014
  • see gnome Bug:
https://bugzilla.gnome.org/show_bug.cgi?id=719304
  • This is modified: 12/28/2013
https://git.gnome.org/browse/gnome-software/commit/?id=774a67b55ca21901d4dca58717015503fce8db1b
"This moves more functionality from the gsd updates plugin here:
* Notify about successful or unsuccessful offline updates 15 seconds after start.
* Monitor for available offline updates and notify about them, once per hour.
* Refresh the cache once per day, after 6am.
* If important updates are available, or updates have not been installed for at least 7 days, download all available updates.
We rely on PackageKit to prepare an offline update when updates have been downloaded.
* Avoid mobile networks for cache refresh and downloads."
https://bugzilla.gnome.org/show_bug.cgi?id=709121

Logic Map for Updates in gnome

https://bugzilla.gnome.org/show_bug.cgi?id=709121

know how to force a reinstall of a kernel

yum reinstall kernel isn't doing anything
you need to re-run the scriptlets
this is not done with "yum reinstall"
"rpm -q --scripts kernel-version-release" would tell you what to rerun

fedora boot optimization

  • Can be dangerous - ADVANCED USERS ONLY
http://www.harald-hoyer.de/2013/11/13/fedora-boot-optimization/

Location enabled by default in GNOME

Settings/Privacy/Location Services
  • Fedora Gnome/Workstation has GeoClue enabled by default
"Geoclue is a D-Bus service that provides location information.
The primary goal of the Geoclue project is to make creating location-aware applications as simple as possible,
while the secondary goal is to ensure that no application can access location information without explicit permission from user. "
  • Turn Geoclue on/off in Gnome
Settings/Privacy/Location Services

Settings-Privacy-Location services.png

  • To see if Geoclue is present in your spin:
rpm -q geoclue2
  • geoclue2 in sugar 0.102
Geoclue2 in sugar .png

Suggestions on using a ssd HD

anaconda-ks.cfg

  • Initial xxx.ks file in install of KDE f21 with anaconda 21.48.2-1
  1. version=DEVEL
  2. System authorization information

auth --enableshadow --passalgo=sha512

  1. Run the Setup Agent on first boot

firstboot --enable ignoredisk --only-use=sda

  1. Keyboard layouts

keyboard --vckeymap=us --xlayouts='us'

  1. System language

lang en_US.UTF-8

  1. Network information

network --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate network --hostname=localhost.localdomain

  1. Root password

rootpw --iscrypted $6$21yI.gKoDIBEnN7K$0DJdYNiG4Zi0MTXNoChIHU1G8BssOtABn/CzaYigG5VTd3ETD3fwbR/BnWc.69P/7tIyk22I1.KqKOiDe46H5.

  1. SELinux configuration

selinux --enforcing

  1. System timezone

timezone America/Los_Angeles --isUtc

  1. X Window System configuration information

xconfig --startxonboot

  1. System bootloader configuration

bootloader --location=mbr --boot-drive=sda autopart --type=lvm

  1. Partition clearing information

clearpart --none --initlabel

%packages @admin-tools @base-x @core @dial-up @fonts @guest-desktop-agents @hardware-support @input-methods @kde-desktop @multimedia @networkmanager-submodules @printing @standard

%end

%addon com_redhat_kdump --disable --reserve-mb='128'

%end

Fedora-21 anaconda 21.48.1-1 installer

  • This is the installer from Fedora-Live-SoaS-x86_64-21-20140728.iso SoaS LiveCD in Oracle VM VirtualBox
This is a Preliminary version and will be modified before f21 is released.
07/29/2014
  • Note The same installer is on the boot.iso with more options.

F3-Circlepng.png

Terminal-List View.png

Liveinst in terminal.png

  • Install done from Soas terminal with
su
liveinst

Anaconda-1.png

Date and Time.png

  • Time Zone selected
[Done} to return to main Hub

Anaconda-2.png

Custom Install Screens

  • Note only used if you select:
 [x]I will configure partitioning

Custom-1.png

Custom-2.png

select type of partition to create in Drop Down menu

Custom-3.png

Custom-5.png

Reclaim space if HD is already formatted

Custom-4.png

Custom-6.png

Begin Installation

Begin Installation.png

Configuratiion.png

  • Configuration
Root Password and User Creation
Select Password and User Creation to enter their spokes and return with [Done]
  • A weak Password will require entering [done] 2 times to return to main Configuration Spoke
See yellow warning in bottom of page
  • NOTE: If No Root/User are entered
Gnome or workstation: G-I-S (Gnome initial setup) will be started on first boot where these can be entered
Warning Passwords will need to be much more complicated and larger; (keep adding letters to password until you can click next.)
Other Desktops: Anaconda will pop up window for missing root/user before it completes the install and [Done]-Reboot appears

Installing software.png

  • Installing Software
% completion until [Done]-Reboot appears

Configuratiion-Reboot.png

Boot.iso

Boot-iso.png

Software Selection

Boot-iso-server.png

Lists Server and Desktop Environments with their Optional packages listed on the right side.
Select and hit [Done] to return to Main Hub.

Anaconda boot options

http://fedoraproject.org/wiki/Anaconda_Boot_Options

Available Groups

  • Using yum install in root terminal
http://wiki.sugarlabs.org/go/Fedora_21_Groups

Installing VirtualBox in F21

  • Log of install
With terminal commands to add required files.

References:

http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
http://download.virtualbox.org/virtualbox/4.3.18/VirtualBox-4.3.18-96516-Linux_amd64.run
http://download.virtualbox.org/virtualbox/4.3.18/Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack
http://blog.christophersmart.com/2011/07/23/how-to-install-and-run-virtualbox-on-fedora-and-kororaa/

Fix sugar-runner in workstation

  • Change desktop file in /usr/share/applications:
add --resolution 1024x768
#gedit /user/share/applications/sugar-runner.desktop

Sugar-runner change resolution.png

This fix is needed to make sugar-runner start correctly from the XO icon
in f21-workstation Beta TC bare metal install
installed with # "yum install @sugar-desktop sugar-runner" .

Sugar-test Cases

Used in #fedora-qa testing

SoaS v10 testing with activities not included in the standard distribution

f21 Gnome 3.1.4 Test Day

http://fedoraproject.org/wiki/Test_Day:2014-08-28_Gnome_3.14
http://testdays.qa.fedoraproject.org/testdays/show_event?event_id=17

Bug Reports

  • Blockers Bugs info
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Trackers

Sugar IRC 10 errors

  • seems to be fixed

Captive Portal

  • active in f21 if gnome is used.
May be present in NetworkManager for other DE's ?
Gnome 3.1.4 feature
Should be https: https://bugzilla.redhat.com/show_bug.cgi?id=1135777
https://fedorahosted.org/fesco/ticket/1337
Connects to fedora server every 300 sec to check connectivity
NetworkManager-config-connectivity-fedora
To see NM settings
http://fedoraproject.org/static/hotspot.txt
To test if connected; "OK" says connection is up
http://en.wikipedia.org/wiki/Captive_portal
https://fedorahosted.org/fesco/ticket/1337

cockpit in fedora 21 server

  • Cockpit is a server user interface.
https://fedoraproject.org/wiki/Test_Day:2014-11-07_Server#Test_Results
https://fedoraproject.org/wiki/Test_Day:2014-09-16_Cockpit
After boot, Cockpit is up and running and listens on port 9090.
http://cockpit-project.org/
http://stef.thewalter.net/
  • IRC #cockpit in freenode

Download

https://dl.fedoraproject.org/pub/alt/stage/21_TC1/Server/

New proposed Features

AppInstaller in F21

https://fedoraproject.org/wiki/Changes/AppInstallerContinued

"gnome-software will support installing system add-ons such as fonts and codecs. It will show additional metadata for applications: screenshots, ratings, other details.
We will also work with the Fedora infrastructure team to obtain the metadata online for all applications instead of shipping it statically for a limited set."

Fedora.next

https://fedoraproject.org/wiki/Fedora.next

"This all came out of a number of proposals at Flock 2013, 
including Architecture for a More Agile Fedora and Stephen Gallagher's suggestion that we use that architecture to design, build,
and market three distinct Fedora products. This grew into a proposal accepted by the Fedora advisory board, and the formation of Initial Working Groups by FESCo. "

Release Schedule

  • Links to current fedora wiki pages:
Release Schedule http://fedoraproject.org/wiki/Releases/21/Schedule
Tasklist: https://fedoraproject.org/wiki/Workstation/Tasklist
buglist: https://qa.fedoraproject.org/blockerbugs/milestone/21/alpha/buglist
TC List: http://dl.fedoraproject.org/pub/alt/stage/