Fedora 16 pre/post-installation setup

This is pretty much the same as my post for Fedora 15, but I modified some details to make sure everything is relevant for Fedora 16.

I also converted the steps that requires downloading and installing into one executable command, whenever possible. I also added the -y option to the yum commands so we can skip the questions if we really want to install the packages since most of the time we type ‘yes’ anyway.

These are the packages I chose during the pre-installation setup:

Applications

  • Design Suite (contains GIMP and OptiPNG, plus more)
  • Office/Productivity (contains LibreOffice)
  • Sound & Video (checked k3b)

Development

  • Development Tools (checked cmake and PyLint)
  • Java Development

Servers

  • Mail Server (SendMail)
  • MySQL Database (checked php-mysql)
  • PostgreSQL Database
  • Printing Support
  • Server Configuration Tools
  • Web Server (mod_python, mod_ssl, php, php-ldap)

Base System

  • Administration Tools
  • System Tools

And here’s my post-installation setup:

Update

Updating for the first time also installs the GPG keys, which are needed so you won’t get errors regarding unsigned packages when you use the “fedora” and “updates” repositories of Fedora. In our terminal, as root, type:

yum -y update

RPM Fusion

From the RPM Fusion website site:

RPM Fusion provides software that the Fedora Project or Red Hat doesn’t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.

RPM Fusion is a merger of DribbleFreshrpms, and Livna; our goal is to simplify end-user experience by grouping as much add-on software as possible in a single location.

To install both the free and non-free repositories, simply download and double-click the RPM Fusion free for Fedora 14, 15 and 16 and RPM Fusion nonfree for Fedora 14, 15 and 16 from the RPM Fusion Configuration page.

Google Chrome

yum -y install lsb # dependency
rpm -ivh http://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm

Mozilla Firefox

Firefox add-ons that use.

Azureus

This is what I use to download torrents.

yum -y install azureus

p7zip

For operating with the 7z file archiving format.

yum -y install p7zip

Filezilla

For transfering files between machines.

yum -y install filezilla

pgadmin3

For PostgreSQL database administration.

yum -y install pgadmin3

VLC

For watching videos without worrying about the file formats:

yum -y install vlc

Unrar

For extracting RAR file archives.

yum -y install unrar

Grip

CD-ripper with database lookup/submission to share track information over the net, supports OGG and FLAC and adding ID3v1/v2 to MP3s.

yum -y install grip

Skype

rpm -ivh http://www.skype.com/go/getskype-linux-beta-fc10

PulseCaster

This is what I use for recording Skype calls.

yum -y install pulsecaster

vsftpd

Secure, fast FTP server

yum -y install vsftpd

Alacarte

To create custom application launchers in Gnome 3.

yum -y install alacarte

PHP

Some PHP modules that I need for web development.

yum -y install php-gd php-mbstring php-pgsql php-xml

MySQL Workbench

For designing databases visually.

yum -y install mysql-workbench

Calibre

For converting e-books to different formats and for managing your e-book collection.

yum -y install calibre

chmsee

HTML Help viewer for Unix/Linux (for viewing .chm files).

yum -y install chmsee

Development files for Qt toolkit

To develop applications using the Qt toolkit. And include the graphical configuration tool as well.

yum -y install qt-devel qt-config

GStreamer non-free plugins

From the Fedora Unity Project:

GStreamer is a multimedia framework used by many media players including rhythmbox, banshee, totem, listen, exaile and others. Due to legal issues support for various non-free formats , including mp3 files, aren’t included with GStreamer by default. You can add support for mp3 and other formats by installing an add-on package from the third party repository rpm.livna.org

yum -y install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg phonon-backend-gstreamer

FFMpeg

yum -y install ffmpeg ffmpeg-libs

DVD playback

yum -y install libdvdread libdvdnav lsdvd

JavaHL

To avoid this error in Eclipse and Aptana.

yum -y install subversion-javahl

