http://www.linuxnewsblog.com - Your Daily News

Sunday, April 12, 2009

How to Install Microsoft Office 2007 on Ubuntu Intrepid

This tutorial will explain How to Install Microsoft Office 2007 on Ubuntu Intrepid

Install Wine 1.16 from the old .deb archive

Open terminal and type the following command

winecfg

in a terminal and make sure the Windows version is set to XP

Run your Office setup in wine.

Using the command line, cd to the directory where your Office setup files are and run:

wine setup.exe

Using the GUI: Navigate to your Office setup files, right click on the setup.exe file and choose open with “wine windows program loader.”

Click customize in the setup window and disable any features you do not want, and change any settings (name, organization, etc.), then click install.

Once the installation is complete close the window, and navigate to /home/username/.wine/drive_c/Program\ Files/Microsoft\ Office/Office12 and run any office programs to test (WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE, MSPUB.EXE, etc.).

Re-enable the wine repository (steps to install repository here: http://www.winehq.org/download/deb), and update wine to the latest version.

Now just create links to these executables for easy access. Type this in the command box when making links to wine programs

wine “/pathtoexecutable/”

(replace “pathtoexecutable” with a valid file path).



Read More...

[Source: Linux Blogs2k - Posted by FreeAutoBlogger]

Revising Fedora Made Easy by Revisor

If you’ve been wondering if Linux distros, especially Fedora, could ever change the way it’s packaged then it’s time to try out Revisor.

Fedora

Fedora

I read about Revisor on Tutorial: Build Your Own Linux Distro and it looks like a nifty tool for those who would want to help out their friends in figuring out what applications in Fedora are useful. This is great if you also want to help out your friends switch to Linux and you’ve got their needs in mind already.

Whether it’s for a netbook without an optical drive or an old machine with a CD-ROM drive and small RAM or a shiny new desktop with awesome specs, you could make a customized distro. Stuff you could customize include:

  • Live Media or Standard Installer - choose if you’d rather have a live CD/USB stick
  • Repository - where will the files be coming from?
  • The software you’d like to install by default - from the desktop environment to the media player to the internet browser; whatever you or your friend might need
  • root password, etc. - There might be a chance you’d need administrator access for stuff like installing applications, etc.

And you could use Revisor in the Fedora release you’re using. Whatever version you’re using that is the one that will be included in the CD/USB stick. And you have to make sure that you’ve got the latest patch for the release you’re using (if ever) to keep it up to date.



Read More...

[Source: Linux Blogs2k - Posted by FreeAutoBlogger]

Simple Asterisk configuration

Once you have asterisk installed and running you need to configure it, to be able to use it as PBX.

Asterisk has a lot of features, and we will start to explore some of them here step by step, in this first post about configuring Asterisk, I will only show you how to configure a single two internals and make them be able to call each other, you may add more than one, as you will see later, and all of them will be able to call each others.

So lets start:

Asterisk has two main configuration files, and those are:

/etc/asterisk/sip.conf and /etc/asterisk/extensions.conf

On the first one we will configure the extensions, properties, and on the second one we will configure the dial plans, and how they will be able to reach each other.

Here is a simple example of /etc/asterisk/sip.conf file, with two extensions.

[5010]type=friendusername=5010secret=123456host=dynamiccontext=default[5020]type=friendusername=5020secret=123456host=dynamiccontext=default

This will create two extensions, 5010 and 5020, this is assuming they are not behind a nat, if that is the case, this could the configuration file instead.

[5010]type=friendnat=yesusername=5010secret=123456host=dynamiccontext=default[5020]type=friendnat=yesusername=5020secret=123456host=dynamiccontext=default

Well now, lets explain a little the fields in this configuration file:

  • type: Defines the role the extension will have, and we have three options:
    - peer: Where the device will only be able to receive calls from the PBX
    - user: Where the device will only be able to make calls to the PBX
    - friend: Where the device will be able to both make and receive calls through the PBX
  • nat: Defines, if the connecting device that will use that profile, is or is not behind nat.
  • username: Defines the username to be used to connect to the PBX
  • secret: Is the password to be able to connect to the PBX
  • host: The IP that the device will have, if it is set to dynamic, that device will be able to log into the PBX from any IP
  • default: This is very important and defines the group at which that profile belongs, and it is used in the /etc/asterisk/extensions.conf file.

Now, lets configure the second file: /etc/asterisk/extensions.conf

[default]exten => 5010,1,Dial(SIP/5010)exten => 5020,1,Dial(SIP/5020)

I am keeping this as simple as possible, for now, and this will only make possible to call from one extension to the other one, this file, contains the rules about dialing, and what to do, when the PBX “sees” the numbers dialed by a remote user.

What we see here, is that to reach extension 5010, the PBX should dial 5010 using SIP, and as you can see, those rules belong to the default profile, so you can create a lot of profiles, and each telephone attached to the PBX, will belong to one of them and will be able to do only what this file is allowing it to do, so is more or less like having VLANs, or in this case Virtual PBXs, and later we will see how to permit to call from one VPBX to the other.

Well, with this simple configuration you now have a running and working PBX, I will show you later, how to configure Ekiga to use this asterisk configuration.



Read More...

[Source: Linux Blogs2k - Posted by FreeAutoBlogger]