Category Archives: Computer – Linux

Fedora 21 (TwentyOne) workstation installation

Well, I undertook installing the latest Fedora on a desktop computer for a friend, and as always I needed to address the same three issues immediately upon install…….  One  MAJOR difference now, is that you actually install from the Workstation Live DVD unless you want a server.  (A server will give no desktop, but rather just a simple text login.)  I guess the thinking is that anybody that will install a server is adept enough to handle a command line interface.

Screenshot from 2014-12-27 12:53:55I positively HATE the new Gnome3 interface, and I am sure my friend will also.  So, I set it to use the Gnome Classic Display Manager.  😉

After that was taken care of, it was time to address the lack of mp3 support and the non-working audio.  So, I addressed the non-working audio first, right after I installed YumEx.  (I’ve gone over how to do that in the past, so won’t again.)  Looking into the audio device (by clicking in the upper right corner of the screen), Fedora installed ‘Dummy Audio’ device.  So, off to Realtek to get the proper driver… http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false  ….  simply accept by checking the box, then click ‘next’.  Download the proper linux driver, depending on your kernel.  Then, double click into the ‘home’ icon, then Downloads.  Double click what you just downloaded, and extract.  The readme says to run ./install, so do that from a shell as root.  Then, one of the rare times you have to reboot, and the audio is now working.  (Of course, if your computer doesn’t have a realtek audio device, your instructions will differ.  😉

Next, to take care of the mp3 support.  It is as simple as installing a couple yum repositories from rpmfusion.  You can either do a google search for ‘rpmfusion install’ or go here:  http://rpmfusion.org/Configuration/  You will want to click on the free and nonfree repositories for Fedora21.  Firefox should default to open with Software Manager, or something…..  Just click Install.

Now, we can use YumEx to install the missing mp3 support.  Run it, and search for ‘mp3’.  Install lame and lame-libs, as well as any dependancies.   Next, search for gstreamer1.  Install gstreamer1-plugins-ugly as well as dependancies.  (This should take care of allowing mp3 playback in rhythmbox.)

That’s pretty much all there is to installing a fairly workable Fedora21 desktop.  The installation only took about 30 minutes, and the boot time is only about 30 seconds to the login prompt, and displays the desktop 5 seconds or so after that.  And, this, on a compaq 8000 Core 2 at 3GHz with 4GB of ram.  😀

Webserver passwords, as well as web ‘symlinks’ WERE broken due to ONE bad .htaccess file!

Well, I unexpectedly caused the web server’s password protected directories ALL to go down the drain with just ONE mistake in ONE .htaccess file.  Not only that, but many symbolic links stopped working in apache, even though they still worked in a CLI.  I am such a dumbass, heh.  Here’s what I did:

This is an example of the .htaccess file I created:

# cat .htaccess

AuthUserFile /XXXXX/XXXXX/XXXXX/.xxxxx AuthGroupFile /dev/null
AuthName “Sam’s Blog”
AuthType Basic

<Limit GET POST PUT>
  require user xxxxx yyyyy
</Limit>

The offending line is in Bold Blue, more specifically that one little old apostrophe.  😉

All fixed now, boys and girls. 😀

‘NEW’ page now working on CRAB

 

Got the NEW page working on the CRAB server……  It was more than likely a side effect of the Apache server upgrade somewhere around the Fedora 18 or 19 upgrade.  Here’s how I did it:

I became root user, then opened a terminal in the requests directory.

# nano .htaccess

Then, I put the following into the file:

Options +Includes
AddType text/html .html .shtml .txt
AddOutputFilter INCLUDES .html .shtml .txt

Saved the file, then restarted Apache as follows:

# systemctl restart httpd

That took care of it, but I think I shall try putting that .htaccess file in CRAB’s document root, as well as the main server document root.  I think that might be a better place for that file.  😀

Yet another issue with Fedora 20. (This is getting old)

Well, tonight, while trying to track down a firewall (I think) problem, I noticed that my messages log file, as well as all the other logs in /var/log/ were not being written, and were at 0 bytes.  Not very useful to tail.  So, I discovered that Fedora was moving away from rsyslog.  I was not happy.  So, I became root and:

# service rsyslog start

That took care of starting the logging back up, and to make sure that it starts after a reboot, I used nano to edit /etc/rc.d/rc.local and this is what I added towards the top of the file:

## Enable logging (Due to Fedora 20 suckiness)

service rsyslog start

THAT most definitely expresses my sentiment.  😉  I’m sure that uncovering these little issues is far from over, and all I can imagine is that Fedora is trying to ‘dumb down’ the OS to make it more like Windows, or Mac OS, in order to get a wider user base.  Might be what the average ‘Point and Click’ user wants, but NOT what I want.  Good thing that I’ve been at this game long enough to figure out how they are trying to tie my hands.  Well, now that I have the source port numbers, I can get back on the road to figuring out my problem, tomorrow.  😉