Thursday, May 31, 2012

Install and Configure Beesu on Fedora

This installation and configuration procedure has been tested for Fedora 15, Fedora 16 and Fedora 17

Installing Beesu
Open a terminal and install the following packages:
sudo yum install beesu
sudo yum install nautilus-beesu-manager

Configuring Beesu
After you have installed the packages above, use the following command to run Beesu Manager [Note: Please ensure that you closed all nautilus file explorer before running the command]
nautilus-beesu-manager


The Beesu configuration screen will appear as below:

 
You choose the options that you will use most often. The recommended settings are:
  • Edit with gEdit
  • Execute/Execute Application
  • Files and Folders/Delete Selected Files
  • Files and Folders/New File Here
  • Files and Folders/New Folder Here
  • Open Terminal Here

Using Beesu
To use Beesu, open Nautilus (Applications >> Accessories >> Files) and navigate to the file or folder you want to manage. Right-Click the mouse, select "Scripts >> beesu" and a list of options which you have configure earlier are available for you to select.

Please note that some options worked on folders and some options worked on files while some worked on both.

***End***

Install Oracle VirtualBox on Fedora 16 / Fedora 17

Update (16 Jan 2013):

Hi! Fedora 18 is here, for installing VirtualBox on Fedora 18 check out this post Install VirtualBox on Fedora 18.

You might also want to check the following:
Fedora 18 Post Installation Software Configuration Guide

Install Oracle VirtualBox on Fedora 16 / Fedora 17

This installation procedure has been tested for Fedora 15, Fedora 16 and Fedora 17. If you had follow my post before and confident with my script, you can scroll down to the bottom of the post and download the script. The script will automatically download, configure and install VirtualBox.


Manual Procedure

First, you need to download the repository file from:
http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo


Then you need to move the file "virtualbox.repo" to the folder /etc/yum.repos.d/. In the terminal, navigate to the location where you kept the file and use the command:
sudo mv virtualbox.repo /etc/yum.repos.d/


Then you need to install dkms as follows:
sudo yum install dkms


To install the latest version of VirtualBox use the command:
sudo yum install VirtualBox-4.1
Note: The package name was change from virtualbox-4.1 to VirtualBox-4.1


If you prefer the older version of VirtualBox just change the version number such as:
sudo yum install virtualbox-3.2
sudo yum install virtualbox-3.1
sudo yum install virtualbox-3.0



Automation Script
I've created an automation script that perform the previous steps and install the latest version of VirtualBox. You can download this script FC17-vbox-install-noarch. If you prefer to install the older version, you need to modify the script.


Please remember to change the script to execution mode:
chmod +x FC17-vbox-install-noarch


To sun the script use the command:
sudo ./FC17-vbox-install-noarch


*** End ***

Install Dropbox on Fedora 16 / Fedora 17


Update (16 Jan 2013):

Hi! Fedora 18 is here, for installing Dropbox on Fedora 18 check out this post Install Dropbox on Fedora 18.

You might also want to check the following:


Install Dropbox on Fedora 16 / Fedora 17

This installation guide has been tested for Fedora 16 and Fedora 17. To install Dropbox in Fedora 17, we need to configure a Dropbox repository and perform a yum install from the system terminal.

Configure Dropbox Repository
Create a file called dropbox.repo with the following:
[Dropbox]
name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/$releasever/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc

You can also download a copy from here. Place the file under /etc/yum.repos.d.

Installing Dropbox
Run yum install using the command:
sudo yum install nautilus-dropbox

Note: If you encounter any error while downloading nautilus-dropbox. You might need to change the base url in the repo file from http://linux.dropbox.com/fedora/$releasever/ to http://linux.dropbox.com/fedora/16/

Completing the Installation
After installation is done, you need to run Dropbox (Applications >> Internet >> Dropbox) application to complete the installation and configure an user account.


Click "OK"


Wait for the installation to complete.


Select "I already have a Dropbox account"


Enter your Dropbox account information and follow the installation.

Automation
You could also download a script file I've created to automate the installation process.

Running Script File
Remember to give execution permission to the script by running the command:
sudo chmod +x FC17-dropbox-install-noarch
sudo ./FC17-dropbox-install-noarch

*** End ***

Install Adobe AIR on Fedora (16 / 17 / 18 / 19)

Update (3 July 2013)
The instructions to install Adobe AIR has been tested on Fedora 16, Fedora 17, Fedora 18 and Fedora 19. However, the testing of AIR applications under Fedora 19 is less than satisfactory. Please see section under Install AIR Applications. This will be the last update on running AIR on Fedora.

Special Note
Please be aware that Adobe no longer supports Adobe Air for Linux. You can get further explanation from Adobe from this post. Adobe will not provide any updates including security updates for Adobe Air. 

