Sunday, November 23, 2014

Showing Date Difference with javascript html.

The following shows that it is possible to get the amount of days between dates using html and javascript. The code implemented requires jquery. A sample can be seen here

Here is the code

Saturday, November 1, 2014

Install Mysql server on Ubuntu 14.04

Summary of steps

  1. open terminal
  2. type sudo apt-get install mysql-server
  3. Confirm installation by pressing Y
  4. Wait for installation to complete
  5. Enter root proposed password when promted
  6. Confirm root password
  7. Enter command for running mysql server mysql –u root –p
  8. Type the root password confirmed earlier
  9. Done, feel free to use the Mysql database commands

. Go to the terminal and type sudo apt-get install mysql-server to start the installation. Eventually, a prompt will ask to continue or not. Enter Y to proceed to the installation. image

You will be then asked for a password for the root account. Type it and reenter it.

image

image

After that more files are loaded until the installation is completed. Once the installation is completed, enter mysql –u root –p on the terminal. Afterwards,type in the root password entered earlier. You should then see the Mysql server communicating on the terminal.image