Fedora 21

Revision as of 08:06, 11 May 2019 by Satellit (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

some of the older versions listed here ^ may be security risks- for archive purposes only

Fedora 21

DOWNLOAD f21

(Workstation/Server/Cloud)

https://getfedora.org/
12/9/2014
Link to Released Beta: http://dl.fedoraproject.org/pub/alt/stage/21_RC5/
  • Spins:
http://spins.fedoraproject.org/
  • SoaS:
http://spins.fedoraproject.org/soas/#downloads

Mirrors

http://mirror.steadfast.net/fedora/
http://mirror.sfo12.us.leaseweb.net/fedora/linux/releases/21/

f22 (Rawhide)

How to do fedup from last successful build



















8

Release Notes f21

fedora workstation installation

  • How to install Workstation
http://www.tecmint.com/fedora-21-workstation-installation

Common f21 Bugs

Changes in boot.iso in f21

f21-Repos
  • 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:
http://dl.fedoraproject.org/pub/fedora/linux/development/21/x86_64/os/ (same as above; select workstation)
  • Server Repo
http://dl.fedoraproject.org/pub/alt/stage/21_RC5/Server/x86_64/os/
  • boot.iso everything
http://dl.fedoraproject.org/pub/fedora/linux/development/21/x86_64/os/images/
((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


  • 8 fonts are missing in Soas 21-2 live; to fix this:
  • Root Terminal: (87M)
yum install @fonts

 

(click on image to enlarge; hit <- in browser to return)
  • Do this before installing with:
liveinst
For full language support in the Anaconda installer and in Sugar

GnomeShell Cheatsheet

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

fedup Updating f20 desktop to f21 workstation

sucess 11/14/2014 with encrypted file system
sucess 11/17/2014 nonproduct with KDE
No need to update if netinst is used.
  • f20 live respins
http://alt.fedoraproject.org/pub/alt/live-respins/
  • Caution:

1-) Backup your work before attempting this

2-) fully update your f20 install (disable any no-fedora repositories)

3-) In root terminal:

yum update
yum install fedup
fedup --network 21 --product=workstation 
NOTE 1: :"fedup tests may require the --nogpgcheck parameter until the signed .treeinfo file is available."
  • product=[workstation|server|cloud|nonproduct]
use --product=nonproduct for KDE ;other spins and minimal
NOTE 2 it is also possible to fedup to f22 with --network 22
  • reboot system
  • "System Upgrade Fedup" on boot menu
  • NOTE: Terminal display stops updating at about 68%
TO FIX: Hit {alt} key or switch to {alt-f2} then {alt-f1}
  • More Info on product=[workstation|server|cloud|nonproduct]
https://www.happyassassin.net/2014/12/10/fedora-21-greatest-hits-non-server-non-live-installs-fedup-product-behaviour/

Upgrading Fedora using yum

f21 Screenshots

  • Screenshots of f21
https://fedoraproject.org/wiki/F21_screenshots_library

TESTING

f21_Final_RC5

https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_RC5_Desktop
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_RC5_Installation
https://fedoraproject.org/wiki/Test_Results:Fedora_21_Final_RC5_Base

Using UEFI with QEMU

Available environment groups

  • Used to add a Desktop Environment (DE) to an install
sudo dnf group list -v
  • Available environment groups:
  Basic Desktop (basic-desktop-environment)
  Cinnamon Desktop (cinnamon-desktop-environment)
  Development and Creative Workstation (developer-workstation-environment)
  Fedora Cloud Server (cloud-server-environment)
  Fedora Server (server-product-environment)
  Fedora Workstation (workstation-product-environment)
  Infrastructure Server (infrastructure-server-environment)
  KDE Plasma Workspaces (kde-desktop-environment)
  LXDE Desktop (lxde-desktop-environment)
  LXQt Desktop (lxqt-desktop-environment)
  MATE Desktop (mate-desktop-environment)
  Minimal Install (minimal-environment)
  Sugar Desktop Environment (sugar-desktop-environment)
  Web Server (web-server-environment)
  Xfce Desktop (xfce-desktop-environment)
  • Available groups:
  3D Printing (3d-printing)
  Administration Tools (admin-tools)
  Audio Production (audio)
  Authoring and Publishing (authoring-and-publishing)
  Books and Guides (books)
  C Development Tools and Libraries (c-development)
  Cloud Infrastructure (cloud-infrastructure)
  Cloud Management Tools (cloud-management)
  Cloud Server Tools (cloud-server)
  Container Management (container-management)
  D Development Tools and Libraries (d-development)
  Design Suite (design-suite)
  Development Tools (development-tools)
  Domain Membership (domain-client)
  Editors (editors)
  Educational Software (education)
  Electronic Lab (electronic-lab)
  Engineering and Scientific (engineering-and-scientific)
  Fedora Eclipse (eclipse)
  FreeIPA Server (freeipa-server)
  Games and Entertainment (games)
  Headless Management (headless-management)
  LibreOffice (libreoffice)
  MATE Applications (mate-applications)
  MATE Compiz (mate-compiz)
  Medical Applications (medical)
  Milkymist (milkymist)
  Network Servers (network-server)
  Office/Productivity (office)
  RPM Development Tools (rpm-development-tools)
  Robotics (robotics-suite)
  Security Lab (security-lab)
  Sound and Video (sound-and-video)
  System Tools (system-tools)
  Text-based Internet (text-internet)
  Window Managers (window-managers)

