VMX builder – create virtual machine for your VMware Player


Eventhough VMware have release free version of the player, called Vmware Player, you can just open a virtual machine, not creating a new one.

With Vmxbuilder, you can create a new virtual machine, easily. This is a batch command, using command prompt, and only for Windows.

There were also some few websites that have web-based interface to create a new virtual machine, and all of them are for both platform, windows and linux.

Havva good try!

FOSSCAR – 1st day

Today is a very long day. Visitors from various universities came to FOSSCAR ’06 today.

We have a few key person came to FOSSCAR today:

  • Assoc Prof Dr Azmi Omar – Deputy Rector of IIUM
  • Assoc Prof Dr Adam Suhaimi – Dean of KICT, IIUM
  • Ang Chin Han – ByteCraft
  • Khairil Yusoff
  • Dr Nah Soo Hoe
  • Bakhtiar Hamid
  • UPMN (Unit Pembangunan Maklumat Negeri Terengganu)
  • Ezwan Aizat- MyOSS Organizer
  • Thanks for the CDs 🙂

  • Wouter Tebbens – Self Projects
  • UiTM
  • KPTM
  • UniKL – MFI
  • Thanks for those who came today, and we do hope more visitors to FOSSCAR tomorrow. Hope to see you guys here..

    Tomorrow will be more workshop session. Waiting for Bro Adli (get well soon!), Lau Kai Jern (xwings), Lee Chin Sheng (geek00l), Ditesh, Jaya Kumar and everyone, please come. Not forget, Khairul (Creative DR) and Bro Redzuan.

    Tentative for tomorrow, refer here.. http://www.fosscar.com/v1/?2-day_schedule.

    FOSSCAR ’06 – Free & Open Source Software Carnival

    Free & Open Source Software Carnival

    ICT Students Society (ICTSS) will be organizing Free & Open Source Software Carnival 2006. Please refer to the information below:

    Date : 28th and 29th July 2006
    Venue : Cultural Activity Center, IIUM

    Main event of the day:

    Open Source Showcase

      All are invited to present their open source project. Hope everyone can get exposure of different skills and discipline in Open Source.
      Also open for any business entity to promote their open source solution.

    CodeFest

      Open source project, there will be award to be given to best 2 softwares.

    Talk

      Please refer to the speaker list

    Workshop

      Please refer to our workshop speaker list

    International Rafting Expedition – Sungai Pahang



    Image Gallery Hosted By image2u.net – Free Image Hosting


    26 April – 1 May 2006, I went on International Rafting Expedition, Sungai Pahang, with some other IIUM guys.. Quite an interesting experience, meeting so many people in such a big event. Even though there are some problems, but everything just fine.

    Love the time in those villages.. 🙂

    Code snippets collection

    While searching for information about ruby and configuring mod_security in apache, I found 2 sites that might be useful for us.

    http://www.bigbold.com/snippets/

    http://textsnippets.com/

    There are alot of categories for the code snippets, Java, PHP, javaScript, Ruby, Perl bash, and many more. It would be useful for programmers and system administrators.

    Guess what, both the system running the sites were developed by Peter Cooper and powered by Ruby On Rails 😉

    Rubyonrails enabled!

    I have installed Ruby on my FreeBSD 5.4 RELEASE, rubygems, rails, FastCGI and mod_fastcgi.. and walla, i’m riding on rails 😀

    150px-Ruby_on_Rails.svg

    Below i jot it down, how to install ruby on rails in FreeBSD. For this case, I will install ruby 1.8.4, rubygems, rails, FastCGI 2.4.0 and mod_fastcgi 2.4.2 on a FreeBSD 5.4 RELEASE machine.

    #Get all the files needed.
    cd /usr/local/src/
    wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz
    wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz
    wget fastcgi.com/dist/fcgi-2.4.0.tar.gz
    wget fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz

    # Install ruby on the system.
    tar -zxf ruby-1.8.4.tar.gz
    cd ruby-1.8.4
    ./configure && make && make install && cd ..

    # Install rubygems-0.8.11
    tar -zxf rubygems-0.8.11.tar.gz
    cd rubygems-0.8.11
    ruby setup.rb

    # Install rails
    gem install rails -y

    # Install FastCGI
    tar -zxf fcgi-2.4.0.tar.gz
    cd fcgi-2.4.0
    ./configure && make && make install && cd ..

    # Install mod_fastcgi
    tar -zxf mod_fastcgi-2.4.2.tar.gz
    cd mod_fastcgi-2.4.2
    apxs -o mod_fastcgi.so -c *.c
    apxs -i -a -n fastcgi mod_fastcgi.so

    # Create fcgi temp directorys
    mkdir /tmp/fcgi_ipc/
    mkdir /tmp/fcgi_ipc/dynamic/
    chmod -R 777 /tmp/fcgi_ipc/

    # Add an module entry into httpd.conf

    FastCgiIpcDir /tmp/fcgi_ipc/
    AddHandler fastcgi-script .fcgi
    FastCgiWrapper /usr/sbin/suexec

    #Restart httpd. You might need to apply your own way to do this, depending on your system.
    /usr/local/etc/rc.d/httpd restart

    The environment of each website hosted for ruby on rails also need to be created. The guide below will be specifically for direct admin. Root document of each server in DirectAdmin is configured at /home/example/domains/example.com/public_html, example and example.com is for this example only

    cd /home/example/domains/example.com
    rails rails_app
    mv public_html old_public_html
    ln -s rails_app/public public_htm
    cd rails_app
    chmod 755 public

    And, you can point your browser to example.com, and you will be riding on rails too! 😀 Create your controllers/models, configure your routes, configure your database file, and you’re off! You can start working on Ruby applications on rails

    The above guide are just to prepare the system for ruby on rails environment..For the development part, this link would be good for you.
    Howtos in Ruby on Rails

    Will come up more in ruby 😉

    Tunnel traffic over ssh

    I had a problem previously on how to access my server control panel, that runs on port 2222, that was blocked by my network administrator. There is an option to access it, through ssh tunnel. This can be done using putty ssh client in windows, and command line ssh in Linux.
    For sure for ssh tunneling, you would need a ssh account, anywhere.

    You just need to connect to your client as usual, but before that, please take note about tunneling. You need to mention the local and remote port to the destination server.

    For Linux user

    For linux user, ssh tunneling can be done just with a single command line.

    # ssh -L 2222:budihost.com:2222 user@budihost.com

    The left port number will represent the local port, and the right side is the remote port you want to access.

    After that, just fire up your browser, and point to http://localhost:2222. WALLA!

    You need to bare in mind about few things that you need to consider. You cannot do ssh tunneling for a port number below 1024 unless you logged in into ssh account as root. Only root user can bind to a port below 1024.

    Cheers

    Proper education related to hosting when imparted, results in adequate domain names as well as proper seo, not just pay per click.

    Someone steal my bandwidth

    I just noticed an immediate increase bandwidth in one of my sponsored hosting website, www.alif.com.my. When I check the referer, I finds out there is one website who put my radio.blog into his website. He is feeding his visitor with my bandwidth.

    So, I fire up google and search for “php how to check referer”, I found the hacks to solve it. This script will actually check for referer before it loads. Specify your own server, replace www.mysite.com. If the request was not from www.mysite.com, it will just display, “Nice try

    < ?php if ( eregi ( "www.mysite.com", $_SERVER['HTTP_REFERER'] ) ) { // do something } else { echo "Nice try"; } ?>

    Now, the website cannot view the radio blog in his website. Instead, there is a message comming out 🙂

    No more bandwidth stealing