Fedora Docs Directly in your Electronic Reader

Publican, which is the software that generates Fedora Documentation, now supports OPDS, the Open Publication Distribution System. OPDS is a syndication format for electronic publications. Thus, Electronic Reader programs or devices can be given a URL for the Fedora Docs catalog, and can browse through it, and download publications for reading.

If you have a program that supports OPDS, add in the URL http://docs.fedoraproject.org/opds.xml, or if you want our preference…US-English, try http://docs.fedoraproject.org/en-US/opds.xml.

We use Aldiko,  an ebook book reader for the Android mobile OS. But there are several more. For a list of some complaint readers, click here.

Fedora 11 for Servers

It is time to talk about our Fedora 11 server migration. Why, do you ask, are we discussing this three months after Fedora 11 was released, halfway to the release of Fedora 12?

We finally upgraded our server to Fedora 11 this morning, after a weekend of work. In previous generations, we’d offloaded all of the data, formatted all the drives, and installed the new OS. And we, to keep up, would have to do this every 6-9 months, every time a new Fedora release came out. And our data kept growing. When you are storing many gigabytes of information, trying to slowly offload to a 4.3GB DVD is a slow process.

This weekend, we threw in the metaphorical towel, and got a 1.5TB drive and installed it in the computer. This allowed us to empty our older drives one by one and reformat them to EXT4 format. We had previously been using the more established XFS format. EXT4 is an update of the established EXT3 with improved handling for large files, among other things.

Improved large file handling is very important to us, because we use our server as a storage base for our MythTV DVR. Large file handling is required when an hour of over-the-air broadcast HD can be more than 8GB.

After reformatting all the drive to EXT4, we discovered another feature we’d never noticed before. The Reserved Block Percentage for the Superuser. A default setting, it holds back 5% of the reported available drive space for superuser privileged processes, ensuring that even if the hard drive fills up, the running processes can still do their work. Which is all well and good on an OS partition. But on a data partition, 5% of  a TB drive is almost 50GB being held in reserve. Ultimately, now that we know it is there, we left it turned it. You can override it as needed.

While we kept all the data on the data drives, although we did move around what was stored where, we did wipe and redo the OS partition completely. This is always a learning experience because as we rebuild parts of it, we add and fiddle with features, some of which are new to the upgraded OS. For example, we added an hourly run of status information which is ported to Linux’s MOTD(Message of the Day) feature so that anyone logging in receives a notification of them.

We also tried running tuned. Tuned isn’t enabled by default under Fedora 11, and it is merely an early version of a project that should be fully realized in Fedora 12. For several versions, Fedora has been auditing programs to look for redundancy or inefficiency. One of the most solid examples of that was a goal of a 20-second boot time.  There is an apparent lack of good discourse on tuned that we found, but the service will allow cpu, disk, and net devices to adapt dynamically to usage, reducing power, according to profiles set.

Tuned, unfortunately, kept bringing down our network link, causing hiccups. For now, we’ve turned it off. Power Management is a goal we aspire to. We want constant availability with low power usage, which means a service that turns things off when not in use. We look forward to the next generation of this program, when it may be enabled by default.

Since our server does not run a graphical environment by default, nor does it have a monitor attached normally, the experience of using it is different than most using a Linux machine. We’re always looking for things to cut from it to improve its efficiency. During this latest iteration, we cut a partition, no longer creating a separate home partition for the system. We never store anything in the home directories anyway.

You will be hearing more about our server. Our systems are the testbed for practical experiments in spinning down hard drives and other techniques to try and reduce waste. The drives are even 5400rpm ‘green’ drives, as the data doesn’t require anything faster. If you are interested in more specific details about the system, comment. We’d love to hear your feedback.

Fedora 11 – Palimpsest Saves the Day

Fedora Linux 10
Image by Dekuwa via Flickr

Yesterday, those of you following our tweets know that we continued our Fedora migration plan. The plan was sidetracked when the new Fedora 11 monitoring advised us of a hard drive problem.