Oracle JDK

Download and install the Java SE SDK RPM from the Java SE Downloads page

rpm -ivh http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm

Then setup Java JDK java, libjavaplugin.so (for Firefox), javac, and jar using alternatives –install:

alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_01/jre/bin/java 20000
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so  libjavaplugin.so /usr/java/jdk1.7.0_01/jre/lib/i386/libnpjp2.so 20000
alternatives --install /usr/bin/javac javac /usr/java/jdk1.7.0_01/bin/javac 20000
alternatives --install /usr/bin/jar jar /usr/java/jdk1.7.0_01/bin/jar 20000

Add the following JAVA_HOME environment variable to /etc/profile:

export JAVA_HOME="/usr/java/jdk1.7.0_01"

Aptana

Download and extract Aptana 3 from http://www.aptana.com/.

wget http://download.aptana.com/studio3/standalone/3.0.6/linux/Aptana_Studio_3_Setup_Linux_x86_3.0.6.zip
unzip Aptana_Studio_3_Setup_Linux_x86_3.0.6.zip

GnomeTweakTool

Customize advanced GNOME 3 options and easily change the font sizes for applications, documents and windows.

yum -y install gnome-tweak-tool

After installing TweakTool, I customized my fonts as follows:

  • Document font: Sans 10
  • Monospace font: Monospace 10
  • Window title font: Cantarell 10

Startup services

Make sure Httpd and MySQL starts up on boot.

chkconfig --levels 235 httpd on
systemctl start mysqld.service
systemctl enable mysqld.service

Make personal user space accessible to apache user

First, add apache user to user group. Execute a command similar to this:

usermod -a -G randell apache

Then modify the permissions of the user directory with:

chmod 770 /home/randell/

File Management Preferences

From a Nautilus window, go to Edit > Preferences. I modified mine to reflect the following changes:

  • Default View > View new folders using: List View
  • Icon View Defaults > Default zoom level: 66%
  • List View Defaults > Default zoom level: 33%

Favorites

I customized my Favorites to include these frequently used applications:

  • Chrome
  • Firefox (added by default)
  • Terminal
  • gedit
  • Files (added by default)
  • Rhythmbox
  • Take Screenshot

Terminal

Edit > Profile Preferences > Colors > Foreground and Background

  • Use colors from system theme: Unchecked
  • Built-in schemes: Green on black

Text Editor

Edit > Preferences

  • View
    • Display line numbers: Checked
    • Display right margin at column: 80
    • Highlight current line: Checked
    • Highlight matching brackets: Checked
  • Editor
    • Tab Stops
      • Tab width: 4
      • Insert spaces instead of tabs: Checked
      • Enable automatic indentation: Checked
    • File Saving
      • Create a backup of files before saving: Unchecked
      • Autosave files every: 5 minutes
    • Font & Colors > Color Scheme: Oblivion

Fedora 15 pre/post-installation setup

I have mentioned in my previous post containing GNOME 3 screenshots (which I should say is a thing of beauty) that I’ve installed Fedora 15.

During the pre-installation customization page, I clicked some of the familiar items that I would normally install eventually:

Applications

  • Design Suite (contains GIMP and OptiPNG, plus more)
  • Office/Productivity (contains LibreOffice)
  • Sound & Video (checked Amarok)

Development

  • Development Tools (checked cmake and PyLint)
  • Fedora Eclipse
  • Java Development
  • Web Development (checked Django)

Servers

  • Mail Server (SendMail)
  • MySQL Database (checked php-mysql)
  • PostgreSQL Database
  • Printing Support
  • Server Configuration Tools
  • Web Server (mod_python, mod_ssl, php, php-ldap)

Here’s my post-installation setup:

Update

Updating for the first time also installs the GPG keys, which are needed so you won’t get errors regarding unsigned packages when you use the “fedora” and “updates” repositories of Fedora. In our terminal, as root, type:

yum update

RPM Fusion

