Installing Adobe Flash x64 plug-in in Fedora 9 x64

15 December, 2008 (00:38) | Uncategorized | By: redhatfedoracore

Adobe Flash Player has been a thorn in 64-bit users side for some time now.  I personally don’t like to mix 64-bit and 32-bit libraries.  There is no longer a need.


It’s finally out.  I am a bit late but with Beta software that is not usually a bad thing.  I downloaded, copied and it worked.  Simple.

Here are the commands:

  • tar xzvf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
  • sudo cp libflashplayer.so /usr/lib64/mozilla/plugins/

Then it just started working for me.  I went to YouTube to be sure.

Installing Gwibber for Red Hat Fedora Core 9 Codename Sulphur

7 November, 2008 (18:54) | Uncategorized | By: redhatfedoracore

Gwibber is a Twitter client that automatically converts URLs to TinyURL format in your tweets.

  • yum install gwibber

My twitter address or whatever you call it is:

http://www.twitter.com/kandle

Become one of my tweeps.  Ugh.

Installing and configuring Nessus Security Scanner in Red Hat Fedora Core 9 Codename Sulphur

28 September, 2008 (02:08) | Fedora Security Tools | By: redhatfedoracore

Nessus is a powerful security scanner for finding and reports flaws/holes in your security configurations for many different platforms.  You need to register for a free or pay activation code.


or


  • yum install nessus-core nessus-server nessus-gui nessus-libraries nessus-client
  • nessus-adduser

[root@vaio kandle]# nessus-adduser
Using /var/tmp as a temporary file holder

Add a new nessusd user
----------------------

Login : root

  • Type root at the Login: prompt.

Authentication (pass/cert) [pass] :

  • Press Enter to use for password based security when running Nessus.

Login password :
Login password (again) :

  • Type a Password.
  • Reenter Password.

User rules
----------
nessusd has a rules system which allows you to restrict the hosts
that root has the right to test. For instance, you may want
him to be able to scan his own host only.

Please see the nessus-adduser(8) man page for the rules syntax
Enter the rules for this user, and hit ctrl-D once you are done :
(the user can have an empty rules set)

  • Hold Ctrl and press the D key to save an empty rule set.

Login             : root
Password          : ***********
DN                :
Rules             :

Is that ok ? (y/n) [y] y

  • Type y and press Enter to confirm new user.

user added.

  • nessus-mkcert

-------------------------------------------------------------------------------
Creation of the Nessus SSL Certificate
-------------------------------------------------------------------------------

This script will now ask you the relevant information to create the SSL
certificate of Nessus. Note that this information will *NOT* be sent to
anybody (everything stays local), but anyone with the ability to connect to your
Nessus daemon will be able to retrieve this information.

CA certificate life time in days [1460]:

  • Press Enter to accept the default 1460 days.

Server certificate life time in days [365]:

  • Press Enter to accept the default 365 days.

Your country (two letter code) [FR]: US

  • Type US if your are in the United States of America.

Your state or province name [none]:

  • Press Enter to leave none.

Your location (e.g. town) [Paris]: Home

  • Type Home
  • Press Enter to continue.

Your organization [Nessus Users United]: KAndle Consulting

  • Press Enter to accept the default, Nessus Users United.

-------------------------------------------------------------------------------
Creation of the Nessus SSL Certificate
-------------------------------------------------------------------------------

Congratulations. Your server certificate was properly created.
/etc/nessus/nessusd.conf updated
The following files were created :
. Certification authority :
Certificate = /etc/pki/nessus/CA/cacert.pem
Private key = /etc/pki/nessus/private/CA/cakey.pem

. Nessus Server :
Certificate = /etc/pki/nessus/CA/servercert.pem
Private key = /etc/pki/nessus/private/CA/serverkey.pem

Press [ENTER] to exit

  • nessusd -D
  • nessus-fetch --register xxxx-xxxx-xxxx-xxxx-xxxx
  • cd /var/lib/nessus/plugins
  • nessus-fetch --plugins
  • tar xzvf all-2.0.tar.gz
  • nessusd -D

Manually mount a USB Flash Drive from the command prompt in Red Hat Fedora Core 9 Codename Sulphur

24 September, 2008 (00:01) | Peripheral Configuration | By: redhatfedoracore

Manually mount a USB Flash Drive in a Bash shell or Terminal window

Any USB flash drive should be automatically mounted if you insert the drive during an active GNOME session. This can be useful in a repair/recovery situation when Knoppix isn’t practical.