You could still install the latest version of Adobe Air for Linux (which is version 2.6) from the archive provided that the air applications you are running still supports Adobe Air version 2.6.

Caution (Important !)
For security concerns I do not recommend installing Adobe AIR version 2.6 unless you really need to run the AIR apps in Linux. For TweetDeck users, you can install the Chrome version of TweetDeck instead of desktop version. 

If you still need Adobe Air and its apps, you can follow the instructions below. I've installed Adobe Air for Linux (v2.6) and tested some air applications with it. It works fine for now. Please note that you'll be installing at your own risk.

Getting Adobe Air for Linux  (v. 2.6)
To get the last version of Adobe Air, visit the Adobe Archive page. Scroll down to "Adobe Air 2.6 runtime downloads" and download the bin file labelled "Adobe Air 2.6.0 Linux (15.4MB)". You will be downloading a file named "AdobeAIRInstaller.bin"

Pre-Installation Setup
Before you runs the bin file, you need to install all the essential libraries (both 32-bit and 64-bit) required. Use the following command:
sudo yum install -y ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2 libhal.so.1  
sudo yum install -y rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686
sudo yum install -y libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686 
sudo yum install -y xterm rpm-build libgnome-keyring.i686
sudo yum install -y gtk2-engines gtk2-engines.i686 libcanberra-gtk2 libcanberra-gtk3 libcanberra-gtk2.i686 libcanberra-gtk3.i686

Install Adobe Air
To install the Adobe Air, navigate to where you kept the file "AdoebAIRInstaller.bin" and use the command:
chmod +x AdobeAIRInstaller.bin 
sudo ./AdobeAIRInstaller.bin

The installation program will produce the following installation dialog box:



Click I Agree.



The installation proceeds...



The final box show the completion of installation.

Error Handling
If you did not encounter the installation dialog box as shown above, the most likely cause is the incomplete set-up during pre-installation. You must install all the packages list under pre-installation setup. 


Automation

I've created an automated script here. You can download this script and run the script using the following command:
chmod +x FC00-adobe-AIR-install-x86_64
sudo ./FC00-adobe-AIR-install-x86_64

The complete automated script is listed below:
#! /bin/bash

# IMPORTANT: READ THIS FIRST
# You need to download Adobe repository program and place it in the folder with this script.
# This scripts installs and configure Adobe AIR for 64-bit Fedora 
# You need root access to run this script

# Warning
echo "Adobe has stop supporting Adobe Air on Linux"
echo "The software you are about to installis legacy software"
echo "Please note that there will be no security patches"
echo "Install at your own RISK!"
read -p "Are you sure you want to continue? (Y/y) " 
if ! [ $REPLY == Y -o $REPLY == y ]
then
 exit 1
 echo "Exit!"
fi

# Getting Adobe Air ver 2.6
wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
chmod +x AdobeAIRInstaller.bin

# Installing Libraries for Adobe AIR for 64-bit Fedora
echo "Installing Libraries before installation of Adobe AIR..." 
yum install -y ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2 libhal.so.1 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686 libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686 xterm rpm-build libgnome-keyring.i686 gtk2-engines gtk2-engines.i686 libcanberra-gtk2 libcanberra-gtk3 libcanberra-gtk2.i686 libcanberra-gtk3.i686

# Setup log file
touch ~/.airinstall.log

# Installing Adobe AIR
echo "Installing Adobe AIR"
./AdobeAIRInstaller.bin

#Installation Complete
echo "Installation Completed!"
echo "Cleaning up"
rm -f AdobeAIRInstaller.bin
echo "End of program!"



Install AIR Applications
Please note that you no longer able to install the AIR apps directly from the browser. You need to find and download the air application file and run from your system. I've successfully installed Zinio Reader 4 and twhirl.

Update for Fedora 19 (3 July 2013)
Although I've installed Adobe AIR successfully, the testing of AIR applications is less than satisfactory on Fedora 19. The main problem is after installation of an app, it fails to register under Applications. To launch the program, you need to navigate to /opt folder and look for the application folder. Under the application folder and bin subfolder, you can double click to launch the app from there. In my testing with Zinio Reader, I need to navigate to /opt/Zinio\ Reader\ 4/bin and launch the bin file from there. This problem exist in various desktop environment I've tested such as Cinnamon Dekstop and Mate Desktop. The program works fine if you could launch the app from the bin folder. There is also problem downloading twhirl, however, I manage to download another copy from Cnet. 

Install Zinio Reader 4
Zinio Reader 4 is an AIR application that allows subscriber of digital magazine to download and view digital magazine. As I've mentioned earlier, you need to find the AIR application here and download it into your folder.

Double click the AIR apps from your download folder and follow the screenshots.
 

