Boise Linux User Group October 3rd Meeting Notes

Had a great meeting tonight with a full house, standing room!  Clint led off with his presentation on the latest Fedora 19 release.  Several of those in attendance were impressed by the use of the latest kernel (3.11.2) and version of wine (1.7.2). Clint opened his presentation on Fedora 19 by discussing how easy it is to update from Fedora 17 and 18 to 19 to get the latest and greatest Fedora!  This wasn't always so easy.  All it requires is a couple of commands after making sure you have applied the latest updates to your system.  Also,,with Fedora, there is no such thing as a long term release.  Old versions are supported a long time.  An example of this is that Red Hat just released a full update to RHEL 5, originally released in 2007, now version 5.10, 6 years later!  Red Hat is committed to a 10 year support cycle which makes it unique in the Linux world.  Current version of RHEL is 6.4 and 6.5 has a beta release.  RHEL 7 is to be released early in 2014 and is being forked off  (based on) Fedora 19. The upgrade:

yum update
yum --enablerepo=updates-testing install fedup
fedup-cli --network 19
upgrade to Fedora 19 completes.

Clint went through his basic installation of Fedora 19 with the following comments:
The first step after installing, is to switch to root and update the system
sudo su -
yum -y update1 yum -y update

Next up, since I use vim which is not installed by default, I install vim (Vi Improved) and wine for supporting some Windows applications that I will discuss later. 
yum -y install vim wine

I am not a real fan of Gnome 3 so I install the gnome-classic-session desktop, my comfort zone in a traditional desktop.  Red Hat Enterprise LInux 7 will be based on Fedora 19 and will install the classis desktop by default.  RHEL 7 is to be released early in 2014.
yum install gnome-classic-session

Next up, install some basic stuff taht I like to have to enable my, installation.
yum -y install rpm-build cabextract ttmkfdir wget

I then use "Easylife" to do all the heavy lifting for installing all the codecs for multi-,media including playing my DVD Movies, along with flash, K3b DVD/CD-Rom tool, and the Media Players.  It has a rather full menu of things it can install for you but those are the basics that I use.  I also let it disable SELinux (Security Enhanced Linux) which can be problematic because some applications like Wine do violate some of the rules and if not disabled will not allow those applications to work.  First, using the browser, download easylife from sourceforge, which is saved by default in the home directory /Downloads.  URL:
Continuing as root user, move easylife to root
mv /home/tinslecl/Downloads/easylife-4.0-2.noarch.rpm .
yum install easylife-4.0-2.noarch.rpm

Easylife installs an easylife icon on both the desktop as well as in the menu system.  Run it  to install your choice applications and media support.
My choices were Codecs, Flash, K3b, Media Players, SelinuxOff.  Many other choices include Java versions, Skype, Nvidia support, and a colection of utilities.

Next item on my list is to install Google Chrome.

Download the gpgkey first to authenticate the installation:
rpm --import
Create in /etc/yum.reposl.d the google-chrome.repo with these contents (I used vim):
name=Google Chrome 64-bit
vim /etc/yum.repos.d/google-chrome.repo
yum install google-chrome-stable

Now on to the Wine Stuff.  First I need to install Winetricks to help facilitate application installations so as the root user, I do the following:
sudo su -
mv winetricks /usr/bin/
a+x /usr/bin/winetricks
chmod a+x /usr/bin/winetricks

Then type exit to get back to yourself  and peform the following to install Picasa 3.9 (latest and greatest).  This is an awesome tool for doing photo management, even on Linux.
=> If you are not running 32 bit, the three next steps are not going to work for you and you will not be able to access your Picasa Album from Linux.  Somethings from the Windows world simply have to run in a 32 bit environment!  However, you will still be able to use Picasa 3.9 for photo management and editing as well as using all the new features available in 3.9.
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/ winetricks ie6.
You maybe prompted into download ie6.  After downloading, copy it using cp Downloads/msie60.exe ~/.cache/winetricks/ie6/ and then run the command again.
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/ winetricks ie6
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/ winetricks flash
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/
cd .google/picasa/3.0/
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/ wine picasa39-setup.exe
wine picasa39-setup.exe

Enjoy Picasa, it is simply awesome as I demonstrated at the meeting and well worth the effort of installing.  

We had a question from one of those present on installing Microsoft Office.  A search of the appdb on Wine Headquarters was fruitless but both Darin and I have installed it in the past.  Following up, I ceme up with this process for installing Office 2007 on Fedora 19. First, build configuration directory (Do not create the .office12 directory manually!):
WINEARCH=win32 WINEPREFIX=~/.office12  winecfg
Next Install: (/run/media/tinslecl/OFFICE12/setup.exe is the path to the CD setup.exe)
WINEARCH=win32 WINEPREFIX=~/.office12 wine /run/media/tinslecl/OFFICE12/setup.exe

