Running Microsoft Office 2003 on Fedora 7

21 10 2007

Greetings,

Here I am back, with what I have learnt out of using my highly tuned Fedora 7 machine. I feel so excited today after trying out some really cool manoeuvres and getting positive results. Of course, Linux is fun to work with (especially when you have to resolve dependencies manually, browsing repositories, etc..well, I assume that you have a good bandwidth and no work to do:))

Open Office is good, but it is a fact that it isn’t as good as Microsoft Office 2003 (and the gap is wider for 2007). I’ve heard about the commercial Star Office but in my honest opinion, Microsoft Office still forges ahead in the list. Well, today, I managed to “complete” my modest Acer TravelMate 2350 running a 1.2Ghz Celeron Processor with only 256MB Ram. However, thanks to fedora’s powerful memory management, I was able to run my Opera Browser (with 10+ tabs open) together with Microsoft Excel and Microsoft Word 2003 at the same time.

This is what I did: (Follow all the steps carefully, and you won’t have any problems!! – my bet)

Wine Configuration2 for Microsoft Office 2003 on Fedora by Shailen Sobhee

Notice that Word, Excel and Powerpoint will work. I have tried MsAccess but that won’t launch because Access initialises some Database conenctions with system files which are inexistent in the Wine environment. In any case, Microsoft Access is useless, as well as Microsoft Outlook.

Step1:

Get wine-core-0.9.36-2.fc7.i386.rpm and install it:

rpm -ivh  wine-core-0.9.36-2.fc7.i386.rpm

Step2:

Configure Wine:

Applications>Wine>Wine Configuration (or winecfg in a Terminal).

Under Applications Tab in the Configuration Window, Choose “Windows XP”

Under Libraries Tab,  add riched20 and riched32 from the “New override for library” drop-down list.

(If msxml3 isn’t in the list,don’t panic, you will see it later.):

Wine Configuration for Microsoft Office 2003 on Fedora by Shailen Sobhee

You may wish to check the other Tabs (and check your audio and video settings- but these are not overly

important right now.)

Step3:

Download and Install  Microsoft XML Parser (MSXML):

msiexec /i msxml3.msi

Run the Wine Configuration and add msxml3 to the library list (check step2)

Step4:

Set the Owner and Organization of your Wine installation:

Applications>Wine> regedit (or regedit in a Terminal).

Modify Owner and Organization in:

[Software\\Microsoft\\Windows\\CurrentVersion]
[Software\\Microsoft\\Windows NT\\CurrentVersion]

Step5:

Mount your Office 2003 CD-Rom:

(The option -o unhide avoids having problems with hidden files during installation.)

su
mkdir /mnt/Office2003
mount -t iso9660 -o unhide /dev/cdrom /mnt/Office2003

Step6:
Start the Microsoft Office 2003 Professional setup (I hope you have your key-generator or serial.txt ready;))

cd /mnt/Office2003wine setup.exe

You should be done by now. (Post any comments if you experienced any difficulty- This article

fully supports Fedora 7 and RedHat users. I don’t usually talk about debian, especially Ubuntu because it simply won’t word on my machine- And Ubuntu has some serious unresolved graphics

issues.)

Step7:

Try opening Microsoft Word 2003:

cd /home/shailen/.wine/drive_c/Program\ Files/Microsoft\ Office/OFFICE11
wine WINWORD.EXE
wine EXCEL.EXE
wine POWERPNT.EXE

You may wish to create Fedora Launchers for these applications.

Hope that worked for someone..

By the way, I heard that some people have to Activate Office 2003. If you encounter this, I guess you know what you have to do..

By Shailen Sobhee,

Serving the Open-Source world, yet again..





Mount NTFS in Read-Write Mode on Fedora 7

7 10 2007

NTFS-3g

Note: Feel free to ask questions; I’m here to help and learn..

Today I feel so excited after writing my first boot script for my new Fedora 7 (Moonshine). The script is simple and all it does is mount Windows NTFS File systems on startup so that you can access and write your windows partition while using your linux.

So far, it was impossible to write to NTFS (because of some highly despised copyright issues from..euhh..ok)