Click "Install"


Click "Continue"


Enter root password and press enter. (Please note that the cursor will not move while typing password but the application is working) If the installation screen disappears, the installation is probably successful. Go to Activities >> Applications and look for the application.

Install Twhirl
I do not use twhirl, but I install it for testing purpose. Go to the download page and download the AIR application. Launch the application from your download folder.


Click "Install"


 Click "Continue"


Click "I Agree"

Enter root password and press enter. If the installation screen disappears, the installation is probably successful. Go to Activities >> Applications and look for the application.

Troubleshooting AIR Installation

My Test Environment
Listed below is my test environment for comparison purpose:
  • I've install Fedora 17 on a Core 2 Duo system with 4GB of RAM and 128MB of VRAM on a nVidia Card. 
  • I've install Fedora using standard Fedora Desktop Edition (Gnome).

Pre-Installation Setup
Pre-installation setup is very important. Please ensure that all the necessary libraries are installed. The command is very long so make sure you copied every command listed above. You also need to install Adobe Flash Player first.

Troubleshooting AIR Installation
If you encounter any problem while installing AIR, remove the installation using the command rpm -e to remove the AIR installation.
# Command to query rpm file for Adobe AIR
rpm -qa | grep adobeair 

# Command to remove Adobe AIR
rpm -e adobeair*

Use the following command to create a log file for re-installation:
touch ~/.airinstall.log

Review the log file if re-installation fail again.

If you encounter error such as "cannot load Gtk module". Please refer to my post Cannot Load GTK Module

Troubleshooting AIR Apps Installation
If you encounter any problem while installing AIR apps, remove the apps using the command rpm -e to remove the AIR application as shown above.

Use the following command to create a log file for re-installation:
touch ~/.airappinstall.log

Please compare the screenshots from my successful installation.


Getting Help
If you still encounter any problem, you can get help from the following forums as their response is faster:

*** End ***


Install Adobe Flash Player on Fedora 16 / Fedora 17

Update (16 Jan 2013):
Hi! Fedora 18 is here, for installing Adobe Flash Player on Fedora 18 check out this post Install Adobe Flash Player on Fedora 18.

You might also want to check the following:
Fedora 18 Post Installation Software Configuration Guide

Install Adobe Flash Player on Fedora 16 / Fedora 17

You need to install Adobe Flash Player to play embedded video from YouTube and various websites. This installation guide allows user to install Adobe Flash Player on Fedora 15, Fedora 16 or Fedora 17. 

Configuring YUM Repository File
First you need to download the rpm file from https://get.adobe.com/flashplayer/ 
Select  "Yum for Linux" as shown below.


You will be downloading a file "adobe-release-x86_64-1.0-1.noarch.rpm" into your download folder.

Navigate to your download folder and issue the following command:
sudo rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm
Then issue this command to import the keys:
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

The above installation configures the YUM repository so that you could install Flash Player using YUM command.
You could make sure that the repository file is configure properly by looking for a file "adobe-linux-x86_64.repo" under the folder /etc/yum.repos.d/

Install Adobe Flash Player
The installation is very simple and straight forward, use the command:
sudo yum install flash-plugin

Refresh your browser and go to https://www.adobe.com/software/flash/about to verify your plugins installation. A little box will shown which version you have installed as shown below. Alternative, you can visit https://www.youtube.com to test some of the videos.

 
Flash Player on Google Chrome
You should be able to run flash player on Google Chrome. No additional configuration is required.


*** End ***

Install Google Chrome on Fedora 17

Update (16 Jan 2013):

Fedora 18 is here, for installing Chrome in Fedora 18 check out this post Install Google Chrome on Fedora 18.

You might also want to check the following:
Fedora 18 Installation Guide
Fedora 18 Post Installation Software Configuration Guide

Install Google Chrome on Fedora 17

The recommended way to install Google Chrome is to navigate to the Google Chrome site at https://www.google.com/chrome, the site will automatically detect your operating system and display the appropriate download for you. The installation screenshot is listed below.


Installing Google Chrome (Recommended Method)
First visit the site https://www.google.com/chrome. The site will detect you operating system and display the appropriate download page as below.


Click "Download Google Chrome"


Select 32-bit or 64-bit rpm file (For Fedora/openSUSE). Click "Agree and Install".


If you are using Firefox browser, it will display a box as above. Select "Open with Software Install" and Click "OK".


Click "Install".

Depending of which software you have installed previously. You may received an additional box that inform you to install additional dependencies software. Install any dependencies software as per recommendation. The installation will complete after a while. To confirm, Google Chrome is located under Applications >> Internet.