From the RPM Fusion website site:

RPM Fusion provides software that the Fedora Project or Red Hat doesn’t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.

RPM Fusion is a merger of DribbleFreshrpms, and Livna; our goal is to simplify end-user experience by grouping as much add-on software as possible in a single location.

To install both the free and non-free repositories, simply download and double-click the RPM Fusion free for Fedora Rawhide and what will become Fedora 15 (Alpha, Beta and snapshots) and RPM Fusion nonfree for Fedora Rawhide and what will become Fedora 15 (Alpha, Beta and snapshots) from the RPM Fusion Configuration page.

Google Chrome

Download the rpm file from the Chrome download page. Installing it is as easy as double-clicking the file.

Mozilla Firefox

Firefox add-ons that use.

Azureus

This is what I use to download torrents.

yum install azureus

p7zip

For operating with the 7z file archiving format.

yum install p7zip

Filezilla

For transfering files between machines.

yum install filezilla

pgadmin3

For PostgreSQL database administration.

yum install pgadmin3

VLC

For watching videos without worrying about the file formats:

yum install vlc

Unrar

For extracting RAR file archives.

yum install unrar

Grip

CD-ripper with database lookup/submission to share track information over the net, supports OGG and FLAC and adding ID3v1/v2 to MP3s.

yum install grip

Skype

They now have Skype 2.2 Beta for Linux. Simply download and double-click the RPM installer.

PulseCaster

This is what I use for recording Skype calls.

yum install pulsecaster

vsftpd

Secure, fast FTP server

yum install vsftpd

Alacarte

To create custom application launchers.

yum install alacarte

Tomcat 6

yum install tomcat6

PHP

Some PHP modules that I need for web development.

yum install php-xml

Sun JDK

Download Java SE SDK RPM Installer from the Java SE Downloads page and execute the similar commands as root:

Run the Java JDK binary:

chmod +x /home/randell/Downloads/jdk-6u25-linux-i586-rpm.bin
sh /home/randell/Downloads/jdk-6u25-linux-i586-rpm.bin

Install Java JDK java, javaws, libjavaplugin.so (for Firefox) and javac using alternatives –install:

alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_25/jre/bin/java 20000
alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.6.0_25/jre/bin/javaws 20000
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so  libjavaplugin.so /usr/java/jdk1.6.0_25/jre/lib/i386/libnpjp2.so 20000
alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_25/bin/javac 20000
alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_25/bin/jar 20000

Add the following JAVA_HOME environment variable to /etc/profile:

export JAVA_HOME="/usr/java/jdk1.6.0_25"

MySQL Workbench

For designing databases visually.

yum install mysql-workbench

Calibre

For converting e-books to different formats and for managing your e-book collection.

yum install calibre

bash auto-completion

yum install bash-completion

chmsee

HTML Help viewer for Unix/Linux (for viewing .chm files).

yum install chmsee

Development files for Qt toolkit

To develop applications using the Qt toolkit. And include the graphical configuration tool as well.

yum install qt-devel qt-config

GStreamer non-free plugins

From the Fedora Unity Project:

GStreamer is a multimedia framework used by many media players including rhythmbox, banshee, totem, listen, exaile and others. Due to legal issues support for various non-free formats , including mp3 files, aren’t included with GStreamer by default. You can add support for mp3 and other formats by installing an add-on package from the third party repository rpm.livna.org

yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg phonon-backend-gstreamer

FFMpeg

yum install ffmpeg ffmpeg-libs

DVD playback

yum install libdvdread libdvdnav lsdvd

Aptana

Downloaded Aptana 3 from http://www.aptana.com/.

GnomeTweakTool

One of the things that weren’t immediately obvious when I was setting-up Fedora 15 was the ability to easily change the font sizes for applications, documents and windows. Googling led me to GnomeTweakTool, which allows us to customize “advanced” GNOME 3 options.

yum install gnome-tweak-tool