Wine Menu items for Microsoft Office are located here:
/home/tinslecl/.local/share/applications/wine/Programs/Microsoft Office
[tinslecl@localhost Microsoft Office]# cat Microsoft\ Office\ Word\ 2007.desktop
[Desktop Entry]
Name=Microsoft Office Word 2007
Exec=env WINEPREFIX="/home/tinslecl/.office12" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/tinslecl/.office12/dosdevices/c:/users/tinslecl/Start\\ Menu/Programs/Microsoft\\ Office/Microsoft\\ Office\\ Word\\ 2007.lnk
Comment=Create and edit professional-looking documents such as letters, papers, reports, and booklets by using Microsoft Office Word.

Some links I used in building my system and preparing for the presentation: (Ubuntu specific but also useful with Fedora)

Following the intial presentation of Fedora 19, several questions were asked.  The first question was on LVM (Logical Volume Management) and its use including the why.  I proceeded to demonstate how you could use LVM to manage your disk and file systems to "grow" or make them bigger without taking the system down and all that would entail.  The commands I demostrated were:
Using gnome-disks to create a physical disk partition on the hard drive that I would use pvcreate to add it to the LVM system.
pvcreate /dev/sda3
Then I added it to the existing volume group "fedora" where my logical volume and file system lived:
vgextend fedora /dev/sda3
Next step is to actually add the new space to the existing logical volume "fedora-root", my Linux root drive.
lvextend /dev/fedora/root -L +50GB /dev/sda3
However, as I showed using the 'df -h' command, my root file system was still the old size and was not larger.  Enter the resize2fs command:
resize2fs /dev/fedora/root
I then demostrated how to create a traditional file system (named dennis) using space in my volume group "fedora":
lvcreate -n dennis -L 25GB /dev/fedora
Format the new logical volume using the mapper (mapped drives) path:
mkfs.ext4 /dev/mapper/fedoral-dennis
Made a mount point to mount dennis on:
mkdir /dennis
And then mounted it manually:
mount /dev/mapper/fedora-dennis /dennis

The second question was using encryption on Fedora 19.  I proceeded with the following demo:
Using 'gnome-disks' graphical tool to create a physical disk partition (sda4) on the hard drive that I would use for encryption and then performed the following steps to make it encrypted:
cryptsetup luksFormat /dev/sda4
The above step actually creates the encrypted parition (not revokeabe, the only fix is to remove the partition to reclaim the space) and it allowed me to set the secret password on the encrypted parition.  Next step is to "open" the encrypted partion and use it for a file system which also requires that I provide the password created in the previous step and it give it a label that the volume  will be known by:
cryptsetup luksOpen /dev/sda4 charles.
Now I can treat it as a conventional partition without any performance hit, format and mounting it:
mkfs.ext4 /dev/mapper/charles
mkdir /charles
mount /dev/mapper/charles /charles
I also demonstrated adding the /etc/fstab and /etc/crypttab entries required for rebooting the system and having it mount the new encrypted file system after providing the required password:
/dev/mapper/charles   /charles   ext4  defaults 1 2
/etc/crypttab (file exists, do not create):
charles  /dev/sda4
Rebooted and showed how you had to enter the password boot time.

Fedora, like many Linux distributions can be tailored to your needs:  Some of the things I installed:
yum -y install geany
yum -y groupinstall "RPM Development Tools"t
yum -y install libreoffice (I did this because the original install did not install ALL of libreoffice)
yum groupinstall "Perl Development"
yum -y install system-storage-manager
ssm list <= new tool for managing disks
yum -y install nautilus-open-terminal (this gives me a right click open terminal from the desktop)
yum -y install samba system-config-samba system-config-samba-docs (full samba 4 configuration, can replace a Windows domain controller now!)
yum -y install audacity
yum -y install audacious
yum -y install conky hddtemp vnstat lm_sensors
yum -y install gnome-disk-utility (gnome-disks)
yum -y install virt-manager kvm libvirt

#Enable ssh server (secure shell access to the new system)
service sshd start
chkconfig sshd on

Footnote to my Fedora 19 choice.  I don't always agree with LinuxFormat magazine, exspecially when they beat up Fedora by making claims and verdict that the remix "Korora 19" is better than Fedora 19.  Good luck on even installing Korora 19, I went through 3 systems, all mutli-core newer 64 bit systems before I could even find a system that it would  install on and even then it was slow (somewhat attributable to KDE desktop but not completely).  Arrgg.  Fedora 19 with the classic desktop is unbeatable in both performance and ease of use.  Update on 10/08/2013, Korora just released 19.1 with a strong recomendation that all new installs use this version as it includes a number of bug fixes. Korora 19.1 is available in four flavors: KDE, gnome, MATE, and Cinnamon and has been updated to include the Darktable photo application.

After my demo of Fedora, I gave a short presentation on LinuxMint 15 "superspin" from LinuxFormat on a laptop that member Hugh had installed it to and was very impressed with the preintalled mutliple desktop configuration which included Mate, Cinnamon, and KDE, all with their own set of desktop specific packages and applications.

I then turned the meeting over to Darin, who demonstrated his new super thin Apple Ultrabook running Ubuntu linux.  Its not a perfect world according to Darin but all that power in that ultrabook is impressive.

The meeting concluded a little before 9 PM, after a few more questions were fielded and answered.

Our next meeting will be on November 7th.  If you have something for the agenda that you would like to show or have questions on, please send us an email at