Thursday, October 21, 2010

Web Development Workshop

Do not hesitate to call us if there is a need to clarify anything.

Sunday, October 3, 2010

Open Movies :: Sintel, another brilliant Blender Project

Our short animation film now has been published online for everyone to watch and spread! It’s been an exciting moment for our team, and for everyone who as eagerly awaited this moment. We hope you enjoy it!
Open Movies have done it again. It looks like Blender3D is gaining momentum. Looking at theconcept-art, you see that the team how started sketching and comparing to the final product, all I have to say, "it is really good work"

After watching the film I realised how much Tanzanians can improve our animations especially the ads. What I really like about the Sintel Team is that they have given us more than just the movie, but concept-art and Tutorials

Saturday, October 2, 2010

HowTO : Install SQL-Ledger on Ubuntu 10.04

SQL-Ledger is a double-entry accounting/ERP system written in perl. It has been tested with PostgreSQL, Apache, Netscape, Mozilla, Galeon, Explorer, Links, Lynx, Konqueror, Voyager, W3M and Opera clients on Linux, FreeBSD, Solaris, Windows, Mac computers and PDA's.

Installing SQL-Ledger on Ubuntu 10.04

  1. Login as root
    sudo -i
  2. Download SQL-Ledger.
    wget -c
    (sql-ledger-2.8.30 is the stable version, but 3.0 is on the way)
  3. Untar the files
    cp sql-ledger-2.8.30.tar.gz /usr/local 
    cd /usr/local 
    tar zxvf sql-ledger-2.8.30.tar.gz
  4. Setup SQL-Ledger
    cd /usr/local/sql-ledger
    Checking for latest version number .... ... ok
                   SQL-Ledger ERP Installation
    (i)nstall 2.8.30 (from Internet)
    (d)ownload 2.8.30 (no installation)
    Enter: i
    Enter httpd owner [] : www-data
    Enter httpd group [] : www-data
    Downloading sql-ledger-2.8.30.tar.gz .... .... ok
    Decompressing sql-ledger-2.8.30.tar.gz ... done
    Unpacking sql-ledger-2.8.30.tar ... done
    cleaning up ... done
    This is a new installation.
    Webserver directives were written to
    Please add
    # SQL-Ledger
    Include /etc/apache2/sql-ledger-httpd.conf
    to your httpd configuration file and restart the web server.
    Display README (Y/n) : n
  5. Apache Configuration. Looking at the last step,
    #Webserver directives were written to
    Please add
    # SQL-Ledger
    Include /etc/apache2/sql-ledger-httpd.conf
    to your httpd configuration file and restart the web server.
    Display README (Y/n) : n
    In Ubuntu, the configurations are entered in the file /etc/apache2/apache2.conf. So open the file and add the line as instructed above.
    vim /etc/apache2/apache2.conf
    Locate other incldues and add the SQL-Ledger Include. See how my apache2.conf file.
  6. Change permissions of some of the files so that the Apache Server can write to them.
    cd /usr/local/sql-ledger  
    chown -hR www-data.www-data users templates css spool
  7. Restart Your Apache Server
    /etc/init.d/apache2 restart
  8. Install PostgreSQL
    apt-get install postgresql postgresql-client
  9. Create a new user and database for sql-ledge
    su postgres
    createuser -d -P sql-ledger
    createdb sql-ledger
    createlang plpgsql template1
  10. Setup the database and tables. Fire up your browser and point to http://localhost/sql-ledger/ Initial Password is admin.  Select the "Database Administration" link, enter the user you created in the previous step.  The "Create Dataset" link queries the server for existing datasets and displays them in a table. Enter a name for the new dataset (use lowercase letters only!) and select one of the Chart of Accounts and click on Continue.
  11. Create the User. Click "Add User"and remember to use the dataset you have just created.
  12. Start Your Accounting by pointing your browser to http://localhost/sql-ledger/

Thursday, September 30, 2010

Installing GoogleSketchUp 7 on Ubuntu 10.04 using Wine 1.1.49

If you are like me, design even your dog house then Google SketchUp is a tool you want to use.

 I wanted to do a layout of  Tri Labs new office and I was wondering what tool can use to do that easily and quickly, I have some job portal for develop. After a but of googling, SketchUp seemed to be showing up everywhere, but it is written to work on Windows and Mac Platforms.  By now you should know that the open source community are a bunch of die hards.

So here is how I installed SketchUp on my Ubuntu 10.04 - Lucid Lynx

Laying as good foundation : Installing Wine

  1. Start the terminal - Application > Accessories > Terminal
  2. Update your repository list

    sudo apt-get update
  3. Install Wine

    sudo apt-get install wine1.2 wine1.2-dbg wine1.2-dev wine1.2-gecko

Download and Install SketchUp

  1. Download SketchUp 7
  2. Install SketchUp 7. Navigate to the folder of where you saved the GoogleSketchUpWEN.exe file, right click on the GoogleSketchUpWEN.exe and choose ‘Open with Wine Windows Program Loader’. Simply follow the instructions while accepting all the default settings, and it should install without problems at all
  3. Google SketchUp needed Windows files

    wget -c
    sh winetricks corefonts vcrun6 vcrun2005
  4. After installing winetricks is done, you are ready to sketch, just click Applications > Wine > Programs > Google SketchUp 7 > Google SketchUp.

Just InCase Hacks

  1. Error "SketchUp was unable to initialize OpenGL - Run the regedit.exe (found in /home/YOURNAME/wine/drive_c/windows/regedit.exe). Expand HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display, and change HW_OK to 1.
  2. You can not see SketchUp 7 under Programs - Navigate /home/YOURUSERNAME/.wine/dosdevices/c:/Program Files/Google/Google SketchUp 7/ and launch SketchUp.exe
The office foundation and walls are up, 

Wednesday, September 22, 2010

Using Ubuntu : Why should you try Ubuntu?

After having used Linux for almost seven year now, I have come to really appreciate it in many ways. Currently Ubuntu is my default distribution both for development and also on the server side. But if you are starting, Ubuntu is 
  • fast on booting and fully functional
  • good and modern operating system
  • free (“free as in free speech”)
  • secure and virus free
  • good on low specs computers
  • great as an office tool as well as a server operating system
  • good for all ages, it care for your 5 year old (Edubuntu) to hardcore hacker (Ubuntu Server)
Next: Using Ubuntu : What is Ubuntu?

Monday, September 20, 2010

HOWTo: Getting Zain E1550 to work on Ubuntu 10.04

The HUAWEI E1550 does not work on most boxes running Ubuntu 10.04. But thanks to Deo Shayo of UDOM, I can now make use of the modems on Ubuntu 10.04 LTS.

  • Update your source list

    $ sudo apt-get update
  • Install the usb-modeswitch

    $ sudo apt-get install usb-modeswitch
  • Run the usb-modeswitch
    sudo usb-modeswitch
  • Setup the Mobile Broadband, normally and now should see the Zain listed under Tanzania

Thursday, September 16, 2010

UDOM : Transcript Code

Here is the source for what we did yesterday. You will also find the database dump. 

Please post any question here so that we can all share.