This entry is based upon the
Ubuntu 7.10 installation guide by yuki.kong and differs on some points. It has added some more information and omitted some steps which were not relevant during the installation.
Virtual Machine
Application: VMware Server Console
Version: 1.0.6
VM settings
The following settings should be applied in order to build the Virtual Machine. Some (non essential) steps in the setup process have been skipped.
- Guest Operating System: Linux
Version: Ubuntu - Number of processors: 1
- Memory: 512MB
- Network Connection: Bridged networking
- SCSI Adaptors: LSI logic
- Disk: Create a new virtual disk
- Virtual Disk Type: SCSI
- Disk capacity: 20GB
Ubuntu 8.04 LTS Server
Download the ISO of Ubuntu 8.04 LTS Server Edition from
Ubuntu.com. Before booting the VM mount this ISO:
- Go to the settings of the VM.
- In the tab Hardware select CD-ROM (IDE 1:0).
- Select Use ISO image and click on Browse.
- Select the ISO-file of Ubuntu 8.04 LTS which you have downloaded and click Ok.
- Close the settings screen by clicking on the Ok button.
Start the Virtual Machine and the Ubuntu ISO will be recognized. Install Ubuntu and make sure you install the
OpenSSH server so you connect with SSH and SFTP after the installation. Visit the Ubuntu
installation guide if you need more help.
Server configuration
Additional server software
You will need Apache2 as a webserver:
sudo apt-get install apache2In order to complete installation of UCM you will need Unzip:
sudo apt-get install unzipThe UCM installation requires an installed browser other then Lynx:
sudo apt-get install firefox Increase Swap Size
Increase the swap size through the following steps:
First step:
sudo dd if=/dev/zero of=/swapfile bs=1M count=600
The response should be:
600+0 records in
600+0 records out
629145600 bytes (629 MB) copied, 2.1237 seconds, 296 MB/s
The second step:
sudo mkswap /swapfileThe response should be:
Setting up swapspace version 1, size = 629141 kB
no label, UUID=f267d443-106e-431e-a6e5-ec2c1ebb0a37
And the third and final step:
sudo swapon /swapfile Software installation
Install Oracle XE database
Several databases are supported by UCM:
Oracle,
SQL Server (2000 or 2005),
Sybase or
DB2. In this case we will use Oracle XE for the installation.
Add the Oracle apt-get repository:
deb http://oss.oracle.com/debian unstable main non-free to /etc/apt/sources.listand then:
sudo wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add - Update the repository:
sudo apt-get updateDownload and install Oracle XE:
sudo apt-get install oracle-xeConfigure Oracle XE:
sudo /etc/init.d/oracle-xe configure Configure database
Take the following steps in order to make an installation directory for the Oracle XE database:
cd /
sudo mkdir oradata
sudo chmod 777 oradata/
mkdir /oradata/XE
sudo chmod 777 oradata/XEThe following SQL strings should be executed in the Oracle database. In order to do this you can use
SQL*Plus or use the
Oracle SQL Developer which you can download
here.
create temporary tablespace idc_10g_1_temp tempfile '/oradata/XE/idc_10g_1_temp.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED;create tablespace idc_10g_1_sys datafile '/oradata/XE/idc_10g_1_sys.dbf' size 200M reuse autoextend on next 5120k maxsize unlimited;create USER idc_10g_1_user IDENTIFIED by idc_10g_1_user temporary tablespace idc_10g_1_temp default tablespace idc_10g_1_sys quota unlimited on idc_10g_1_sys;grant connect, resource to idc_10g_1_user; Install Oracle Content Server
You will need to download
Oracle Content Server 10gR3 (
for Linux x86 and Linux x86-64)
from the Oracle website, click
here for the (almost) direct link. Keep in mind that you will need a free Oracle account before you can download this file.
If you have downloaded it on you host system (for example a Windows OS) you will need to unzip the base file (
V13684-01.ZIP). In this file is another zip-file:
ContentServer_Linux_10gR3_20080807.ZIP. The name of this second zip-file can differ depending on the release-date.
Copy
ContentServer_Linux_10gR3_20080807.ZIP to your Ubuntu VM home directory. You can use the
WinSCP client to make an SFTP connection with the Ubuntu VM, click
here to download it.
Unzip
ContentServer_Linux_10gR3_20080807.ZIP in the home directory of the Ubuntu user.
Go to the following directory:
UCM ->
ContentServer ->
linux.
In this folder start the Content Server setup:
sh ./setup.shKeep in mind that you should NOT run this setup with
sudo.
The Oracle Content Server setup script will go through several steps. Most should be left as default (just press
<enter>) some should have different values:
- Oracle User: SYSTEM
- Oracle Password: password given during Oracle XE installation
- Oracle Instance Name: xe
- Attempt to create database tables: yes
- Components: select all
It could happen that during the setup of Oracle Content Server certain directories cannot be created. This seems to be happening due to the fact that you do not have the rights to make a directory in the root of the server. In this case log in to the server with a new session and add these directories with sudo:
sudo mkdir oracle To make sure the directory has enough rights chmod it:
sudo chmod 777 oracleIf during the setup the same error appears with regard to the creation of other directories repeat the above steps for the directories that need to be created.
After submitting all the steps the installer will perform some pre-installation checks. Any errors or warnings will then be shown. Review the installation settings and select an option:
Proceed with install
1. Proceed
*2. Change configuration
3. Recheck the configuration
4. Abort installationThe default option is 2. Change configuration, however if everything seems to be in order you should press
<1> to proceed with the installation.
All files will now be copied and configured, during this process a percentage-counter will be visible with the a short description of the task which the installer is performing.
Once the installation is complete
Oracle Content Server and the
admin server will start.
Configure Apache
The final step is to configure
/etc/apache2/apache2.conf. Add the following to the bottom this file:
LoadModule IdcApacheAuth /oracle/ucm/server/shared/os/linux/lib/IdcApache22Auth.so
IdcUserDB idc "/oracle/ucm/server/data/users/userdb.txtAlias /idc "/oracle/ucm/server/weblayout"<Location /idc>
Order allow,deny
Allow from all
DirectoryIndex portal.htm
IdcSecurity idc
</Location Oracle Content Server login
Go back to your host system and go to this URL:
http://<server_address>/idc/
The default username is
sysadmin and password is
idc.