SMART, System Monitoring and Reporting Tool, is built into every hard drive, and does not seem to be utilized under Windows(feel free to correct us on this. It might be hiding there somewhere). Linux has always offered a monitoring daemon, but now that is coupled with Palimpsest Disk Utility, a frontend to the disk functions of DeviceKit, so alerts come to the desktop. DeviceKit is a replacement for the older HAL system, and creates a uniform interface.  “This is a simple system service that a) can enumerate devices; b) emits signals when devices are added removed; c) provides a way to merge device information / quirks onto devices.

So, after letting it do a check to confirm, we swapped out the drive, and used it as an excuse to clean the interior of the computer and add extra ventilation, and resumed installation.

The two machines done are part of our MythTV system, where simple computers take the place of cable boxes, so nothing is stored on the drive except the software. All the video comes over the network from the backend(the last machine to get Fedora 11). But had the hard drive contained critical data, this feature would have prevented a major disaster.

In a disappointment, both machines, which run Nvidia video, did not work with Plymouth by default, but the boot on them is so fast you hardly see the splash screen anyway.

As a final measure, the remaining Fedora 10 machine will now download its updates directly from the internet, allowing us to delete our 30GB Fedora 10 Repository. The Fedora 11 machine will continue to use the assembled Fedora 11 repository.

The remaining machine is the hardest because it is where all the data is stored. Fedora Upgrade Time is a time to think about new hardware. Perhaps a hard drive might need to be replaced, etc. Migration of large amounts of data is difficult. The system must be slowly backed up and emptied, using a combination of optical burns, backup hard drives, etc. It will take a bit more work.

We continue to find new things to love about Fedora 11. The continual improvement to hardware handling is one of them. More to come.

Reblog this post [with Zemanta]

First Thoughts: Fedora 11

Image representing Fedora as depicted in Crunc...
Image via CrunchBase

We plan to offer more thoughts later, as we will be doing some field-testing. We have installed Fedora 11, code named Leonidas on a MSI Wind U100 netbook which we will be taking with us on a trip this weekend, allowing us to explore it before rolling it out to other systems.

Our initial impressions are that F11 is a winner. It has been cleaned up at every level. We installed it from scratch and proceeded to install everything we routinely use on a mobile system, including Firefox(with Xmarks, formerly Foxmarks to store our bookmarks), Dropbox for our Documents and some configuration files, and Adobe Air so we can run our Twitter client. There was a problem with Adobe Air, but a quick net search found us the solution(a symbolic link so Air could find a library). The whole process took very little time.

Plymouth, Fedora’s graphical boot loader, now supports Intel based graphics cards, which are found in a majority of productivity based notebooks and netbooks. Since our previous systems didn’t support it by default, and we saw no need to override that, this is the first time we’ve seen the graphical loader outside of one try. Plymouth is plug-in capable for different boot screens. The default one is merely a circle that gradually fills in until it is complete. We’ll have to take a look at the alternatives there as well.On the other hand, it is a boot screen. We don’t want to spend too much time looking at it, especially if it slows things down to render something fancier.

Fedora also has changed the default volume group name to include the hostname…a minor touch, and the ext4 file system. Anaconda, the Fedora installer, continues to be fairly user-friendly. Fedora has rebuilt many areas of the program, but the feel is pretty much the same for installation.

Into the OS itself, Fedora 11 had a goal of a 20-second boot time. It isn’t quite achieved on a netbook, but it came fairly close. The netbook is the only system we use that doesn’t support the 64-bit architecture, so we used the 32-bit, which has now been rebased as i586 instead of i386 We also enabled Presto to reduce update sizes. On our first update, we had a 91% download savings with no noticeable problems.

The new versions of Gnome and Firefox look subtly different, but we haven’t had a chance to experiment with them yet, beyond configuring things the way we want them. We will report back on this.

Finally, as this is a mobile computer, Fedora 11 boasts new power saving measures, including an update to the handling of relatime backkported from the 2.6.30 kernel, which was just released, but after the Fedora 11 release. We look forward to seeing how these power measures enhance battery life.

So, in the end…Fedora, better than ever, no show-stopping problems we’ve seen so far…and more to come.

Reblog this post [with Zemanta]

Fedora 11 Delayed by One Week

A Screen Shot of Fedora 8
Image via Wikipedia

To our disappointment, the Fedora 11(Leonidas) launch date has pushed back by one week. As noted on their announcement mailing list….

