Skip to content

Cloud Blogs

Author – Madhusudhan Rao

Menu
  • Cloud How to Series
  • Cloud-Blogs by Madhusudhan Rao
    • ADF
      • ADF based Android Apps
      • ADF CRUD Cascaded LOVs
      • ADF CRUD Operation
      • ADF for Dummies
      • ADF for Financial Services Software Development
    • Analytics & Visualization
      • Business Intelligence
      • Oracle BI & DV Cloud Service
      • setting up Oracle Analytics Cloud Instance and Data Visualization Techniques
    • App Servers & DevOps
      • How to deploy NodeJS Application on Oracle Application Container Cloud Service
      • Oracle Application Container Cloud Service
      • Oracle Java Cloud Service
    • Architecture
      • 01 Enterprise Business
      • 02 Content framework
      • 03 Enterprise Continuum
      • 04 Maturity Models
      • 05-Architecture Governance
      • 06-Preliminary Phase
      • 07-Architecture Vision
      • 08-Business Architecture
      • 09-Info Sys Architecture
      • 10-Tech Architecture
      • 11 Opportunities & Solns
      • 12-Migration Planning
      • 14 Implementation Governance
      • 15 Change Management
      • 16-Requirement Management
      • 17 Reference Models
      • Cloud Architecture Concepts
        • 01 Architecture Concepts – Regulatory Compliance, Security monitoring and Storage protocols
        • 02 Architecture – Network Concepts and Bare Metal
        • 03 Enterprise Solution Architecture – Best Practices
        • 04 Cloud Architecture Concepts
      • Value Selling Techniques
    • OCI Admin Blogs
      • Create Oracle Cloud Infrastructure Instance
      • ElasticSearch & Kibana – Must for All Search Engine Development
      • How to Create Oracle Bare metal Compute Instance
      • Measuring Latency and TraceRoute Details with Oracle Edge Services
      • OCI Oracle cloud infrastructure – Setting up a NAT Instances for Public Internet Access from a Private Subnet
      • Oracle Cloud Infrastructure – OCI Creating buckets and object storage – setting up self expiry URLs
      • Oracle Cloud Infrastructure OCI – Create Instance ,Attach Block Volume , Open Ports, Setup Firewall rules
      • Python Basics
      • setting up Apache Tomcat on Oracle Cloud Infrastructure OCI
      • setting up CloudFlare DNS & HAProxy on Oracle Cloud Infrastructure for High Availability
      • Setting up Django Python Web Environment on Oracle Cloud
      • setting up File Storage on OCI and uploading files through Filezilla FTP
      • Setting up GPU-enabled Narupa server on Oracle Bare Metal Cloud for Virtual Reality Clients
      • setting up LAMP Stack , PHP 5.6, PhpMyAdmin , FTP and Mail Server on OCI
      • setting up Load Balancer on Oracle Cloud Infrastructure
      • setting up MongoDB Enterprise version Instance on Oracle Cloud Infrastructure Baremetal
      • setting up MongoDB on Oracle Cloud Infrastructure Classic and Opening Ports
      • Setting up SSH , FTP and Opening Ports on Oracle Cloud PaaS and IaaS
      • setting up web infrastructure DNS and HTTPS for your cloud Infrastructure as a Service OCI
      • World of Slack Programming
    • OCI Classic Blogs
      • How to Create WordPress blog on Oracle Cloud
      • running Function as a Service on Oracle Cloud Infrastructure – fnproject.io
      • running Hadoop & Big Data on Oracle Cloud Infrastructure
      • running TensorFlow Machine Learning for Image Recognition on Oracle Cloud Infrastructure
      • Setting up Kubernetes on Oracle Cloud Infrastructure – Classic
    • Oracle BPM for Financial Services
      • BPM for FS
      • 1. Setting up the development environment
      • 2. Modeling a home loan business process
      • 3. Implementing a home loan business process
      • 4. Deploying and testing a process workflow
      • 5. Administering processes
      • 6. Changing a business process by the process analyst
      • 7. Creating business reports for process owners
      • 8. Participating in a business process
      • 9. Integrating with business partners
      • 10. Collaborating with customers and end users
    • Oracle JET Series
  • Database Series
    • Autonomous Data Warehouse and Analytics
      • 01 Preparing Client Machine
      • 02 Creating Autonomous Data Warehouse Instance
      • 03 Creating Tables into Autonomous Data Warehouse through SQL Developer
      • 04 Load Data into OCI Object storage and import that data into Autonomous Data warehouse
      • 05 Create Autonomous Analytics Cloud ADW Connection and create Data Visualization
    • Oracle Apex Cloud Service
    • Oracle Database Cloud Service
    • setting up and running Oracle Big Data PaaS
    • Setting up MySQL PaaS on Oracle Cloud
  • Dockers on OCI Series
    • Comprehensive Blog on Dockers running on OCI
    • running a Docker Container on OCI
    • opening OCI Ports for Docker Containers
    • Building a Docker Image by using Dockerfile
    • Committing changes made in a Docker without using Dockerfile
    • pushing image to Docker Hub
    • DevOps with Github, Docker Hub and Oracle Container Cloud Services
    • running Apache Kafka for continuous data streaming on Oracle cloud infrastructure
  • Oracle OKE Series
    • 01 Comprehensive Blog on Oracle Kubernetes Engine – getting started
    • 02 Configure Network Resources for Oracle Kubernetes Engine
    • 03 Creating 3 Worker and 2 Load Balancers Subnets for OKE
    • 04 Creating Oracle Kubernetes Cluster
    • 05 – Enable Cluster access through Command line interface
    • 06 – Getting onto Oracle Kubernetes Engine Dashboard
    • 07 Pod Configuration using a YAML Deployment
  • SOA BPM IDM Portal Series
    • FMW
      • Comprehensive Business Process Management – BPM 11g
      • FMW Install Startup Scripts
      • Oracle 11gR2 and 12c Database on Linux / OEL / Fedora
      • Oracle Identity Mangement
      • PS6, PS7, PS8 Install and Configuration
    • Webcenter Portal
      • Art of Webcenter Templating
      • Webcenter Sites Installation Linux
      • Webcenter Sites Look n feel
      • Webcenter Spaces
        • Custom Landing Page
      • Webcenter UCM Integration PS5
      • Webcenter, BPM Process Spaces – UCM PS5
      • BPM UCM and Webcenter PS5
    • BPM Series
      • 01-Simple BPM Task Initiator
      • 02-Business Rules and Exclusive Gateway
      • 03-Service Invocation Adapters
      • 04-BPM as a Web Service
      • 05-Mediator and Conditional Service Routing
      • 06-BPM Composer – Runtime Edit
      • 07-BPM and JMS Adapters
      • Oracle BPM 12c features
    • Process Cloud Service
      • Part 1 – Working with Process Cloud Service
      • Part 2 – How to Build Process , Data Persistence in Database Cloud Service
      • Part 3 – Invoking PCS Process from Oracle JET Framework
    • SOA Series
      • Oracle OSB 11g
      • Oracle SOA 11g Business Rules
      • Oracle SOA 11g DB Adapter
      • Oracle SOA 11g Mediator
      • SOA 11g AQ Adapters
  • Terraform on OCI Series
    • Create a Highly Scalable Cluster in the cloud using Terraform on OCI
    • Creating an Instance with New VNC Network
    • Managing the OCI Cluster with Slurm Workload Manager & Grafana
    • Terraform on OCI create instance
    • Terraform on OCI create load balancer
    • Terraform on OCI create non-federated user
    • Terraform on OCI create user, group, dynamic group and policies
    • Terraform on Oracle Cloud OCI
