How to install JasperPHP in Ubuntu

  1. Install tomcat
    $ sudo apt-get install tomcat7

    Once we installed tomcat we can go to http://localhost:8080 and we have to see this:


  2. Download JavaBridge
    Go to and download the JavaBridge.war file, this war file is in a zip that it’s called to deploy it in Tomcat.
  3. Deploy JavaBridge.war
    Copy the JavaBridge.war file to /var/lib/tomcat7/webapps

    $ sudo cp JavaBridge.war /var/lib/tomcat7/webapps/

    Once this is deployed you will see a new Directory in /var/lib/tomcat7/webapps/:
    Then when you go to http://localhost:8080/JavaBridge you will see the following tests:

  4. Modify your php.ini
    If you do not have it, just add it.

Error SSL from Github

When I tried of using the following command:

# git clone

I got the following error:

error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing

For solving this error when I use clone, push or pull I put the next env before the git command:

# env GIT_SSL_NO_VERIFY=true git clone
# env GIT_SSL_NO_VERIFY=true git pull origin master
# env GIT_SSL_NO_VERIFY=true git push origin master


Present Real Conditionals

It is used in sentences for general truths. The if clause talks about a condition, and the result clause talks what happens when the condition occurs.

Also we often use even if then the result is surprising.

[ If clause, ] [ Result clause ]

  • If it’s sunday, the bank is closed.
  • If you use a pen for your exam, it’s better.
  • Even if it’s sunday, the new bank stays open.

PRC also can be used in sentences when you want to express habits.

  • If I’m surfing the Web, I use Google.
  • If I shop online, I use Amazon.
  • If I have free time, I spend it with my friends.

You can use modals in the result clause.

  • If It doesn’t work, you can return it.
  • If you are sick, you should take some rest.

The result clause can be used for imperatives, to give instructions, commands and invitations that depend on a certain condition.

  • If you don’t have enough battery, start to charge it.
  • If a site is not secure, don’t enter your information.

[*] Use a comma between the two clauses only when the if clause come first.

If I’m surfing the Web, I use Google.
I use Google if I’m surfing the web.