In a meeting today between Release Engineering, QA, and various team
leads, we decided to enact a 7 day slip of the Fedora 11 release date.
The primary reason behind this slip is the state of our blocker bug:
https://bugzilla.redhat.com/showdependencytree.cgi?id=F11Blocker&hide_resolved=1 We cannot begin Release Candidate phase until the blocker bugs are closed or at least in MODIFIED state. We are not there today, which would be our last day to enter RC phase and still have enough time to release on the 26th. We hope to enter RC phase in the next couple days, and hit our new target, June 2nd.

Freeze breaks for critical bugs will still be accepted, however trivial
bug fixes should be pushed as updates via bodhi. Thanks!

Better to have a stable system than an unstable one. Here’s hoping for June release.

Reblog this post [with Zemanta]

Getting a Copy of Fedora

Fig 16. A mounted ISO image and a network moun...
Image by redhatmag via Flickr

No matter how much we learn, there is always more we can learn. We hate to be regurgitating comments to our own blog posts, but we continue to admit it when we’ve learned something new. But another comment from the head of the Fedora Project prompted us to write this post, on how to get a copy of Fedora if we’ve sold you on the idea of trying it out.

If you aren’t certain whether you want to install Fedora to a computer, you can try a Live CD. Fedora comes in two basic flavors(until the next version, where there will be a change in architectures). A 32-bit and a 64-bit version. We use the 64-bit version, as our processors can handle it. You may need to check. 64-bit only comes into play if you have more than 3.5GB of RAM, but if your processor can handle it, why not use the version that matches your computer?

In addition to the OS installation DVDs, you can get a Live CD which will launch a fully operational version of Fedora off a CD, or install that image to a USB drive so your settings will be saved in between boots. The basic version is a standard desktop which can be used to install the base operating system, after which the remaining packages you want will be installed and downloaded. This is also the design Ubuntu offers.

The nice thing about Live CDs is that you can test drive the OS without committing to it. The standard Live CD,called the Desktop Edition uses Gnome as its default desktop. Fedora offers an alternate KDE Live CD. It also offers some custom spins, which is defined as “a community release that has been created using one of the Fedora remixing tools, preferably either Pungi (regular images) or livecd-creator (Live CD/DVD’s). Custom spins should be strict subset’s of packages available in the official Fedora repositories.” Which means no official spins which add MP3 or DVD codecs can be hosted by Fedora. Current official Spins include:

  • XFCE – A version of the Fedora Desktop Live CD that uses XFCE as the desktop instead of Gnome or KDE
  • BROFFICE – Fedora will have for the first time the BrOffice.org brand for the office suite. This spin is intended to be a Brazilian Portuguese localized spin that provides the legal brand for OpenOffice.org in Brazil.
  • FEL – Fedora Electronic Lab, a high-end hardware design and simulation platform. This platform provides different hardware design flows based on the semiconductor industry’s current trend. FEL maps in new design, simulation and verification methodologies with opensource EDA software.
  • DEVELOPER – Live DVD jam-packed with various development applications, such as Eclipse, Anjuta, git, cvs, lynx, emacs, and a hex editor; and build tools like GCC, Inkscape, Koji, createrepo, mock, rpmdevtools, rpmlint and much more.
  • AOS – A JeOS spin for building pre-installed, pre-configured, system images. The Spin consists of a small set of packages upon which the appliance building tools can be used. The spin is part of the Appliance Tools feature. This feature consists of a tools and meta-data that make it easier for anyone (ISVs, developers, OEMS, etc) to create and deploy virtual appliances.
  • EDU-MATH – Educational spin tailored toward mathematics and scientific applications
  • GAMES – A LiveCD with a showcase of games from Fedora. Here’s a list of included games.

Fedora offers direct download of ISOs, torrents, and Jigdo. We mentioned Jigdo in a previous post. It is a JIGsaw DOwnloader. It takes RPM package files and assembles them into an install image. We had wondered why the custom spins and Live CDs are not offered this way, and had sent several emails asking, with no response, till the Head of the Fedora Project(maybe we should name him a Gadget Wisdom correspondent) came back with this answer.

Jeroen van Meeuwen from our Spins SIG was kind enough to send me this information on Jigdo:

