I accidently installed Oracle on the wrong directory. So I decide to clone the home installed to the new location and delete the original one. Here is what I did:
1. Copy the home to the new location:
cp -rp product /u01/app/oracle
2. Go to the new home location, cd oui/bin and then run
./runInstaller -clone ORACLE_BASE="/u01/app/oracle" ORACLE_HOME="/u01/app/oracle/product/10.2.0/db_1" ORACLE_HOME_NAME="home1"
It asked to run root.sh as root.