Fedora Help

From Jeff's Weather Service ~ Wiki Page
Jump to: navigation, search

Fedora Project

Fedora Project

Fedora Wiki

Fedora Project Wiki

Fedora Releases

Fedora Release Schedule

Upgrading Fedora using FedUp

https://fedoraproject.org/wiki/FedUp#How_Can_I_Upgrade_My_System_with_FedUp.3F

Fedora 23 Post Install Guide

  • Run DNF updates to get the most up to date packages
dnf update -y
  • Run ssh-keygen

Run ssh-keygen -t rsa and take defaults

ssh-keygen -r rsa

Copy id_rsa.pub into authorized_keys files on other computers and copy it back to this new system

  • Install and configure Apache

Install Apache

dnf install httpd

Open firewall for apache

firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --reload
  • Fix selinux to allow ~/public_html
chcon -R -t httpd_sys_content_t ~/public_html/

Apache accessing samba share

setsebool -P httpd_use_cifs 1
  • Install Mediawiki
dnf install -y httpd mysql-server php php-pear php-xml php-mysql php-intl 
dnf install -y php-pecl-zendopcache php-gd php-mbstring ImageMagick-perl
dnf install mediawiki
  • Install GrADS
dnf install grads

Fedora Guides

Fedora 24

Fedora 20

Fedora 19

Fedora 15

How tos and Tips:

1 How do I find applications?

Go to the top left corner to activate the hotspot and then click on Applications. Or just click on the Super key (also known as the Windows key) or Alt+F1, and start typing the name of the application or a related term.

2 How do I change settings, change the behavior on laptop lid close, change fonts, modify themes?

Click on the user menu at the top right and select System Settings. For more advanced preferences, you must install the gnome-tweak-tool package. Command “yum install gnome-tweak-tool”

3 How do I shutdown/power off or restart the system?

While holding down the Alt key, click on the user menu. The Suspend menu item at the end of the menu will change into Power Off. You will get options to shutdown or restart the system.

4 How do I maximize or minimize windows?

Minimize and maximize are still available on the context menu if you right click on the window title or hit Alt+Space. You can also maximize by double clicking on the window title, or dragging the window over the top edge of the desktop. If you want to configure button appearance, use gnome-tweak-tool.

5 Is there any way to tile windows?

You can tile windows by dragging them against the left or right side of the desktop. The window is automatically sized to take up that half of your desktop.

6 How do I make the panel display the full date/time?

Use gnome-tweak-tool or use either or both of the following commands: $ gsettings set org.gnome.shell.clock show-date true $ gsettings set org.gnome.shell.clock show-seconds true

7 How I start programs automatically when logging in?

Use gnome-session-properties to configure programs to start automatically. You can also create a desktop file or copy one from /usr/share/applications to ~/.config/autostart in your home directory.

1.) Hit ALT and F2
2.) enter gnome-session-properties
3.) Click Add and complete the form


Fail back mode:

http://www.youtube.com/watch?v=cyd5kiGPmbE

Fedora 15 Boot Optimization:

http://www.harald-hoyer.de/personal/blog/fedora-15-boot-optimization

Fedora 15 Speed up Boot Time:

http://forums.fedoraforum.org/showthread.php?t=102853&pp=15

Fedora Services (Fedora 14, but latest version)

http://www.mjmwired.net/resources/mjm-services-f14.html

Fedora 14

Fedora 14 Guide
The Unofficial Fedora 14 FAQ
Personal Fedora 14 Installation Guide

Fedora 13

Fedora 13 Guide
The Unofficial Fedora 13 FAQ
Personal Fedora 13 Installation Guide

Fedora 12

Fedora 12 Guide
The Unofficial Fedora 12 FAQ
Personal Fedora 12 Installation Guide

Fedora 11

Fedora 11 Guide
The Unofficial Fedora 11 FAQ
Personal Fedora 11 Installation Guide

Fedora 10

Fedora 10 Guide
The Unofficial Fedora 10 FAQ
Personal Fedora 10 Installation Guide

Fedora 9

Fedora 9 Guide
The Unofficial Fedora 9 FAQ
Personal Fedora 9 Installation Guide

APCUPSD Help

To get apcaccess to work, apcupsd should have the following enabled:

UPSNAME Back-750
UPSCABLE usb
UPSTYPE usb
DEVICE
POLLTIME 60
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551

Adding TTF fonts in Fedora

  • Create a new directory is /usr/share/fonts:
# mkdir /usr/share/fonts/extrafonts
  • Make sure the directory permissions are the same as other directories in /usr/share/fonts
# ls -ld /usr/share/fonts/extrafonts/
drwxr-xr-x 2 root root 4096 2010-01-12 10:18 
/usr/share/fonts/extrafonts/
  • Move all your extra true type fonts into this directory, and make sure that the permissions are correct (u=rw,go=r).
  • I created a fonts.dir and fonts.scale in that directory using ttmkfdir
# ttmkfdir
  • Restart xfs (you may need to install this package and tell it run on startup).
# service xfs restart
  • Restart X (logout).

GNOME-3 Look

http://gnome-look.org/

Apache accessing samba share

  • Firewall fix:
setsebool -P httpd_use_cifs 1

F15 NVIDIA help

http://forums.fedoraforum.org/showthread.php?t=204752&highlight=No!+wrong.

GCONF help

To resolve changing backgrounds remotely, add the following to scripts:

 #!/bin/bash

 eval `dbus-launch --sh-syntax`

 export DBUS_SESSION_BUS_ADDRESS
 export DBUS_SESSION_BUS_PID

 do_other_stuff_here

Links:

http://stackoverflow.com/questions/257658/how-can-i-make-a-fake-active-session-for-gconf
http://ubuntuforums.org/showthread.php?p=7401969


GIMP help

To add outline to text:

http://gimpology.com/submission/view/how_to_outline_text