With my workaround, you will be able to:

1) Boot on your linux machine and use it as usual,
2) Access and write your NTFS partition (containing Windows XP/Vista),
3) Worry not about mouting procedures.

All, you have to do is read carefully my artcle, follow it step-by-step, and sit back and relax.

Prerequisites:
I know, prereqs aren’t nice when all the simple steps are just below. Anyway, pass this test first and you are all done. However, don’t worry about googling for the prereq tools; they are all here:

Fedora 7 Moonshine Packages

Redhat Enterprise Linux 5 Packages

(Sorry for using rapidshare.com; I lack sponsorship -_-’ )

You need:
1) Fuse (a software that interacts with the userspace)
2) the ntfs-3g fuse plug-in.

Step1:

Create a folder. You will access that folder in linux just like you type C:/ in windows to list the contents of wherever Windows and its Documents and Settings etc are located.

mkdir /mnt/windows

Step2:
Extract the fuse_complete.fc7.tar.gz file to /opt/temp. Go into the directory where you have save the file (suppose it is on the Desktop, do a cd /home/myname/Desktop). Then, issue these commands:

su
mkdir /opt/temp
tar -xzf fuse_complete.fc7.tar.gz /opt/temp

Install fuse and ntfs-3g

cd /opt/temp
rpm -Uvh * --force --nodeps

Step3:

Now that you have installed Fuse and the NTFS plug-in, you have to configure Fedora such that it mounts the NTFS partition on each boot. The procedure is simple. I have written a simple script to do that:

#!/bin/bash
# Created by Shailen Sobhee
# chkconfig: 012345 99 02
# description: Mounts NTFS on startup

case $1 in
*)

echo “Mounting Pirated Windows XP NTFS Filesystem to /mnt/windows”
mount /dev/sda1 /mnt/windows

;;
esac

#End of boot script

The script is called mntntfs and its located in /opt/temp. To allow Fedora to use the boot script, you have to copy it in the /etc/rc.d/init.d folder and run the following commands:

cp /opt/temp/mntntfs /etc/rc.d/init.d
cd /etc/rc.d/init.d
/sbin/chkconfig --add mntntfs
chmod +x mntntfs

Step4:

That’s it!! Reboot and check if fuse-ntfs works. Go to /mnt/windows to see if your windows has loaded.

Step5:

If the folder has not been mounted, then you are probably using another medium, other that ‘sda1′ that I used in my script. In that case, you will have to check that manually:

Try one of these, while checking on another terminal screen if /mnt/windows has been mounted.

mount /dev/sda /mnt/windows

mount /dev/sda2 /mnt/windows

mount /dev/hda /mnt/windows

mount /dev/hda1 /mnt/windows

mount /dev/hda2 /mnt/windows

Try other combinations of mediums (sda,hda) to check your NTFS partition medium.

Do the necessary modification in the script:

vi /etc/rc.d/init.d/mntntfs

Have Fun!

And don’t forget to post your comments, so I can improve on this article. Thanks.

Shailen, serving the Open Source World, yet again..

To do: The Newbies’ Guide to NTFS for Linux (Jeff’s recommendation)

Updates:

3 Nov 2007: Minor code modifications/optimisations.

10 Nov 2007: Minor article update /improved explanations.





When RedHat inspires..

6 10 2007

RedHat’s Fedora 7

For a while that I’ve been dwelling in the World of Open Source, I have noticed that noone cares the least about Microsoft. It seems that Linux has really won the war and proved to be a totally different world.

I read a funny quote somewhere that cars and rocks can’t be compared just like Linux and Microsoft.

GNome is indeed fun to work with. (I particularly don’t like KDE for some unknown reason-maybe it reminds me so much of ..euuh..its like Voldermort in Harry Potter; one shall not speak out the name,even whisper.)

However, Bill Gates remains the great guy. His work and achievement impresses and motivates me. I recently took a book called “Microsoft, Les Nouveaux Magiciens” and I’ve been reading the first chapter, which summarizes William Henry’s from-zero-to-everything, some 20 plus times. Great book!








Follow

Get every new post delivered to your Inbox.