0



11Nov2015

WebCenter Sites 12c: step by step installation

 

Transcript:

Welcome. In this video we are going to see how to install Oracle WebCenter Sites 12c.

Before starting let’s check the prerequisites for operating system, database and java runtime. We need a supported operating system, and we will use Oracle Linux version 7. We need a supported database, and we choose, with no surprise, Oracle. Finally. we need a Java Development Kit, and we are going to use the latest available when I writing this.

This procedure can be executed in a physical server but for the purpose of this video, I am using a Virtual Machine, and I used VirtualBox. So I went on the Oracle website, and downloaded VirtualBox. I used VirtualBox for Windows, but there are versions available for Linux and Mac too, and they work in the same way.

A virtual machine alone, however, is an empty box. You can install everything from scratch, but it a time consuming task. Luckily, you can download an image, which already included operating system, and database. In the Oracle website is available an image, which fits our purposes for installation Sites: it is the Oracle Developer VM. I am not showing here how to download and install VirtualBox and the Image. However it is pretty simple and obvious process.

The only problem has this image, is the outdated JDK. It does not fit the requirement of a supported Java Development Kit. So the first step is downloading and installing the latest JDK available for Linux. You can directly download and install it from the browser. The system will ask you for the root password, in order to perform the installation.

Now we can proceed installing Sites. We go to the Sites download page, accept the agreement and we download it. See the video for the location. You need to authenticate to be able to download.

After Sites, we need to download the Weblogic application server. Note the location in the video. For Sites, the enterprise manager is a required component. The recommended download is the fusion middleware infrastructure.

Last but not least, in order to install the analytics features we download also Endeca server. We will not show Endeca installation in this video, however.

Let’s wait for the download. All the files are distributed in zip format, so we have to extract all of them. For simplicity we unpack everything on the desktop.

Now we can start installing. First step is to install the middleware infrastructure. We install from the command line. We first check we have java in the path and the version is correct. Then we launch the executable jar with the command in the video. The installer unpacks itself, then finally shows its user interface.

Steps to perform are simple: skip the patch install because we do not have any patch.

Then select the installation folder. We are going to use a Middleware folder in the home directory.

Finally select the first option, since we do not want the examples of the infrastructure.

The installer will ask for your email address then it will complete the installation with no intervention.

Installing Sites is similar. We go in the installation folder, and we execute the executable jar containing webcenter sites, as you can see in the video.

After the installer extract and launch itself, you are asked again for patches. You can skip this again.

Then it asks for the folder, where you just installed the Middleware.

Finally, there is an option asking what you want to install. We will install Sites with examples. Now, just watch the installer to complete the installation.

Once the software is installed, we need to create some schemas in the database. We will use the Oracle Repository Creation Utility for the task.

Open the terminal and change to your main installation directory. The R C U is located under oracle_common/bin

You need to start R C U, then communicate where is the database server we want to use.

Now, let’s select we want to create a repository.

You have a form where you have to provide the details of the database server. In the virtual machine it is located in the same host. So we give localhost, with the usual port 1521 and the service name O R C L.

The virtual machine we recommended has a default user sys with password oracle. The R C U connects to the database,

Once connected it offers a selection of the schemas we want to create. Of course we select the webcenter sites schemas.

Next step is to provide a password for the schemas. This password will have to be provided in the next step for connecting Sites to the created databases.

Now just sit down and watch the system to create our schemas.

To install Sites you actually need to create a weblogic domain, using a template provided with the installer. We will use the configuration tool for weblogic for this task.

Open the terminal and change to your main installation directory. The configurator is located under oracle_common/common/bin. Note this is a different directory than the R C U utility.

Start the domain configurator, then select you want to to create a new domain.

I am giving sites as the name of the installation directory.

I am going to select as an option the WebCenter Sites template with examples, then as components Visitor Services and Insights. Note in this video we only show how to install Sites.

I am giving a password for the weblogic enterprise manager. Note this password must be used to start the services.

Now we have to configure the database to use. Here the system will retrieve the schemas we just created in the preceding step. We need to provide a password, the password we used when creating the schemas.

We are offered to use the schemas we created with R C U . We just need to accept them.

Now the system will verify the connection to the database. This step is very important.

We can now configure the machines and assign them to servers. Without assigning machines we will be unable to start the services for completing installation. So we choose here to assign all the services the local machine. You may do differently if you have more machines.

That is all for the domain creation.

We are ready now to start servers. We have actually to start 2 services: the node manager and the administrative server. Those 2 are required to actually start and configure sites.

To start services, go in the bin folder of your domain directory. Now, first start the node manager as a backgroud process. Afterwards, in the same directory launch the administrative server.

Now an important step: you need to give to sites a special authorization. To do so, first change to the folder W C sites/bin under the domain folder. Then execute the script grant O P S S permission.

You need to provide the weblogic credentials you set when you created the domain.

I also create a shared folder. Note that in production systems a shared folder may be placed in a N F S.

Now, access to the enterprise manager, using the URL shown in the video, then start Sites.

Check now that Sites is up and running, invoking the Hello C S path.

We are finally to the sites configuration, the last step. Access to the sites-config-setup path.

Click on Begin and select the shared folder you just created.

You can use the default for the J N D I name.

Now specify the I P and the port of the main entry point of WebCenter Sites. Since we are using a virtual machine we use its I P.

Here we specify the entry point of the C A S, and we will use the same I P as before.

For a development environment we can leave the default passwords. Of course they must be changed for a production installation.

We have almost finished. Click on start to configure.

You can just watch the configuration to complete. Sites will be ready after this step is finished.

Let’s verify if we can login in Sites to check if everything is installed.

Thank you for watching!

Posted by msciab
11Nov2015