“The jigdo method of distribution basically works as follows: for every file in a .iso that you tell jigdo is available from somewhere else, it strips the file (or slice, or piece of the .iso jigsaw) from the .iso leaving you with a relatively small .iso.template (only the parts of the .iso that are not available from somewhere else) and a list of files you can get from somewhere else.

“Now, with installation media, this means there’s a small part of the .iso you need to download in the form of a .iso.template, while the rest (install.img, and all RPMs) is available from any mirror (and you are going to use the closest and fastest one).

“With Live media however, the contents of the .iso is just a few files. Some of them are really small (vmlinuz0, initrd0.img), while others are very large and make up 99% of the size of the .iso (osmin.img and squashfs.img). Splitting those slices from the .iso isn’t very useful, because you would end up downloading a small .iso.template, several very small files, and then one single beast of a file (squashfs.img).”

Hopefully this helps clarify our jigdo availability. Thanks for the question!

So, our assumption that this would be helpful was incorrect, and we learned something new. We look forward to sharing other things we don’t know as we share and enhance our Fedora knowledge.

And for the Fedora Project…give it a shot. You certainly have a lot of ways to experience it, from full immersion to merely dipping your toes in. Hmm…maybe we should become a Fedora Ambassador, although we have yet to get someone to switch to Fedora for good. We came rather close with one person, but he fell off the wagon and went back to Microsoft.

Reblog this post [with Zemanta]

Fedora 11, Updates and Migration

Fedora Core 6 running GNOME with activated AIG...
Image via Wikipedia

We continue to want to write about Fedora, especially in light of our recent inspiration. We were reading this post on a blog about the fact that Fedora 11 will have roughly 60 new features, some of which we previously summarized. The last few releases have had less than half that. Today is the feature freeze for Fedora 11.

The author predicts these features will have other distributions rushing to catch up.  The beta freeze of F11 is in a week, with the Beta release on the 24th. The final release is set for the end of May.

Every time there is a new release of Fedora coming, we wipe and reinstall every system from scratch. Our preparations begin a month in advance, when we start mirroring the complete Fedora repository and the update repository for the release, as well as our favorite 3rd-party repositories. Every night, a cron job updates any changes made.

Jigdo allows us to use those files to assemble an install image. And we maintain the repository and keep it updated to keep our systems updated. As we mentioned previously, the new DeltaRPM system will save download bandwidth.

Creating a local repository is easy. You start with your installation DVD, if you have one, and copy the packages to a directory. Then, run the createrepo command on the directory(you may have to install it). The directory should be accessible on a local web server…we use lighttpd over apache for memory reasons(but more on that another time). Then, you can edit your yum configuration files in one of two ways…adding a local only repository file, or editing the existing files to redirect to the local server instead of one of the Fedora mirrors.

To sync a remote update use a command like this…

rsync -avrt rsync://mirrorsite/fedora/linux/releases/10/updates/x86_64/ /var/www/html/yum/updates/10/x86_64

Go to the Fedora Mirror List to find mirrors that work for you.

As a final step, the Fedora Unity project releases re-spins of the Fedora releases with updated packages, as well as the Fedora Everything spin, which is a multiple DVD release of the entire Fedora repository.

With hard drive space so cheap lately, and metered internet coming into vogue, this is a decent solution. Once one has the latest distribution, one has to figure out how to distribute it to multiple systems. We start by loading it onto one system, and breaking it in before distributing it elsewhere.

More to come…

Reblog this post [with Zemanta]

More on Fedora

Linux distribution
Image via Wikipedia

After our post yesterday on Fedora, we received a comment from Paul W. Frields, who is the Fedora Project Leader and chairman of the Fedora Project Board. He wrote:

I think the idea that we’re “regaining” users implies that we lost them somewhere along the way, which isn’t what our statistics show. Rather, as the total size of the Linux-user pie has become larger, we’ve continued to grow consistently. There will always be distro-hoppers looking for that elusive perfect Linux distribution — and more often than not, failing in that quest — but in general the strength of our development model, rapid release cycle, and putting the freshest software in front of users in a stable, easy to manage platform have retained users’ hearts for a long time. It’s true that we may not have the marketing push of Ubuntu; it’s a fine distribution and community, but given the choice between marketing features and creating them, we definitely choose the latter. We’re very happy that many of the features we create are adopted by other distributions, because that shows, first, the strength of the free software development model; and second, that our policy of working directly with the upstream, as opposed to creating a crazy quilt of technically questionable patches in our own distribution alone, is the winning strategy for long-term sustainability.