Desktop Environments for Server

  • How to add a Graphical DE to Server
https://fedoraserver-wgblog.rhcloud.com/graphical-desktop-environments-on-fedora-21-server/

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

  • New VirtualBox build with released SoaS V11
12/07/2014
http://people.sugarlabs.org/Tgillard/SoaS_V11-x86_64.ova
Anaconda 21.48.21-1
User=sugar; Password=sugaruser
Root=sugarroot
  • Based on Fedora-Live-SoaS-x86_64_64-21-5.iso
  • NOTES
8 GB HD
Bridged Networking
1024 memory
http://people.sugarlabs.org/Tgillard/Fedora-Live-SoaS-x86_64-21.ova
Screenshot of Background

 

  • 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
 
  • 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:
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

  • Boot Live CD of f21 Workstation
start gnome-disks
Insert USB with previously downloaded (Live) xxx.iso
  • If workstation is installed; Start here.
start gnome-disks
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; or from installed workstation

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/
http://dnf.baseurl.org/2014/04/23/how-groups-are-handled-in-modern-day-dnf/

RPM Fusion

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

Copr

"Copr (Cool Other Package Repo) is a Fedora project to help make building and managing third party package repositories easy."

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_Boot_Options#geoloc
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

Fixing Grub Problems


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

 

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

Suggestions on using a ssd HD

anaconda-ks.cfg

#save as /root/anaconda-ks.cfg
#f21 Workstation RC5
#version=DEVEL
  System authorization information
auth --enableshadow --passalgo=sha512
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sdb
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network  --bootproto=dhcp --device=p4p1 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted xxxxxxx(cut for security)xxxxxxx
# System timezone
timezone America/Los_Angeles --isUtc
user --groups=wheel --name=xxxxxxx --password=xxxxxxx(cut for security)xxxxxxx
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=sdb
autopart --type=plain
# Partition clearing information
clearpart --all --initlabel --drives=sdb

%packages @base-x @core @dial-up @firefox @fonts @gnome-desktop @guest-desktop-agents @hardware-support @input-methods @libreoffice @multimedia @printing @standard

%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
and Fedora-Live-Workstation-x86_64-21-5 in Gnome-boxes The final released version of f21
12/15/2014 released version uses anaconda 21-48.21-1
  • Note The same installer is on the boot.iso with more options.

 

 

 

  • Install done from Soas terminal with
su
liveinst

 

 

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

 

  • Select Install Destination

 

Begin Installation

 

  • Select Begin Installation
Formatting of HD target begins

 

Select root-pasword
  • root password

 

[Done]
  • User

 

[Done]
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
  • Install Complete - Reboot

 

  • Shutdown and remove live installer DVD/USB/iso and reboot into installed system.

Custom Install Screens

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

 

 

select type of partition to create in Drop Down menu

 

 

Reclaim space if HD is already formatted

 

 

boot.iso

12/15/2014 released version uses anaconda 21-48.21-1
  • The f21 Server netinstall is equivalent to the boot.iso and can be used in its place.
x86_64 Fedora-Server-netinst-x86_64-21
i386 Fedora-Server-netinst-i386-21

 

Welcome and language selection
[Continue]

 

Summary
[Software Selection]

 

Software-selection
  • Select from left and right columns
(Lists Server and Desktop Environments with their Optional packages listed on the right side.)
  • A live internet connection is required for a f21 Server netinstall/boot.iso
Select and hit [Done] to return to Begin Installation.

Anaconda boot options

http://fedoraproject.org/wiki/Anaconda_Boot_Options

Available Groups

  • Using yum install in root terminal
Fedora 21 Groups

Disable KDE Hot corners for Sugar-runner

  • System settings Screen Edges
Sugar-runner cannot access the f1 network neigborhood when the left top corner is hot.

 

Calamares Installer testing

  • Alternative installer for KDE

Fedora Jam Audio Spin

  • Spin details and how to install