Special Note on Installing Chrome using Yum
Previously, you can use yum to install Chrome from Google Linux Repository. Although the repository still work, however, the latest Chrome is not in the repository. I have successfully install Chrome using yum but I could not launch the program. Therefore, I would not recommend to install Google Chrome using yum.


*** End ***

Wednesday, May 30, 2012

Fedora 17 Install Guide

This is the installation guide for Fedora 17 Desktop Editions. I've tested this version of Fedora using a Core 2 Duo Intel based computer with 4GB in RAM. This computer also has a basic NVIDIA graphics card with at least 128MB of RAM.

Getting Fedora 17

Hardware Requirement 
The official hardware recommendations are:
  • 400MHz Pentium Pro or better.
  • Recommended RAM of 1152MB.

Getting Help
You can use the more comprehensive installation guide provided by Fedora. There are also many documents, HOW-TO and installation guide at https://fedoraproject.org.
You can also check out the following forums:
Finally, you can search the web for answer if the previous options do not provide you with satisfactory answer.


Installing Fedora 17
After burning the ISO image file to a CD/DVD, boot the Fedora 17 system from the disc. The desktop of Fedora 17 looks like this:



It will also display a welcome screen as shown below:





Start Installation
To start installation, select "Install to Hard Drive" from the welcome screen or go to Activities >> Install to Hard Drive or select Activities >> Applications >> System Tools >> Install to Hard Disk.



The first screen appears and you need to select the keyboard. Select the keyboard you prefer, otherwise use the default "US English"Click "Next"



Select "Basic Storage" and Click "Next"



You can change the host name (Network name that identify this computer) to something more meaningful or you can leave it as default. Click "Next".


Select the suitable time zone. Click "Next".



Now, you have to enter the root password. Click "Next" when done.




If you prefer to let the system configures the disk partition for you automatically, you can select  "Use All Space" or "Use Free Space". If you are overriding an existing installation choose "Replace Existing Linux System"For users who want to customize their own disk partitions select "Create Custom Layout"

LVM Mode Configuration
Un-check "Use LVM" if you do not want to use LVM mode. LVM mode is more suitable for server environment where any additional hard disk can be added to the same volume without partition configuration. Although Fedora enable LVM by default, I prefer not to use them. 

My Configuration
I choose to "Replace Existing Linux System" and I un-check "Use LVM". I also check "Review and modify partition layout" to ensure that my partitions are configured at the right place.




Multiple Hard Disk
If you have more than one physical hard disk in your system, the following screen will appear. (Skip this section if you have a single hard disk system). You need to select the target hard disk for Fedora installation as shown below.




Select the appropriate target hard disk on the left and move the target hard disk to the right.



Boot Loading
For multiple hard disk system you can choose where to install the boot loader. Some people prefer to have a single boot location and they can choose which OS to launch from there. Personally, I would prefer the boot loader to be configured into the same physical disk drive as the operating system.  To select the correct boot loader, make sure the boot loader column is checked next to the hard disk you wish to install. Click "Next".




Since I am letting the system configure the partitions for me. The changes to the partitions are highlighted with a tick mark next to it. Make sure that the changes do not interfere with your existing hard disk partitions.

Linux operating system named your first hard disk as sda, second hard disk as sdb and so on. Within each disk, the partitions are labelled as sda1, sda2 and so on.

Please note that at this point all changes to the hard disk are NOT in effect. If you are not satisfy with the partition layout, you can create and delete your own partitions. Once you are satisfy with the recommended partitions, click "Next" when ready to commit the changes. You will receive a warnings as shown below: 



This is the final warning before any changes is make to the hard disk. Click "Write Changes to Disk".


Once the partitions have been created, you have the chance to set password for the boot loader for security purpose. Click "Next".


The system starts creating the system partition and copy the system image into the hard disk. This may take a while. Have a cup of coffee or tea.



Finally, when the installation is complete, you can reboot the system.


Post Installation Setup
After system reboot, you need to perform additional setup. (Please note that I could not screen capture this section, the screen shown below belongs to Fedora 16 setup but the content are the same)



Click Forward



Click Forward again.


You can choose to synchronize your system clock over the network using NTP. Click Forward after you've made the choice.




You need to create a new user. Enter the full name, username and password. Remember to check "Add to Administrators group".



Finally, the system will suggest that you send the hardware profile to Fedora for analysis. 

Finally the system will prompt you to login. This completes the installation process. Please note that you still need to update the system and perform post installation configuration.



Updates (Important)
After installation, you need to update the system. You can use the menu options, Applications >> System Tools >> Software Updates. Alternatively, you can use the command:
sudo yum update


Post Installation Configuration
Post installation configuration refers to installation and configuration of the necessary software you required. Check out this post Fedora Software Installation and Configuration Guide (Fedora 15/16/17).


Additional Post