1.) Open GIMP. 2.) Now using the text tool (Shortcut: T), add some text to your canvas. I didn't make the color of the text have too much contrast with the color of the background.

   `We'll make the text stand out by giving it a dark outline.

3.) While the text tool is still selected, select the text you just created. Next, go into tool options and click "Create Path from Text". 4.) Now add a new transparent layer, using Add Layer...Transparent... under your text layer and called it "Outline". 5.) Then go to Select > From Path (Shortcut: Shift+V). 6.) Next, go to Select > Grow and select the width of your outline. I chose 5px. After you have grown the selection, fill it with the bucket tool (Shortcut: Shift+B).

   Then press Ctrl+Shift+A to Select None and there you have it: outlined text!

Sound issues

Totem-Xine

If sound stutters, make sure the following packages are installed:

alsa-driver.i386 via yum, which will also pull down an alsa-kmdl-* dependancy
xine-lib.i586
***Requires enabling ATRPMS***
yum install libdvdcss libdvdnav totem-xine xine-lib-extras-freeworld
totem-backend -b xine

PulseAudio fix

Remove pulseaudio first:

yum remove pulseaudio

Install just these packages:

yum install pulseaudio alsa-plugins-pulseaudio pulseaudio-esound-compat \
pulseaudio-libs pulseaudio-libs-glib2 pulseaudio-module-zeroconf pulseaudio-libs-zeroconf \
xmms-pulse pulseaudio-module-gconf wine-pulseaudio xine-lib-pulseaudio pulseaudio-utils \ 
pulseaudio-module-bluetooth gst-mixer padevchooser paman paprefs pavucontrol pavumeter

Change /etc/pulse/default.pa

load-module module-hal-detect --> load-module module-hal-detect tsched=0

Next change /etc/pulse/daemon.conf

; realtime-scheduling = no -->  realtime-scheduling = yes
; default-fragment-size-msec = 25 -->  default-fragment-size-msec = 10

Then reboot.

Lastly, make sure everything is set to default in Pulse Audio Device Chooser

For the entire fix PulseAudio Guide, see:

Complete Guide to fix PulseAudio problems

Removing PulseAudio

[http://forums.fedoraforum.org/showthread.php?t=226581&highlight=pulseaudio%3A+

ratelimit.c%3A+8062+events+suppressed+Increasing+wakeup+watermark+to+50.00+ms Simple solution to get rid of PulseAudio]

NVIDIA help

Drivers:

[ftp://download.nvidia.com/XFree86/Linux-x86/ Latest NVIDIA x86 drivers and

manuals]

[ftp://download.nvidia.com/XFree86/Linux-x86_64/ Latest NVIDIA x86_64 drivers

and manuals]

Installation Guide:

ADVANCED: You can install the NVIDIA kernel module for a non running kernel
(for example: in the situation where you just built and installed a new
kernel, but have not rebooted yet) with a command line such as this:
  
  # sh NVIDIA-Linux-x86-173.14.20-pkg1.run --kernel-name='KERNEL_NAME'
  
  
Where 'KERNEL_NAME' is what 'uname -r' would report if the target kernel
were running

Configuring Xorg

1.) Horizontal sync and VertRefresh lines

2.) a Modeline entry based on a Google search for xorg entry options)

3.) the Option UseEDID "False" so it would not try to get the resolution from the KVM (that was forcing it to 1024x768)

4.) Modes 1920x1200 which matches the monitors maximum output resolution.

 Section "Monitor"
         Identifier  "Monitor0"
         VendorName  "Unknown"
         ModelName   "Unknown"
         HorizSync    69.0 - 79.0
         VertRefresh  55.0 - 65.0
 #       Option      "DPMS" Disabled to prevent screensaver activation.
 #       Modeline "1920x1200" 204.95  1920 2024 2272 2744  1200 1200 1203 1244
        
        ModeLine "1920x1440" 234.00 1920 2048 2256 2600 1440 1441 1444 1500
 EndSection

 Section "Screen"
 #       Option       "TwinViewXineramaInfoOrder" "CRT-0"
 #       Option       "TwinView"  "0"
 #       Option       "metamodes" "CRT: 1280x1024 +0+0"
 #       Option       "metamodes" "2560x1600 +0+0; 1920x1200 +0+0; 1280x1024
 #       +0+0"
         Option       "UseEDID" "False"
         Identifier   "Screen0"
         Device       "Videocard0"
         Monitor      "Monitor0"
         DefaultDepth 24

         SubSection "Display"
                 Viewport  0 0
                 Depth     24
                 Modes "1920x1200"
         EndSubSection

 EndSection
To calculate the horizontal sync and vertical refresh values, you can use these sites:
http://xtiming.sourceforge.net/
http://www.bohne-lang.de/spec/linux/modeline/
http://www.arachnoid.com/modelines/


It will also give you the modeline entry as long as the resolution is in the selection list.  Otherwise, you will need to  find the proper command string from a site like this: 
http://www.mythtv.org/wiki/Modeline_Database (scroll down to the Nvidia Driver mode pool section)

Fix TV-Out Overscan problem:

1.) Install the latest NVIDIA driver: 190.36.
2.) Go to System... Preferences... NVIDIA X Server Settings; adjust Overscan setting for TV-Out.
3.) When you quit, it should write to the file: ~/.nvidia-settings-rc.
4.) Add the following start up application: /usr/bin/nvidia-settings -l

Top Help

To show multiple processors in top, do the following:

top
1
W

Be sure to do this for all users.

After executing top and pressing 1, pressing W will write to the config file in your home directory, then in future it will always show multiple CPUs on starting top without the need to press 1.

udev-settle.service

To speed up the boot process, disable these services:

# ln -s /dev/null /etc/systemd/system/udev-settle.service
# ln -s /dev/null /etc/systemd/system/fedora-wait-storage.service
# ln -s /dev/null /etc/systemd/system/fedora-storage-init.service
# systemctl daemon-reload

To analyze slow boot ups, run this command:

#systemd-analyze blame

VirtualBox

  • Install Fedora 20 on VirtualBox
http://www.zealfortechnology.com/2014/01/install-fedora-20-on-virtualbox-with.html
  • Fix Fedora 20 fast tsc calibration failed in VirtualBox
http://stackoverflow.com/questions/18055593/fast-tsc-calibration-failed

VLC Help

To fix audio/video sync issues, try the following:

/etc/pulse/default.pa

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
load-module module-detect tsched=0
.endif

For a nice VLC guide at fixing audio problems in VLC:

http://forums.fedoraforum.org/showthread.php?t=225660

YUM Help

Re: Yum update error fc14 >fc15 Usually when I upgrade versions via yum I do something like this:

1) make a list of packages currently on the system

Code: rpm -qa --qf "%{NAME}.%{ARCH}\n" | sort > rpmlist

2) yum remove any packages causing problems
3) attempt yum update to new version. If problems, return to 2.
4) After successful update, restore packages removed:

Code:

for pkg in `cat rpmlist` ; do rpm -q $pkg ; if [ $? -ne 0 ] ; then echo $pkg >> needed ; fi ; done for x in {a..z} {A..Z} ; do yum -y install `grep ^$x needed` ; done yum -y install `cat needed`

From there, resolve any packages that the last yum failed to get manually.