"Fedora jam is for audio enthusiasts and musicians who want to create, edit and produce audio and music. It comes with Jack, ALSA and Pulseaudio by default, and a suite of programs to tailor your studio. It also includes all of the biggest audio applications, including Ardour, Audacity, Qtractor, Musescore, Frescobaldi, all the latest LADSPA/LV2 plugins and many more."

Remix and Install ISO Creation

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/

f22 Rawhide kernel 3.19.0.0 causes problems with Virtualbox 4.1.20

"Fedora's 'bleeding edge' distro "rawhide" has rolled out kernel version 3.19.0.0 today. Virtualbox guest additions 4.1.20 fail with desktop integation (only a ~1000 pixel horizontal resolution can be achived). Mouse integration and shared folder integration is OK. I *do have* rebuilt the guest additions after the kernel upgrade - just telling in advance in case somebody should feel like to ask!"

https://forums.virtualbox.org/viewtopic.php?f=3&t=65475

Workaround to start sugar-runner in workstation

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

 

This fix is needed to make sugar-runner start correctly from the XO icon
in f21-workstation bare metal install
installed with # "yum install @sugar-desktop sugar-runner" .
  • Notes: 11/16/2014

You must navigate root terminal to /user/share/applications/

gedit sugar-runner.desktop
edit the Exec line and save
Restart Workstation before the changes will work

MultiWriter

http://fedoramagazine.org/duplicate-isos-to-multiple-usb-drives-with-multiwriter/

"A brand new application called MultiWriter has just hit the Fedora 21 repositories that allows you to write a single ISO (eg. the Fedora Workstation Live Image) to multiple USB drives all at the same time. The application is super simple to use, just insert the USB storage devices you want to write to make show up in the MultiWriter interface, then press a single button to choose the ISO and MultiWriter will image the ISO to all those USB drives."

"Multiwriter is now available in the Fedora 21 repositories, so you can install it using the Software application in Fedora Workstation, or on the command line with:"

sudo yum install gnome-multi-writer

liveusb-creator

 

Version 2014-11-26 :: v3.13.1
   "Support a new destructive mode that uses dd to copy the iso directly to the device. This method tends to be more reliable,
   and requires ​hybrid ISOs, which Fedora have been producing for a long time.
   Added a new --dd command-line option
   DVD iso support with the 'Overwrite device' method..."
   

Experimental (proposed) Cinnamon spin

being tested in above screenshot
https://fedoraproject.org/wiki/Cinnamon_Spin
https://github.com/Grinnz/spin-kickstart-cinnamon
https://grinnz.com/public/spins-cinnamon/

Sugar-test Cases

Used in #fedora-qa testing

SoaS v10 testing with non-standard activities

Bug Reports

  • Blockers Bugs info
https://qa.fedoraproject.org/blockerbugs/milestone/21/final/buglist
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Trackers

Sugar IRC 10 errors

  • seems to be fixed

Missing Wireless Drivers

http://rpmfusion.org/Configuration/

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
  • Discussion of feature
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

Request for way to disconnect

https://bugzilla.gnome.org/show_bug.cgi?id=737362
  • 12/08/2014 #fedora-qa (edited)
Question: "http://fedoraproject.org/static/hotspot.txt gives "OK" even with location services switched off in privacy ?
Answer:that location service is not related to NetworkManager connectivity checking
location service is used by weather application for example, possibly clocks ... to determine your location
Question: not Captive Portal on/off ?
Answer:no there is no easy on/off switch, it is still a hard dependency as package, but you can for example create a same config file in /etc/NetworkManager/conf.d/99-connectivity-fedora.conf for example with "blank" uri "uri=" and "interval=0" that will override the default 20-connectivity-fedora.conf (man 5 NetworkManager.conf CONECTIVITY SECTION ... )
Answer:here is a upstream bug report about making the easy "on/off" option available (or some other solution) https://bugzilla.gnome.org/show_bug.cgi?id=737362
also that URL will always return OK if it is "real" so no MITM, its content wont change in any way when local settings are changed, it is only used with known content and accessed over secure connection to verify you have access to the internet ... (in case of MITM, it will fail, because certificate for fp.o cannot be valid assuming CAs don't allow someone to create one for that domain ... and they "sign it") "

Fedora Firewall

"sudo firewall-cmd --set-default-zone=FedoraServer
That will limit it to SSH, DHCPv6 and cockpit
Or use default zone "Public", which swaps cockpit out and adds mDNS
sudo firewall-cmd --set-default-zone=block"

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_RC5/Server/

New proposed Features

GNOME Design

https://wiki.gnome.org/Design

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/

Test announce Thread - Fedora-qa

https://lists.fedoraproject.org/pipermail/test-announce/2014-December/000966.html

Official Fedora Spins

  • status of spins
https://fedoraproject.org/wiki/Releases/21/Spins#Official_Fedora_Spins
This page needs to be updated to maintain status as a recognized spin