[bozo@fedora ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0951:1607 Kingston Technology
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0461:4d15 Primax Electronics, Ltd
Bus 003 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  • fdisk -l
    • Run as root or su.
    • To try and find out what /dev/s** the USB flash drive is using.
    • Mine is located at /dev/sdb1.
    • Seeing W95 FAT32 for the System type is usually a clue and the 4013 MB partition size is also a good reference point.

[root@fedora bozo]# fdisk -l
Disk /dev/sdb: 4013 MB, 4013948928 bytes
255 heads, 63 sectors/track, 488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00087f68

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         484     3887698+   b  W95 FAT32

  • mkdir -p /media/flashpt
    • To create a mount point called flashpt.
    • Can also use /mnt/flashpt to avoid automount conflicts.
  • mount /dev/sdb1 /media/flashpt
  • umount /media/flashpt

Installing CD burning and DVD burning programs and support in Red Hat Fedora Core 9 Codename Sulphur

16 September, 2008 (17:40) | Installing Red Hat Fedora Core 9 | By: redhatfedoracore

Today: Installing CD burning and DVD burning programs in Red Hat Fedora Core 9 Codename Sulphur

These are the main GNOME CD/DVD burning utilities and tools.  k3b is also a great CD/DVD burning program if you have KDE installed.


Install Gnome Baker - http://sourceforge.net/projects/gnomebaker/

Use this to burn an audio CD or data CD/DVD discs.

  • yum install gnomebaker

Install Brasero - http://www.gnome.org/projects/brasero/

Use this to burn an ISO image, audio CD or data CD/DVD discs.

  • yum install brasero

Install X-CD-Roast - http://www.xcdroast.org/

A GUI interface for commands like cdrecord and mkisofs.

  • yum install xcdroast

Install gcdmaster - http://cdrdao.sourceforge.net/gcdmaster/

Use this to burn an audio CD with much greater control of how the output sounds.  Add samples and whatnot before burning your newly created audio CD in Track-At-Once mode.

  • yum install gcdmaster

Install Nautilus CD Burner

Use this to burn a CD directly from Nautilus file manager.

  • yum install nautilus-cd-burner

Install Serpentine

Use this to burn an audio CD. Audio files can be dragged from Rhythmbox and Nautilus file manager.

  • yum install serpentine

Installing MyBashBurn - http://sourceforge.net/projects/mybashburn/

A fork based on ncurses of the CD burning shell script called BashBurn for Linux. It can burn bin/cue files, create ogg and flac files, data, music and multisession CDs, as well as burn and create
ISO files, DVD-images, data DVDs and some other funny options.

  • yum install mybashburn

Installing K9Copy (Livna Only) - http://k9copy.sourceforge.net/

This is KDE4 based so it will install the parts of KDE4 that it needs.  If you wish to stay with GNOME only, do not install this.  It is similar to other video DVD backup and compression programs, like the great DVD Shrink application.

  • yum install k9copy

Installing Devede (Livna Only) - http://www.rastersoft.com/programas/devede.html

Use this to create video DVDs and CDs (VCD, sVCD or CVD) from any number of video files. Use any of the formats supported by MPlayer when editing.

  • yum install devede

Installing AcetoneISO2 - http://www.acetoneiso.netsons.org/

A CD/DVD image manipulator for Linux. Mount ISO image files, create ISO images files, convert other types of image files and create an MD5 file from many image files.

  • yum install AcetoneISO2

Installing a few other things

  • yum install fuseiso isomaster transcode wodim regionset lsdvd bchunk nrg2iso lxdvdrip
    • fuseiso #Mount an ISO filesystem images as a non-root user.
    • isomaster #A graphical CD image editor and converter. It allows to extract files from an ISO, add files to an ISO, and create bootable ISOs - all in a graphical user interface.
    • transcode #A tool to process video streams.
    • wodim #A command line data CD/DVD recording program.
    • regionset #Shows the current region code of the drive, how often it has been changed and how many changes are left.
    • lsdvd #A small application which lists the contents of DVDs to your terminal.
    • bchunk #Converts a CD image in a .bin/.cue format (sometimes .raw/.cue)
      into a set of .iso and .cdr tracks.
    • nrg2iso #Convert CD (or DVD) image generated by Nero Burning Rom to ISO format.
    • lxdvdrip #(Livna Only) This program is able to rip a DVD title or chapters, reauthor the files to a DVD-Structure, preview the files and burn to a DVD+/-R.

Installing Adobe Flash support in Red Hat Fedora Core 9 Codename Sulphur i386

13 September, 2008 (23:27) | Installing Red Hat Fedora Core 9 | By: redhatfedoracore

Today: Installing Adobe Flash support in Red Hat Fedora Core 9 Codename Sulphur i386


This is fairly easy with the i386 version.  I use Adobe_Flash:Adobe Flash for many things

Install Adobe Repository

  • rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
  • rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
    • If that doesn’t work, try this from Mozilla Firefox instead.
    • http://www.adobe.com/go/getflashplayer
    • Select YUM for Linux.
    • Select Agree and install now.
    • adobe-release-i386-1.0-1.noarch.rpm is the file at the time I wrote this.
    • Single right-click from the Mozilla Firefox Downloads window
    • Sinlge left-click on Open
      • Single left-click OK to Do you want to install this file?
      • /home/username/Download/adobe-release-i386-1.0-1.noarch.rpm
    • Type the password for the root account to confirm.
    • Single left-click the Authenticate button.
    • adobe-release-i386-1.0-1.noarch.rpm should install after a few seconds.
  • yum install libflashsupport pulseaudio-libs flash-plugin
  • mozilla-plugin-config -i -g -v

I had to reboot before the sound would work since I had VMware Server 1.0.6 running at the time I configured and installed Adobe Flash.

Also I can’t get Adobe Flash working with sound in Red Hat Fedora Core 9 and play sounds in VMware Server 1.0.6 at the same time. If I start watching a YouTube video in Red Hat Fedora Core 9 and then try to load VMware Server 1.0.6 I get a DSP error before Windows XP even attempts to boot. I can only get sounds from one or the other if I wait until VMware Server 1.0.6 is loaded before I start a YouTube video.

I tried creating a .asoundrc file and using /dev/adsp, that did not work. I tried using artsdsp vmware and I get an error that artsdsp cannot use a script. I tried esddsp vmware, that loads but still have the same /dev/dsp issues. Grumble... Anyone? Anyone?

Installing the Wine Emulator to Run Microsoft Windows Applications on Red Hat Fedora Core 9 Codename Sulphur

7 September, 2008 (07:40) | Installing Red Hat Fedora Core 9, Windows related | By: redhatfedoracore

Today: Installing the Wine Non - Emulator to Run Microsoft Windows Applications On Red Hat Fedora Core 9 Codename Sulphur

Wine is not an Emulator.” I thought it was originally written without the use of Microsoft code and .dll files but nowadays it is mostly reverse engineered.  My understanding of an emulator is the it runs native code on a foreign system. Wine actually does that but the authors want to be picky because of some tricky processes that emulate Windows NT kernel processes so it is more than an {en|Emulator|emulator} also.

I have included instructions to installing several Microsoft Windows applications for you to get started with.  You should not use Microsoft Internet Explorer for your everyday browsing.  It is for some sites that will not work in Mozilla Firefox and for web developer testing.  It does not work perfectly.

The instructions for installing Wine are not different on x86-x64 except that Wine is not available in x86-x64 so many i386 dependencies will be loaded along side your existing x86-x64 packages.

Wine creates a separate “Windows” installation for each non-root user.  All Microsoft Windows programs should be loaded for each user that wants access to them.  You should perform the installations of each of your Microsoft Windows programs with every non-root user except for the yum commands which you need to run as root user.


Install Wine Windows Non - Emulator - http://www.winehq.org/

To run some Microsoft Windows applications directly on Linux using an emulator.

  • yum install wine* cabextract freetype.i386 alsa-plugins-pulseaudio.i386 jack-audio-connection-kit.i386 --exclude=wine-devel
    • As root user.
  • wget http://www.kegel.com/wine/winetricks
    • Perform this and all the rest of the instructions as a normal user.
  • sh winetricks directx9 corefonts mdac28 allcodecs gecko

Install Winamp 2.91

Fix audio if not already working properly

  • winecfg
    • As non-root user.
  • Single left-click on the Audio tab.
  • Set to whichever works under Sound Drivers to EsounD driver, ALSA driver or OSS driver.
    • I prefer the OSS driver as it seems to have more line options.
  • Single left-click on the square in front of Driver Emulation to check it.
  • Single left-click on Apply to accept changes.
  • Single left-click Test Sound.
  • Turn up your sound levels with the Fedora volume control if you don’t hear a beep.
  • Single left-click on OK.

Install Internet Explorer 6.0 SP1 using Wine - http://www.tatanka.com.br/ies4linux/page/Main_Page

To install Microsoft Internet Explorer 6.0 SP1 on Linux. You can run even older versions as well. Not recommended for day to day use. For web developers and testers.

Run these commands from a terminal window in GNOME as a non-root user, not root.

  • yum install cabextract
  • wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
  • tar zxvf ies4linux-latest.tar.gz
  • cd ies4linux-*
  • ./ies4linux --no-gui
    • This will install Internet Explorer 6.0 SP1, the default.
    • You may have to run it more than once to properly complete the downloads.
  • ./ies4linux --help
    • For other install options and installing older versions
  • ./ies4linux --beta-install-ie7
    • To install Microsoft Internet Explorer 7 which is still in beta support on Linux.

You will probably get an ui/pygtk/python-gtk.sh: line 6 6156 Aborted error during the install if you try to run ./ies4linux using the GUI interface in Fedora Core 9.  I also had problems running cabextract during the Internet Explorer install on x64 until I closed the terminal window and tried again with a fresh window.

Install Google Toolbar for Internet Explorer 6.0 SP1 using Wine

Get the Google Toolbar for Internet Explorer 6.0 SP1

Download, Open, Install through Internet Explorer.

Install Shockwave for Internet Explorer 6.0 SP1 using Wine

Download, Open, Install with Internet Explorer.

Install Windows Media Player 6.4 using Wine - http://tsx.nl/index.php?p=wmp4linux

I’m having trouble playing any media with this right now.  I’ll look into later.

  • mkdir mp64
  • cd mp64
  • wget http://tsx.nl/files/wmp64.tgz
  • tar zxvf wmp64.tgz
  • ./wmp.inst
    • In order to run the installer you must have cabextract installed.
  • ~/bin/wmp6

Some other useful and fun programs

Install Power Archiver 2001 6.11.0

Install Aladdin Expander 5.1.1

Install QuickPar 0.9.1.0

Install Adobe Acrobat Reader 5.0.5

Install WildPackets IP Subnet Calculator 3.2.1

Screen Savers

Run a Microsoft Windows screen saver .scr file with a /C instead of /S to configure.

Install Word Lister 1.0

Install SSN Generator Plus 3.1.1

Install FFG - Fake Filez generator 1.1

Install 123 Free Solitaire 5.8

Some of you might find this link interesting.

http://www.my-guides.net/en/content/view/79/26/

MORE TO COME...

Installing VMware Server 1.0.7 on Red Hat Fedora Core 9 Codename Sulphur i386

6 September, 2008 (22:15) | Uncategorized | By: redhatfedoracore

Today: Installing VMware Server 1.0.7 On Fedora Core 9 Codename Sulphur i386


Installing VMware Server 1.0.7 on Red Hat Fedora Core 9 i386. VMware Server is for running a virtual machine or in other words you can run Microsoft Windows in a window and it works well.  I mostly use it to access my Microsoft Outlook information and Adobe Flash stuff too.  USB support could be better but maybe with this new version.

  • yum install xinetd kernel-devel gcc gcc-c++ perl-devel perl-ExtUtils-Embed mod_perl-devel
  • Use Mozilla Firefox to download VMware Server 1.0.7 from http://www.vmware.com/download/server/
  • Register to get your free serial number at http://register.vmware.com/content/registration.html
  • tar xzvf VMware-server-1.0.7-108231.tar.gz
  • cd vmware-server-distrib/
  • ./vmware-install.pl
  • Hit Enter nine times to accept the default install locations.
    • I get an error on line 458 and line 459. It seems that it can be ignored.

readdir() attempted on invalid dirhandle LS at ./vmware-install.pl line 458.
closedir() attempted on invalid dirhandle LS at ./vmware-install.pl line 459.
The installation of VMware Server 1.0.7 build-108231 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]

  • If you are running the updated kernel 2.6.26.3-29.fc9.i686 then do this before running /usr/bin/vmware-config.pl.
    • Type no.
    • Press Enter one more time to end for now.
    • wget http://www.it-psycho.de/downloads/vmware-any-any-update117-itpsycho.tar.bz2
    • tar xjvf vmware-any-any-update117-itpsycho.tar.bz2
    • cd vmware-any-any-update117-itpsycho
    • ./runme.pl
  • Otherwise if you are running an older kernel then just press Enter to run vmware-config.pl automatically.
  • Press Enter to view the End User License Agreement. Press the Space Bar 25 times to make the license agreement scroll to the end.
  • Type yes to agree
  • Press Enter to continue.
  • Press Enter three more times for the defaults.
    • A few more errors occur. Just ignore them. It doesn’t seem to affect anything.

