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.

Setting-up Fedora 9

The default installation of Fedora 9 includes a set of software applicable for general internet usage.  During installation, when you are asked what additional tasks you would like your system to support for, you have the option to include support for Software Development and Web server in addition to the Office and Productivity.  However, if you don’t further customize the software selection (like what I did, because I was too excited to check out Sulphur), you still probably won’t get all the software you need.

This post will cover those things that a regular user might need.  Also included in this post are a couple of tools I use for web development.

Continue reading