After installing TweakTool, I customized my fonts as follows:

  • Document font: Sans 10
  • Monospace font: Monospace 10

File Management Preferences

From a Nautilus window, go to Edit > Preferences. I modified mine to reflect the following changes:

  • Default View > View new folders using: List View
  • Icon View Defaults > Default zoom level: 66%
  • List View Defaults > Default zoom level: 33%

Favorites

I customized my Favorites to include these frequently used applications:

  • Chrome
  • Firefox (added by default)
  • Terminal
  • Files (added by default)
  • Amarok
  • Eclipse
  • Empathy
  • Take Screenshot

Terminal

Edit > Profile Preferences > Colors > Foreground and Background

  • Use colors from system theme: Unchecked
  • Built-in schemes: Green on black

Text Editor

Edit > Preferences

  • View
    • Line Numbers >  Display line numbers: Checked
    • Current Line > Highlight current line: Checked
    • Right Margin >  Display right margin: Checked
    • Bracket Matching > Highlight matching bracket: Checked
  • Editor
    • Tab Stops
      • Tab width: 4
      • Insert spaces instead of tabs: Checked
    • Automatic Indentation > Enable automatic indentation: Checked
    • File Saving
      • Create a backup of files before saving: Unchecked
      • Autosave files every: 5 minutes
    • Font & Colors > Color Scheme: Oblivion

* I’ll simply update this post if ever I come across software I use that I forgot to list here.

Fedora 14 post-installation setup

It’s been a while since I performed a Fedora installation from scratch. The last time I did so was during the release of Fedora 11. When Fedora 12 was released, I simply upgraded my Fedora installation. I skipped Fedora 13 altogether partly because I was satisfied with what Fedora had at that time and I also didn’t want to mess with the development environment that I’ve set up.

I usually perform the necessary post-installation setup as I find the need to use the features. I have been using Fedora 14 for two weeks now, and so far here’s what I’ve got:

Update

Updating for the first time also installs the GPG keys, which are needed so you won’t get errors regarding unsigned packages when you use the “fedora” and “updates” repositories of Fedora. In our terminal, as root, type:

yum update

RPM Fusion

From the RPM Fusion website site:

RPM Fusion provides software that the Fedora Project or Red Hat doesn’t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.

RPM Fusion is a merger of DribbleFreshrpms, and Livna; our goal is to simplify end-user experience by grouping as much add-on software as possible in a single location.

To install both the free and non-free repositories, simply download and double-click the RPM Fusion Free and RPM Fusion Non-free from the RPM Fusion Configuration page.

Chrome

Download the rpm file from the Chrome download page. Installing it is as easy as double-clicking the file. Then I installed the Chrome extensions that I use and modify my Chrome search engine shortcuts.

Firefox

I usually install first the Firefox add-ons that use, and then set the tab-scrolling.

Flash

Download and double-click the Flash rpm file from http://get.adobe.com/flashplayer/. This installs the repository configuration files that can be verified from /etc/yum.repos.d/adobe-linux-i386.rep. To install Flash, execute the following command as root:

yum install nspluginwrapper alsa-plugins-pulseaudio flash-plugin

Restart Firefox for the changes to take effect.

Azureus

This is what I use to download torrents.

yum install azureus

p7zip

For operating with the 7z file archiving format.

yum install p7zip

Filezilla

For transfering files between machines.

yum install filezilla

pgadmin3

For PostgreSQL database administration.

yum install pgadmin3

VLC

For watching videos without worrying about the file formats:

yum install vlc

Unrar

For extracting RAR file archives.

yum install unrar

Grip

CD-ripper with database lookup/submission to share track information over the net, supports OGG and FLAC and adding ID3v1/v2 to MP3s.

yum install grip

Skype

Copy and paste the following lines to /etc/yum.repos.d/skype.repo