/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with
an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon
name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

  • Press Enter to attempt to build the vmmon module for your system or running kernel.

What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.25.14-108.fc9.x86_64/build/include]

  • Press Enter once.
  • The module loads perfectly in the running kernel is what you should see.
    • I get no compiling errors at this point.
  • Press Enter to enable networking for you virtual machines.
  • My computer has multiple Ethernet network interfaces available: eth0, eth1.
  • Press Enter to select eth0, or the network interface card that you are connected to your local area network and the Internet with.
    • Ctrl-Alt-F1 and login as root. Run ifconfig eth0 and ifconfig eth1 if you need help deciding.
  • Press Enter to answer no you do not wish to configure another bridged network.
  • Press Enter to use NAT networking in your virtual machines.
    • This is the easiest way to get to the Internet but may not be sufficient in certain cases, depending on which applications you plan to run from the virtual machine.
  • Press Enter to allow this program to probe for an unused private subnet.
    • If you want to set it manually, knock yourself out.
  • . vmnet8 is a NAT network on private subnet 172.16.31.0.

    • It is probably different for you but take note of the line that looks similar.
  • Press Enter to not configure another NAT network.
  • Press Enter to have to ability to enable host-only networking in your virtual machines.
  • Press Enter to allow this program to probe for an unused private subnet.
  • . vmnet1 is a host-only network on private subnet 172.16.53.0.
    • Again take note of your settings. They will be different than my automatic network settings.
  • Press Enter to answer no and not configure another host-only network.
    • More compiling.