And he is right, we were inaccurate with the title. Fedora is improving its share of the overall Linux market, which continues to grow. There has been a lot of growth on the Ubuntu front, because of their aggressive marketing push. We’ve noticed developers seem to be releasing Ubuntu packaging and not is offering up-to-date Fedora packing.

Three pieces of software we’ve referenced on this blog come to mind. Dropbox, Boxee, and XBMC. Dropbox is a file sync application which offers a current Ubuntu package, but only a Fedora 9 rpm(which fortunately works with Fedora 10). XBMC and Boxee are both supported under Ubuntu, and maintained there, but require a series of source code hacks to work under Fedora.

Now, this is hardly a reflection on Fedora. XBMC and Boxee contain multimedia packages that Fedora cannot include for legal reasons…nor can Ubuntu for that matter. It is a reflection on our original point…essentially that Fedora(which we use) is gaining popularity. As Paul reminded us, one of the best parts of Fedora is that they work directly with upstream maintainers…those who write the packages Fedora is assembled from, such as the Gnome Desktop, which is a major part of multiple distributions, so that the alterations are done at a level above the individual distribution. Thus Fedora enhances the overall Linux experiences for all users, by being involved.

Reading a draft of this article on Fedora, it states that “the Fedora project has four basic foundations, the 4 Fs, its corner stones. Freedom, Friends, Features and First are the core values that govern us.”

“Freedom” represents the dedication to free software. It lays emphasis on the creation, usage and promotion of free, open source alternatives to proprietary or closed source solutions. Our aim is to provide software that is reliable as well as a hundred percent legally redistributable to everyone.

“Friends” signifies the strength of the community. The project consists of people from different parts of the world with different ideas and views with belief in Fedora’ s core values as their binding force. Everyone who wants to help is welcome at the community. Our decisions and steps are taken after a consensus is reached, as between friends!

“Features” represents our commitment to excellence. Fedora is responsible for the creation and constant improvement of software that takes the Linux world forward. It is for the benefit of all users of free software regardless of their distribution of choice.

Lastly, “first” represents our commitment to innovation. It signifies that every major step in the project is taken with a view of the future. Fedora is described as a bleeding edge distribution that always provides the latest available for Linux.

Fedora has some great features/goals for Fedora 11. They include, to name a few:

  • 20 Second Startup – Part of their continual goal to speed this up
  • Automatic Font and Mime Installer – Allowing programs on the desktop to automatically install fonts, codecs, and clipart
  • CrashCatcher – to help users with bug reporting
  • Ext4 – Replace the default ext3 partitioning scheme with ext4, its successor.
  • Updating the following included programs: Firefox to version 3.1, gcc to 4.4, Gnome to 2.26, NetBeans to 6.5, Python to 2.6, Thunderbird to 3, Xfce to 4.6, Xserver to 1.6.
  • Improved Fingerprint Reader support
  • Multiseat support – making it easy to  a single computer to operate with independent keyboard, mouse, and monitor for multiple users
  • Improve Power Management
  • Presto – Presto supports upgrades using DeltaRPMS. A DeltaRPM is a file that only has the differences between the last version of the software and the new one, allowing it to be much smaller. The DeltaRPM can be used to generate the updated package. This will reduce overall load on servers by not requiring users to download pieces of a file they already have.
  • Volume Control improvements – There have been problems with volume control since Fedora added Pulseaudio
  • Windows Cross-Compiler – Allows users to compile Windows programs without Windows

And many more…We look forward to enjoying them.

Reblog this post [with Zemanta]

Fedora Regains Users

Image representing Fedora as depicted in Crunc...
Image via CrunchBase

We’re Fedora users. Sure, Ubuntu is more popular, and openSuse and other distribution are gaining popularity, but we started with Red Hat 6 many years ago, and have had an installation of each of the Fedora distributions since. They are up to Fedora 10, and we are talking about distributions of Linux, for those of you not familiar with them.