[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
#gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-skype
enabled=1
gpgcheck=0

and execute the following command as root:

yum install skype

Broadcom Linux STA Driver

Simply follow this instruction: WLAN device on Dell Inspiron not detected by Fedora 11

Brasero

For writing into CDs and DVDs.

yum install brasero

GIMP

For image-manipulation.

yum install gimp

OpenOffice.org

yum install openoffice.org*

Subversion

yum install subversion

MySQL

yum install mysql mysql-server

Tomcat

yum install tomcat6

OptiPNG

As required by HTML5 Boilerplate

yum install optipng

Panel

I added the following frequently used applications to the panel:

  • GIMP
  • Chrome
  • Take Screenshot
  • Calculator
  • Eclipse
  • Gedit
  • Empathy
  • Firefox
  • Terminal
  • Nautilus
  • Aptana

System

  • Preferences
    • Appearance
      • Fonts
        • Application font: Sans, 9
        • Document font: Sans, 9
        • Desktop font: Sans, 8
        • Window title font: Sans Bold, 8
        • Fixed width font: Monospace, 9
    • Power Management > On AC Power > Put display to sleep when inactiver for: Never
    • Screensaver
      • Regard the computer as idle after: 2 hours
      • Activate screensaver when computer is idle: Unchecked
    • File Management
      • Views
        • Default View > View new folder using: List View
        • Icon View Defaults > Default Zoom Level: 66%
        • List View Defaults > Default Zoom Level: 33%

Terminal

Edit > Profile Preferences > Colors > Foreground and Background

  • Use colors from system theme: Unchecked
  • Built-in schemes: Green on black

Text Editor

Edit > Preferences

  • View
    • Line Numbers >  Display line numbers: Checked
    • Current Line > Highlight current line: Checked
    • Right Margin >  Display right margin: Checked
    • Bracket Matching > Highlight matching bracket: Checked
  • Editor
    • Tab Stops
      • Tab width: 4
      • Insert spaces instead of tabs: Checked
    • Automatic Indentation > Enable automatic indentation: Checked
    • File Saving
      • Create a backup of files before saving: Unchecked
      • Autosave files every: 5 minutes
    • Font & Colors > Color Scheme: Oblivion

* I’ll simply update this post if ever I come across software I use that I forgot to list here.

Firefox – Add a keyword to this search

I just realized that I haven’t shared this nifty Firefox feature to some of the people I know and it surprises me sometimes that they do not know this yet, so let me just talk about it briefly.

Add a keyword to this search is one of the options that appear when you right click on search fields (e.g. Google’s search field).

Firefox - Add a keyword to this search

Firefox - Add a keyword to this search

It allows you to assign keywords to site searches, so you can simply type “<keyword> + <query string>” in the Location/Address Bar instead of going to the site first before searching or instead of using the Search Toolbar. For example, I can add a keyword “gi”for the Google Images search field, type “gi puppies” in the Location Bar, and it will automatically direct me to the Google Images search results page for my “puppies” query.

To set-up a keyword for a site search, simply right click at the search field of your chosen site and click “Add a Keyword for this Search”, which opens up a New Bookmark dialog box. Enter the name of the search site (e.g. Google Images) and the corresponding keyword (e.g. gi). You can leave the Folder with its default value, but you may also want to create a specific folder in your bookmarks so all your search shortcuts are neatly organized in one folder. Click the Save button and try searching from the Location Bar using your new search shortcut.

New Bookmark

New Bookmark

update.locale file doesn’t exist in either the XCurProcD or GreD directories

I have been getting this error from my Firebug’s console:

[Exception… “update.locale file doesn’t exist in either the XCurProcD or GreD directories” nsresult: “0x80520012 (NS_ERROR_FILE_NOT_FOUND)” location: “JS frame :: file:///usr/lib64/xulrunner-1.9.1/components/nsUpdateService.js :: getLocale :: line 608” data: no]
file:///usr/lib64/xulrunner-1.9.1/components/nsUpdateService.js
Line 608

At first I thought it was some mysterious bug from one of my projects, but then I noticed that it appears on the simplest web pages that I’m working on, so I figured out that the problem is coming from either Firefox or Firebug. I found a solution here. The solution simply says to execute the following command (as root):

touch /usr/lib64/firefox-3.5/update.locale

True enough, my Firefox application directory is missing the file. I also checked my Firefox installation in Windows XP to check the contents of the file, which contains en-US so I appended the same content.

The error no longer appears so it probably solved the problem. I’ll just update this post if the error appears again.

Note: This error appeared in Firefox 3.5.11 on Fedora 12.

Firefox add-ons I actively use

It’s been a while since I posted the Firefox Add-ons that I’m using. Here’s an update:

  • Fast Video Download for downloading YouTube videos in MP4 format
  • FaviconizeTab for compressing the size of tabs to the size of a favicon by double-clicking. There’s also an option to auto-faviconize tabs depending on the URL.
  • Firebug helps me a lot with web development.
  • Page Speed for diagnosing the performance of my web projects.
  • Screengrab for saving web pages as PNG or JPEG. There’s option to save the whole page, the visible section, a selection or the whole window.
  • Tiny Menu for compressing my menu bar to give me more browsing space.
  • Xmarks for synchronizing my bookmarks between machines and browsers (since there’s also Xmarks for Chrome).
  • Echofon for Twitter.
  • Delicious Bookmarks for one-click saving of bookmarks to my Delicious account.
  • DownThemAll! for mass downloading stuff.
  • Dummy Lipsum for generating “Lorem Ipsum” dummy text.

Which Firefox add-ons do you use?

Setting-up Fedora 11

Fedora 11 was released a month ago, but it’s only now that I am able to completely configure my desktop to run on top of it.  It is because I’m still happy with Fedora 10.  I’ve established my development environment and I find no need to upgrade it yet.  In any case, I’m going to upgrade my Fedora 10 installation once I’m able to fully clone my environment in my other machine.

Similar to how I configured my Fedora 10 installation, I selected both Web Development and Web Server options when asked what additional tasks I want my system to support, to make my post-installation setup easier.

I also selected the following packages during installation:

Desktop Environment

  • KDE (K Desktop Environment)

Development

  • Fedora Eclipse
  • Java Development

Servers

  • MySQL Database
  • PostgreSQL Database

And here are my post-installation configurations:

Continue reading

Firefox – Assertion Failed

I always get this error when I unintentionally update Firefox using yum update – which updates all packages (see screen capture):

Firefox - Assertion Failed

Firefox - Assertion Failed

Restarting Firefox does the fix, but I wish to not have to see it again.  I tend to lose my tabs (lots of them) whenever I accidentally close the browser before closing the Downloads dialog box.

Firefox crashing on 64-bit Linux

A couple of days ago, my Firefox 3.0.2 installation on my 64-bit Fedora 9 started crashing like crazy.  It crashed a few seconds after every time I opened it.  It was annoying.

I thought it was because of the number of tabs I had (at least 30; it had been an extra busy week for me).  So, I reduced the number of tabs I had on Firefox.  Since I didn’t want to lose any of the tabs by closing the less important ones and also didn’t want to forget what I was currently doing with those opened tabs, what I did was move the more important stuff from Firefox to Opera.  But Firefox still crashed after leaving only 15 tabs in it.

I also thought that maybe it had something to do with Firebug slowing down Gmail, so I disabled Firebug (closing Gmail is not an option).  But without any luck, my Firefox kept on crashing, until now.

Continue reading

Dummy Lipsum 2.3.0

Thanks to Mello, I am now using the Dummy Lipsum 2.3.0 Firefox add-on.  This Firefox add-on generates “Lorem Ipsum” dummy text from http://www.lipsum.com.  It adds the context menu option “Insert Dummy Lipsum”.  Clicking it automatically fills the selected field.

And yeah, it works on Firefox 3 beta 5.

Get it here.