WARNING: could not find /tmp/vmware-config0/vmnet-only/.smac_linux.x386.o.cmd for /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.25.14-108.fc9.i686′
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only’
The module loads perfectly in the running kernel.

The default port : 902 is not free. We have selected a suitable alternative
port for VMware Server use. You may override this value now.
Remember to use this port when connecting to this server.
Please specify a port for remote console connections to use [904]

  • Press Enter to Please specify a port for remote console connections to use as port 904.
  • VMware VmPerl Scripting API should be compiling and installing.
  • Press Enter to accept the default location for keeping the virtual machine files.
  • Please enter your 20-character serial number.
  • Press Enter to complete installation.
  • The configuration of VMware Server 1.0.7 build-108231 for Linux for this runnung kernel completed successfully.

Configuring a Hewlett Packard psc2410v Photosmart All-In-One in Red Hat Fedora Core 9 Codename Sulphur

6 September, 2008 (18:10) | Uncategorized | By: redhatfedoracore

Today: Configuring a Hewlett Packard psc2410v Photosmart All-In-One in Red Hat Fedora Core 9 Codename Sulphur

The printer was easy to install.  I thought I was having problems getting the scanner working but it just needed a reboot for a non-root user to access  the udev or some such nonsense.  For scanning purposes you also need to install hplip and libsane-hpaio before you reboot.