Menu

Webcenter Sites Installation Linux

Webcenter sites installation on red hat linux (fedora os)

This blog would help one to setup Webcenter Sites (formerly a Fatwire Product) on Linux Operating system such as Fedora 17 (Red Hat Linux), running Oracle 11g Database and Tomcat as its App server.

Softwares required

The following Softwares are to be downloaded

apache-tomcat-6.0.35.zip (from http://projects.apache.org/projects/tomcat.html)

and

ofm_sites_generic_11.1.1.6.0_disk1_1of1.zip (from http://www.oracle.com/technetwork/middleware/webcenter/sites/downloads/index.html)

SQL Developer (Optional from http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html)

Assumption : Fedora 17 (http://fedoraproject.org/get-fedora) is already installed and Oracle 11g Database (http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html) is running with orcl service under port 1521 (Installation of database itself is out of scope in the current blog)

Note : the paths are relative to my system and my installation it might slightly differ on different systems , those marked in bold fonts are important commands to be run under linux for various operations such as startup or configurations,

setting up database

1. Start Database

[[email protected] ~]$ 
cd /home/james/app/james/product/11.2.0/dbhome_1/bin
[[email protected] bin]$ 
export ORACLE_HOME=/home/james/app/james/product/11.2.0/dbhome_1
[[email protected] bin]$ 
export ORACLE_SID=orcl
[[email protected] bin]$ ./sqlplus /nolog
SQL*Plus: Release 11.2.0.3.0 Production on Wed Aug 1 18:49:32 2012
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 2471931904 bytes
Fixed Size		    2230872 bytes
Variable Size		  587204008 bytes
Database Buffers	 1862270976 bytes
Redo Buffers		   20226048 bytes
Database mounted.
Database opened.
SQL> quit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit 
[[email protected] bin]$ ./lsnrctl start
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 01-AUG-2012 
Copyright (c) 1991, 2011, Oracle.  All rights reserved.
Starting /home/james/app/james/product/11.2.0/dbhome_1/bin/tnslsnr:

2. Open SQL Worksheet in SQL Developer connect as SYS user

login to database as sys create user csuser
CREATE USER csuser IDENTIFIED BY welcome1 ;
GRANT CREATE session, CREATE table, CREATE view, 
CREATE synonym, CREATE Trigger, Create Sequence TO csuser ;
GRANT UNLIMITED TABLESPACE TO csuser ; 
commit;

Setting up tomcat

1. Unzip Tomcat. eg /home/james/Oracle/apache-tomcat-6.0.35/

2. Edit /home/james/Oracle/apache-tomcat-6.0.35/conf/server.xml file

3. Add the following lines above end of host tag </Host>

<Context path="/cs" docBase="cs" reloadable="true" 
crossContext="true">
<Resource name="csDataSource" auth="Container" 
type="javax.sql.DataSource" maxActive="100" 
maxIdle="30" username="csuser" password="welcome1" 
driverClassName="oracle.jdbc.driver.OracleDriver" 
url="jdbc:oracle:thin:@//localhost:1521/orcl"/>

4. Copy paste ojdbc6.jar under lib folder of Tomcat that is.

/home/james/Oracle/apache-tomcat-6.0.35/lib

5. Edit catalina.sh file under bin of tomcat directory

/home/james/Oracle/apache-tomcat-6.0.35/bin

add the following lines above resolve links block. (you can find these in the Catalina.sh file)

 # lines taken from Holy Book by James Smith :-)  
export JUMPHOME="/home/james/Oracle/webcenter/sites/wem"
export CATALINA_HOME="/home/james/Oracle/apache-tomcat-6.0.35"
export JAVA_HOME="/home/james/Oracle/jdk1.6.0_30"
export CLASSPATH="/home/james/Oracle/jdk1.6.0_30/lib/tools.jar:
/home/james/Oracle/webcenter/sites/bin":$CLASSPATH  
export JAVA_OPTS="-Xms1024M -Xmx1024M 
-XX:PermSize=256M -XX:MaxPermSize=256M 
-Dfile.encoding=UTF-8 
-Dcs.useMilliseconds=true 
-Dcs.useEhcache=true 
-Dnet.sf.ehcache.enableShutdownHook=true"
export PATH="/home/james/Oracle/jdk1.6.0_30/lib/tools.jar:
/home/james/Oracle/webcenter/sites/bin":$PATH
export CATALINA_PID="$CATALINA_HOME"/tomcat.pid
# lines taken from Holy Book by James Smith

Important comment this below line in the catalina.sh file using # before classpath

# CLASSPATH= must be commented

start and stop tomcat – test configurations

tomcat can be started and stopped with following commands

[[email protected] bin]$ ./shutdown.sh -force
Using CATALINA_BASE:   /home/james/Oracle/apache-tomcat-6.0.35
Using CATALINA_HOME:   /home/james/Oracle/apache-tomcat-6.0.35
Using CATALINA_TMPDIR: /home/james/Oracle/apache-tomcat-6.0.35/temp
Using JRE_HOME:        /home/james/Oracle/jdk1.6.0_30
Using CLASSPATH:       /home/james/Oracle/jdk1.6.0_30/lib/tools.jar:
/home/james/Oracle/webcenter/sites/bin::/home/james/Oracle
/apache-tomcat-6.0.35/bin/bootstrap.jar
Using CATALINA_PID:    
/home/james/Oracle/apache-tomcat-6.0.35/tomcat.pid
Killing Tomcat with the PID: 1913
[[email protected] bin]$ ./startup.sh
Using CATALINA_BASE:   /home/james/Oracle/apache-tomcat-6.0.35
Using CATALINA_HOME:   /home/james/Oracle/apache-tomcat-6.0.35
Using CATALINA_TMPDIR: /home/james/Oracle/apache-tomcat-6.0.35/temp
Using JRE_HOME:        /home/james/Oracle/jdk1.6.0_30
Using CLASSPATH:       /home/james/Oracle/jdk1.6.0_30/lib/tools.jar:
/home/james/Oracle/webcenter/sites/bin::/home/james/Oracle/
apache-tomcat-6.0.35/bin/bootstrap.jar
Using CATALINA_PID:    
/home/james/Oracle/apache-tomcat-6.0.35/tomcat.pid

Open the Browser and try http://localhost:8080/ you should be able to see the homepage

Installation of Webcenter Sites

Unzip ofm_sites_generic_11.1.1.6.0_disk1_1of1.zip , it creates Webcenter sites directory, go to

./WebCenterSites/WCS_Sites_11.1.1.6.0/WCS_Sites_11.1.1.6.0/ContentServer
Edit csInstall.sh add the following line

Your Java Home Directory might differ please change accordingly,

export JAVA_HOME="/home/james/Oracle/jdk1.6.0_30"
sh ./Sun/common/jvcheck.sh csInstall $*

Launch the installer

ensure that tomcat directory has read/write permissions

chmod 777 *

Next change to installation directory

and launch csInstall.sh and follow these screens

In our case we have configured for Oracle Database 11gR1

Click on Installation Button , Test Button if needed.

Post Installation Check

Use SQL Developer login with username as csuser/welcome1 , service name as orcl and port as 1521 (this might change in your installation)

check if new tables have been created.

Start Tomcat and Acccess the following URL http://localhost:8080/cas/login

login as admin / welcome1

http://localhost:8080/cs/wem/fatwire/wem/Welcome

Select AdminSite

AVI Sports site that was setup during Installation

Click on View -> Preview in New Window you can see the sport site as shown

Oracle Enterprise Linux Disable Firewall

If you wish to access the URLs of your Machine from another Machine or VM,  then you may need to disable the firewall settings as shown below. if not you will not be able to access URLs such as http://ipaddr:8080/cs/wem/fatwire/wem/Welcome

[[email protected] wc_domain]$ su root
Password: ******
[[email protected] wc_domain]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
[[email protected] wc_domain]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]

What next

Changing look and feel of a Website as an User >> , We will now convert the sample Avi Sports Site into a Health care Portal without writing a single line of code.

Author Profile

About Author

Log in
  • Oracle OKE Series
    • 01 Comprehensive Blog on Oracle Kubernetes Engine - getting started
    • 02 Configure Network Resources for Oracle Kubernetes Engine
    • 03 Creating 3 Worker and 2 Load Balancers Subnets for OKE
    • 04 Creating Oracle Kubernetes Cluster
    • 05 - Enable Cluster access through Command line interface
    • 06 - Getting onto Oracle Kubernetes Engine Dashboard
    • 07 Pod Configuration using a YAML Deployment
  • Cloud How to Series
  • Dockers on OCI Series
    • Comprehensive Blog on Dockers running on OCI
    • running a Docker Container on OCI
    • opening OCI Ports for Docker Containers
    • Building a Docker Image by using Dockerfile
    • Committing changes made in a Docker without using Dockerfile
    • pushing image to Docker Hub
    • DevOps with Github, Docker Hub and Oracle Container Cloud Services
    • running Apache Kafka for continuous data streaming on Oracle cloud infrastructure
  • Terraform on OCI Series
    • Managing the OCI Cluster with Slurm Workload Manager & Grafana
    • Terraform on Oracle Cloud OCI
    • Terraform on OCI create instance
    • Creating an Instance with New VNC Network
    • Terraform on OCI create non-federated user
    • Terraform on OCI create user, group, dynamic group and policies
    • Terraform on OCI create load balancer
    • Create a Highly Scalable Cluster in the cloud using Terraform on OCI
  • Cloud-Blogs by Madhusudhan Rao
    • Oracle JET Series
    • OCI Classic Blogs
      • Setting up Kubernetes on Oracle Cloud Infrastructure - Classic
      • running TensorFlow Machine Learning for Image Recognition on Oracle Cloud Infrastructure
      • running Function as a Service on Oracle Cloud Infrastructure - fnproject.io
      • running Hadoop & Big Data on Oracle Cloud Infrastructure
      • How to Create WordPress blog on Oracle Cloud
    • OCI Admin Blogs
      • setting up Apache Tomcat on Oracle Cloud Infrastructure OCI
      • Setting up SSH , FTP and Opening Ports on Oracle Cloud PaaS and IaaS
      • setting up LAMP Stack , PHP 5.6, PhpMyAdmin , FTP and Mail Server on OCI
      • Create Oracle Cloud Infrastructure Instance
      • setting up File Storage on OCI and uploading files through Filezilla FTP
      • setting up CloudFlare DNS & HAProxy on Oracle Cloud Infrastructure for High Availability
      • setting up web infrastructure DNS and HTTPS for your cloud Infrastructure as a Service OCI
      • Oracle Cloud Infrastructure OCI - Create Instance ,Attach Block Volume , Open Ports, Setup Firewall rules
      • Setting up GPU-enabled Narupa server on Oracle Bare Metal Cloud for Virtual Reality Clients
      • Oracle Cloud Infrastructure - OCI Creating buckets and object storage - setting up self expiry URLs
      • OCI Oracle cloud infrastructure - Setting up a NAT Instances for Public Internet Access from a Private Subnet
      • setting up MongoDB on Oracle Cloud Infrastructure Classic and Opening Ports
      • ElasticSearch & Kibana - Must for All Search Engine Development
      • How to Create Oracle Bare metal Compute Instance
      • World of Slack Programming
      • Setting up Django Python Web Environment on Oracle Cloud
      • Measuring Latency and TraceRoute Details with Oracle Edge Services
      • setting up Load Balancer on Oracle Cloud Infrastructure
      • Python Basics
      • setting up MongoDB Enterprise version Instance on Oracle Cloud Infrastructure Baremetal
    • ADF
      • ADF CRUD Operation
      • ADF for Financial Services Software Development
      • ADF based Android Apps
      • ADF for Dummies
      • ADF CRUD Cascaded LOVs
    • Architecture
      • 08-Business Architecture
      • 04 Maturity Models
      • 09-Info Sys Architecture
      • 05-Architecture Governance
      • Value Selling Techniques
      • 10-Tech Architecture
      • Cloud Architecture Concepts
        • 01 Architecture Concepts - Regulatory Compliance, Security monitoring and Storage protocols
        • 02 Architecture - Network Concepts and Bare Metal
        • 03 Enterprise Solution Architecture - Best Practices
        • 04 Cloud Architecture Concepts
      • 11 Opportunities & Solns
      • 12-Migration Planning
      • 14 Implementation Governance
      • 15 Change Management
      • 16-Requirement Management
      • 01 Enterprise Business
      • 02 Content framework
      • 06-Preliminary Phase
      • 03 Enterprise Continuum
      • 17 Reference Models
      • 07-Architecture Vision
    • Oracle BPM for Financial Services
      • BPM for FS
      • 1. Setting up the development environment
      • 2. Modeling a home loan business process
      • 3. Implementing a home loan business process
      • 4. Deploying and testing a process workflow
      • 5. Administering processes
      • 6. Changing a business process by the process analyst
      • 7. Creating business reports for process owners
      • 8. Participating in a business process
      • 9. Integrating with business partners
      • 10. Collaborating with customers and end users
    • App Servers & DevOps
      • Oracle Application Container Cloud Service
      • Oracle Java Cloud Service
      • How to deploy NodeJS Application on Oracle Application Container Cloud Service
    • Analytics & Visualization
      • Business Intelligence
      • setting up Oracle Analytics Cloud Instance and Data Visualization Techniques
      • Oracle BI & DV Cloud Service
  • Database Series
    • setting up and running Oracle Big Data PaaS
    • Autonomous Data Warehouse and Analytics
      • 01 Preparing Client Machine
      • 02 Creating Autonomous Data Warehouse Instance
      • 03 Creating Tables into Autonomous Data Warehouse through SQL Developer
      • 04 Load Data into OCI Object storage and import that data into Autonomous Data warehouse
      • 05 Create Autonomous Analytics Cloud ADW Connection and create Data Visualization
    • Oracle Database Cloud Service
    • Oracle Apex Cloud Service
    • Setting up MySQL PaaS on Oracle Cloud
  • SOA BPM IDM Portal Series
    • FMW
      • PS6, PS7, PS8 Install and Configuration
      • FMW Install Startup Scripts
      • Oracle 11gR2 and 12c Database on Linux / OEL / Fedora
      • Comprehensive Business Process Management - BPM 11g
      • Oracle Identity Mangement
    • Webcenter Portal
      • Webcenter UCM Integration PS5
      • Webcenter, BPM Process Spaces - UCM PS5
      • Webcenter Spaces
        • Custom Landing Page
      • Webcenter Sites Installation Linux
      • Art of Webcenter Templating
      • Webcenter Sites Look n feel
      • BPM UCM and Webcenter PS5
    • Process Cloud Service
      • Part 1 - Working with Process Cloud Service
      • Part 2 – How to Build Process , Data Persistence in Database Cloud Service
      • Part 3 – Invoking PCS Process from Oracle JET Framework
    • BPM Series
      • 01-Simple BPM Task Initiator
      • 02-Business Rules and Exclusive Gateway
      • 03-Service Invocation Adapters
      • 04-BPM as a Web Service
      • 05-Mediator and Conditional Service Routing
      • 06-BPM Composer - Runtime Edit
      • 07-BPM and JMS Adapters
      • Oracle BPM 12c features
    • SOA Series
      • Oracle SOA 11g DB Adapter
      • Oracle SOA 11g Business Rules
      • Oracle SOA 11g Mediator
      • SOA 11g AQ Adapters
      • Oracle OSB 11g

"Technology has the shelf life of a banana. By the time you buy it, implement it and train people on it, it’s obsolete. … ” as said by Mr Scott McNealy

© 2022 Cloud Blogs | Powered by Minimalist Blog WordPress Theme