Time Breakdown of Modern Web Design

Time Breakdown of Modern Web Design

  • Run Ubuntu Live CD
  • Enter a terminal
  • Locate the linux boot partition lives
    [user@net ~]$sudo fdisk -l
  • Assume the boot partition lives in /dev/sda6 then do mount into a directory, example /mnt/root
  • [user@net ~]$sudo mkdir /mnt/root
  • [user@net ~]$sudo mount -t ext3 /dev/sda6 /mnt/root
  • [user@net ~]$sudo grub-install –root-directory=/mnt/root /dev/sda –recheck
  • reboot


    1. The system used in this tutorial has the following installed : Tomcat 6.0.14, Apache 2.2.8
    2. See on <tomcat_home>/conf/server.xml
      <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    3. Download mod_jk from here
    4. Install mod_jk in Apache module directory
      • On Linux, usual location : 
        • /usr/lib/apache/
        • /usr/lib/apache2/
        • /usr/local/apache/libexec/
      • On Windows, usual location :
        • C:\Program Files\Apache Group\Apache\modules\
        • C:\Program Files\Apache Group\Apache2\modules\
    5. (more…)

    Ubuntu can play the most popular non-free media formats, including DVD, MP3, Quicktime, Windows Media, and more by following the instructions below:

    For Ubuntu 8.04/7.10, open the terminal, and execute the following command:
    #sudo apt-get install ubuntu-restricted-extras

    Another way is using Synaptic:

    • Go to ApplicationsAdd/Remove…
    • Set Show: to All available applications
    • Search for ubuntu-restricted-extras and install it. Note that there is also xubuntu-restricted-extras (for Xubuntu) and kubuntu-restricted-extras (for Kubuntu.)


    In order to enable the user-specific public_html directory open up a terminal and switch to the apache module config directory:

    cd /etc/apache2/mods-enabled

    If you list all the files inside this directory you’ll notice that all of them are actually symbolic links. To enable mod_userdir, which is the module you’re interested in, you’ll have to create two symlinks to the relevant files:

    sudo ln -s ../mods-available/userdir.load

    sudo ln -s ../mods-available/userdir.conf

    All done! Now restart Apache via:

    sudo apache2ctl restart

    We can now access the web applications stored in our /home/username/public_html directory via http://localhost/~username/

    Instruction dated May 2005

    1. First install java SDK as shown above. Let say your java is in /usr/lib/j2sdk1.4-sun. It depends on your version, and where you install it. I will call it $JAVA
    2. Get the latext binary for linux from rxtx.org.
      untar it, you will see lib-something-parallel.so and lib-something-serial.so.
      cp those to $JAVA/jre/lib/i386/
      you will also see RXTXcomm.jar
      cp that to $JAVA/jre/lib/ext
    3. Get Java Comm from sun (http://java.sun.com/products/javacomm/downloads/index.html)
      Download Version 2.0 for Microsoft Windows and Solaris/x86
      Get the Solaris x86 version
      you will see comm.jar
      cp that to $JAVA/jre/lib/ext
    4. echo “Driver=gnu.io.RXTXCommDriver” > $JAVA/jre/lib/javax.comm.properties
    5. Test out your installation
      Go to the untar javacomm directory
      inside it, there should be a samples/Simple
      javac *.java
      See if there is error. If there is no error, installation is finished!


    Input : String imgName (Image name)
    Output : Image Object

    This Procedure can do two things :

    1. Creating Image object from image file on file system
    2. Creating Image object from image file on http server