As non-root user:

  • Plug-in the USB cable while insde GNOME.
    • The device driver is included so the printer should add itself automatically.
  • Click Configure... from the Printer Added pop-up.
  • Single left-click Print Test Page to test.
  • Single left-click on Make Default on the Settings tab if that is what you want.

As root or su:

  • yum install xsane sane-frontends sane-backends hplip libsane-hpaio

I had to reboot before my non-root user could access the scanner through xsane.

How can I make Mozilla Firefox operate faster in Red Hat Fedora Core 9 Codename Suplhur?

4 September, 2008 (21:00) | Installing Red Hat Fedora Core 9 | By: redhatfedoracore

Today: How can I make Mozilla Firefox operate faster in Red Hat Fedora Core 9 Codename Suplhur?

Mozilla Firefox seems to lag by default in Red Hat Fedora Core 9.  This tweaks seemed to speed things up when switching between tabs.


  • Applications -> Internet -> Firefox Web Browser
  • Mozilla Firefox

Type about:config in the address bar. Below are the settings I change for a speed increase and to allow the backspace key to function the same as it does in Microsoft Windows.

network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true
browser.backspace_action -> 0
browser.sessionhistory.max_total_viewers -> 0

Setting browser.sessionhistory.max_total_viewers -> 0 will cause using the Backspace key or the Back button to take longer while it reloads the previous page.  It may be faster to leave that setting unchanged if you frequently go back a page.