From November 2015

WebCenter Sites 12c Install & Quick Review


For this quick review, just for testing purposes, I have installed & configured WCSites 12c in an existing ORACLE_HOME and DOMAIN_HOME in wich I have previously installed WCContent 12c and WCPortal12c (all in 12.2.1) but I recommend to create a new fresh domain.

Now WCSites is installed as any other ORCL FMW software:

  • Install jdk
  • Install wls
  • Install wcsites
  • Execute rcu
  • Config the domain (config.sh)

Aditional configuration:

Execute:

$DOMAIN_HOME/wcsites/bin/grant-opss-permission.sh (*)

Open a browser tab, go to http://sites-host:sites-port/sites/sitesconfig and follow up instructions. Here you are the screenshots:

This slideshow requires JavaScript.

Configure LDAP(optional):

http://sites-host:sites-port/ldapconfig (you can revert the configuration with the same url)

This slideshow requires JavaScript.

Small issue:

Add at the bottom of $MW_HOME/wcportal/common/lib/ESAPI.properties

Validator.Redirect=^.*$

TEST IT

Go to http://sites-host:sites-port/sites , log in as fwadmin and browse the Samples site, you will find util information regarding new features for developers.

wcsites-samples1

In addition the “classic” Avisports” site is included as well if you install the examples.

wcsites-samples2

NEW FEATURES

WebCenter Sites can leverage a database to store its shared file system using the Java Nonblocking I/O (NIO) API. This eliminates the need for a network file share in a clustered environment and allows file locking to be handled by a Coherence cache. Out of the box, WebCenter Sites defaults to a disk-based shared file system (local or network). To move the shared file system to a database, complete the steps in this topic. Steps for reverting the process are also provided.

Very interesting developer features such as MVC Framework, REST, … here and more

FEATURES DEPRECATED

  • WebCenter Sites Gadgets and Gadget Server
  • WebCenter Sites Native authentication in Community/Gadgets
  • WebCenter Sites Analytics 2.5
  • WebCenter Sites Content Integration Platform – EMC Documentum
  • WebCenter Sites Content Integration Platform Filesystem
  • WebCenter Sites Content Integration Platform Sharepoint
  • WebCenter Sites Janrain Integration
  • WebCenter Sites Netomat Mobility Server
  • SOAP-based web services
  • Page Debugger

Enjoy 😉

(*) I have an small issue that I fixed this way:

#!/bin/bash

#/u01/Middleware/Oracle_Home/oracle_common/common/bin/wlst.sh /u01/Middleware/Oracle_Home/user_projects/domains/wcc/wcsites/bin/grant-opss-permission.py $1 $2

/u01/Middleware/Oracle_Home/oracle_common/common/bin/wlst.sh /u01/Middleware/domains/wcc/wcsites/bin/grant-opss-permission.py $1 $2

 

IPSec tunnel between my office and the cloud


My purpose is tunneling my office with the cloud utilizing ipsec. I will provision a gateway machine in the cloud running openswan, in my office I am using pfsense.

In my cloud gateway vm image:

[root@gtw ~]#yum install openswan (if it isn't already)
[root@gtw ~]#vi /etc/ipsec.d/myconn
config setup
       nat_traversal=yes
       oe=off
       protostack=netkey
       interfaces="%defaultroute"
       klipsdebug=all
       plutodebug=all
conn myconn
   authby=secret
   pfs=yes
   auto=start
   ike=3des-sha1
   esp=3des-sha1
   keyingtries=30
   rekey=no
   ikelifetime=24h
   keylife=1h
   type=tunnel
   left=<gateway private address>
   leftsubnet=10.0.1.0/24
   right=<my office public ip(nated)>
   rightsubnets=10.0.0.0/24 

[root@gtw ~]# vi /etc/ipsec.d/shared.secrets
%any %any : PSK "<yoursecret>"

[root@gtw ~]# service ipsec start
ipsec_setup: Starting Openswan IPsec U2.6.32/K3.8.13-68.2.2.2.el6uek.x86_64...
ipsec_setup: /usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled
[root@gtw ~]# service ipsec status
IPsec running  - pluto pid: 4893
pluto pid 4893
1 tunnels up
some eroutes exist

In my local firewall:

This slideshow requires JavaScript.

Troubleshooting:

A

B

C

Useful tools:

Oracle Public Cloud

pfsense

Enjoy 😉