Friday, 7 October 2016

Installation Steps of ATG on Ubuntu Machine

Installation of ATG:
ATG tar , mysql and latest version of JAVA should be the require while installing ATG .
 Before installing the ATG , start  the weblogic server.(http://127.0.0.1:7001/console)
Start the mysql server as /etc/init.d/mysql start
         If not exists 
                  1. sudo apt-get update
                  2.sudo apt-get install mysql-server
                  3.sudo mysql_secure_installation
     4. To start mysql /etc/init.d/mysql start.
Exract the tar of ATG.
 Inside /root/ATG_bin run ACC10.1.1_99REL.bin  shell.
Now run ATGWebServerExtensions10.1.1_99RCN.bin shell.
Run ATG10.1.1_99REL.bin   shell and execute all the shells by accepting the terms.

 Specify the path for the Oracle Middleware directory.
/root/oracle/bea
Specify the path for weblogic home directory.
                                  /root/oracle/bea/weblogic10.3.5
Specify the path for weblogic domain directory.
        /root/rakesh_weblogic/user_projects/domains/mydomain
Specify the path for java.
Enter weblogic port   as default.
Enter the RMI port  as default.
Execute rest of the shells by accepting all the terms.
Now  goto  /root/ATG/ATG10.1.1/CommerceReferenceStore/Store/eval directory and run the configureEval.sh shell.:wq
1. Do you wish to run the CRS evaluation installation? [Y/N]:  enter Y.
2. Do you wish to use an existing database for the CRS evaluation? [Y/N]: N
3. The CRS evaluation install will attempt to create the database. Press [Return] to continue or       any other key to quit:  Press Enter.
Enter mysql database connection details 
      Enter user name               :   crsprod
      Enter user password         :   crsprod
      Enter database name        :     crsprod 
      Enter 'root' user password:   root  
If error occurs regarding dynamo then specify  the command as 
 export DYNAMO_HOME=/root/ATG/ATG10.1.1/home
and execute the shell again.
      Enter weblogic admin server URL: t3://localhost:7001 (Specify the weblogic IP and port).
      Enter weblogic admin server username: weblogic 
      Enter weblogic admin server password:  welcome1.
Goto    /ATG/ATG10.1.1/home/servers/atg directory and  specify the path in startServerOnWeblogic.sh   shell  as "/root/rakesh_weblogic/user_projects/domains/mydomain/bin/startManagedWebLogic.sh" atg t3://localhost:7001/ $*(specify weblogic IP and Port)
Now execute the startServerOnWeblogic.sh shell.

When the ATG server  has started, you will  get the status as  <Server started in RUNNING mode> message .
Now open the browser and enter http://127.0.0.1:7003/crs/. to check ATG is running or not.

No comments:

Post a Comment