Two years ago, Eric S. Raymond, a Linux evangelist, commented:

“Over the last five years, I’ve watched Red Hat/Fedora throw away what a near-unassailable lead was at one time in technical prowess, market share and community prestige. The blunders have been legion on both technical and political levels.”

Now, we can agree that Fedora has had some problems finding its voice. But now, Paul Frields, the Fedora Project leader, declared that since the release of Fedora 10, they’ve counted about 1 million new installations and approximately 2 million unique visitors to fedoraproject.org each month. Checking out the Ranking of various distributions on Distrowatch for the last 12 months, Fedora is #4, beaten by, in order, Ubuntu, openSuse, and Mint. The site is not a fully accurate indicator of usage, but it does provide a baseline to consider.

openSuse, is a project sponsored by Novell. Mint is a distribution based on Ubuntu whose goal is to provide a more complete out-of-the-box experience by including browser plugins, media codecs, support for DVD playback, Java and other components. Fedora doesn’t include these things in the default distribution for legal reasons.

Fedora 10 included many significant changes, including a new graphical boot system called Plymouth, and boot-time improvements. Speeding up the boot process is a major push for all Linux distributions right now, and developers are looking at unnecessary delays they can remove, such as probing for obsolete hardware, and how they can present the startup screen while loading certain things in the background, so the user can start working while programs are continuing to load. Fedora continues to push the envelope with new technologies, and while there are still some issues even we admit it has.

To map our improvements…wireless support has been vastly improved over the last few versions, and has worked out of the box for us with few disconnects. Some elements of any distribution are upgraded versions of software included…such as the latest version of OpenOffice. For these, any problems cannot be blamed on Fedora itself, except in how the various pieces fit together. So far, no complaint on that front. Multimedia support under Fedora is a bit tricky, because Fedora, for legal reasons, cannot include proprietary codecs, including ones for MP3 or DVD. But there are a variety of start guides that take you through adding 3rd-party support.

For video DVDs, which are encrypted, there is no software you can license to play them. There is only a decryption program which is open-source, and thus disapproved of by the DVD industry, despite the fact they’ve offered no alternative. So, it can be done, but it can’t be included in any distribution to avoid lawsuits.

We’re glad that Fedora is regaining users. We’re hoping it means more projects, Boxee, for example, release their software in Fedora-compatible packaging. We’ve thought about migrating one or more systems over to Ubuntu, but we know the ins and outs of Fedora design, and sometimes you stick with what you know.

Reblog this post [with Zemanta]

Fedora Unity Does a Release

Image representing Fedora as depicted in Crunc...
Image via CrunchBase

We’re devotees of Fedora Linux, despite alternatives, and the incredible popularity of Ubuntu, which we have spent some time with. But we started with Red Hat 7, and with Fedora as its successor, we know more of the ins and outs of this distribution.

Tonight, we’re using to Jigdo to assemble new DVD images, as the Fedora Unity project has released a Fedora 10 re-spin. For those of you not familiar with these things, some background.

Jigdo is a wonderful thing, and has been used by various Linux distributions for some time, and only recently as a method for Fedora distribution. The idea is this…a CD or DVD for a Linux OS is merely a compilation of various software packages and configuration files. Instead of downloading an entire image, Jigdo assembles it from its components. This has several advantages…for one it doesn’t tax any one site. Jigdo, given a mirror list, can download files from multiple sites to assemble its image.

The Fedora Unity Re-Spin is a Jigdo image of the standard Fedora installation media, using any updates that have been released since the original release. Thus, if you install Fedora 10 on a new system, you don’t then have to download a few hundred megabytes of updated files to each system. We maintain a local mirror we use to update multiple systems at one time, and using it and Jigdo, can assemble a new installation DVD in less than 5 minutes.

The glaring gap in the Fedora Jigdo release is that specialty Fedora spins are not released as Jigdo templates. Fedora offers LiveCDs and custom distributions of various types, and these are distributed only as ISOs.

Either way, the Re-Spin system is a good one, and Fedora Unity provides a service. For those of you still on Windows, check out this Lifehacker article on their equivalent, known as slipstreaming.

Reblog this post [with Zemanta]