Difference between revisions of "Fedora Tips"

From TheBestLinux.com
Jump to navigation Jump to search
Line 15: Line 15:
 
</pre>
 
</pre>
 
<br />
 
<br />
 +
<br />
 +
== Fedora Post Install Tips ==
 +
=== Fedy - Automates Install of Non-Free Stuff ===
 +
'''Fedy makes installation of non-free stoftware, such as video and audio codecs'''
 +
<br />
 +
==== Fedy Installation Process ====
 +
Download the latest source code from github:
 +
<pre style="color:blue">
 +
mkdir /tmp/fedy-src
 +
cd /tmp/fedy-src
 +
git clone https://github.com/satya164/fedy.git
 +
</pre>
 
<br />
 
<br />
 
Check MySQL for SSL functionality:<br />
 
Check MySQL for SSL functionality:<br />

Revision as of 06:57, 17 June 2015

Fedora Linux Tips, Tricks, Fixes & More!

Note: Most of this information also pertains to CentOS, SuSE, Mandriva, and other RedHat derivatives


Setup yum repo for Google Chrome Web Browser:

cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - \$basearch
baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF



Fedora Post Install Tips

Fedy - Automates Install of Non-Free Stuff

Fedy makes installation of non-free stoftware, such as video and audio codecs

Fedy Installation Process

Download the latest source code from github:

mkdir /tmp/fedy-src
cd /tmp/fedy-src
git clone https://github.com/satya164/fedy.git


Check MySQL for SSL functionality:
show variables like '%ssl%';

Manual Network Configuration Using the Command Line</3>


When setting up a LAMP app, if you get this error during config:
date.timezone not set
Edit /etc/php.ini and add:
date.timezone = America/Los_Angeles

Play video from webcam using MPlayer command line:
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0

This example assumes that your webcam device is at /dev/video0
The resolution (width=??? & height=???) should be chosen to match the output of your device.

Use Mencoder to Record with MPlayer

Without Audio:

mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -ovc
lavc -o webcam.avi


With Audio:

mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0:forceaudio:adevice=/dev/dsp1 -ovc
lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi



More Info on Above:


Type 'man mencoder' for more info on the audio options.
/dev/dsp1 refers to the webcam USB Audio device.
/dev/dsp refers to the sound card.


Email Setup with Postfix, Dovecot & MySQL:
<a href="file:///home/jamie/ERMA/Latest_Email_Server_Setup_Docs_Info/Postfix_Dovecot_MySQL_HowTo.html">Local</a>

Change Time Zone on OS Using Command Line:
cp /usr/share/zoneinfo/Zone_You_Want to /etc/localtime overwriting the exisisting /etc/localtime file. Reboot and you are done!
OR
Use the new timedatectl utility! As root, type timedatectl list-timezones to list available time zones to pick from Then, type timedatectl set-timezone TimeZone_You_Want.

Fedora Core 17 bootup error message saying can't load font file "True". Fix for this error message is here:

According to the bug report, it's an anaconda bug which can't be fixed on an installed system, so the fix is to manually change it yourself.
Just manually change True every place it is used as a font name in the following 3 files:

/boot/grub2/grub.cfg
/etc/sysconfig/i18n
/etc/default/grub

Typically it was latarcyrheb-sun16 on most systems.

You could use latarcyrheb-sun32 if you want a bigger font for boot messages and in console screens.
sysfont probably has a default font it uses if not specified, so you probably could do without the sysfont parameter without any problems.

Link to bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=799401