Sie sind auf Seite 1von 4

How Do I Carry Out A Fresh Setup Of PMEv8 Linux installation

The complete installation of PMEv8 covers the following steps

Install PMEv8
Install JRE1.6
Install MySQL
Configure MySQL
Update MySQL Settings in PMEv8 (For Non Default Installation)
Create Database
Start PMEv8

Please carry out all the activities below, logged in as the user you will normally login and
start PostMaster. This will ensure that the file permissions required are properly maintained
and will not have to be changed in future.

Also if AntiVirus for PME Mail is to be used on linux, "libstdc++- libc6.2-2.so.3" needs to be
installed. ibstdc++-libc6.2-2.so.3, is part of the package "libstdc++". This package is
generally available on the Linux OS CD

Install PMEv8

1) From the CD access the PMEv8 tar.gz file (PMEv8-Setup.tar.gz).


2) Unzip this file using
shell> tar -zxvf PMEv8-Setup.tar.gz
3) This will create a folder qlc which contains all the files required for PMEv8.

Install JRE1.6

While installing JRE1.6, it is advisable you extract the file from the

same path from where you had extracted the PMEv8-Setup file.

1) From the CD access the JRE1.6 file (JRE1.6-Setup-Linux.tar.gz)

2) Unzip the file using


tar zxvf JRE1.6-Setup-Linux.tar.gz

3) This will create a folder qlc/shared/lin/jre1.6 which contains all the JAVA files
required for PMEv8.

4) Extract and replace the license file in the /qlc folder.


Install MySQL

While installing / configuring MySQL Database Server, it is advisable to use "Typical Setup" /
"Standard Configuration". This ensures that the installation / configurations will happen with
standard defaults.

1) Check if MySQL is already installed on your system


shell> rpm -qa | grep -i Mysql

2) Locate the files mentioned below in the folder /qlc/shared/mysql-41


MySQL-client-4.1.10-0.i386.rpm
MySQL-server-4.1.10-0.i386.rpm

3) Install MySQL-server-4.1.10-0.i386.rpm using the command


shell> rpm -Uvh MySQL-server-4.1.10-0.i386.rpm

4) Install MySQL-client-4.1.10-0.i386.rpm using the command


shell> rpm -Uvh MySQL-client-4.1.10-0.i386.rpm

Note: If your OS has MySQL 5 already installed, you may use the same. It is advisable to use
MySQL ver.5.

Configuring MySQL

You need to configure MySQL so that it runs as a linux service that is started on system start-
up. You will also need to copy to MySQL configuration file (my.cnf) to specific area so that
pre-defined conf is always loaded.

1) Locate file my.cnf in the folder /qlc/shared/mysql-41. Copy


this file to /etc.

2) Change MySQL admin password as 'root'


shell> mysqladmin -u root password 'root '

3) To start MySQL on startup


shell> chkconf ig mysqld on

4) To check if MySQL will start on startup


shell> chkconfig --list | grep mysql

5) To manually start MySQL Service


shell> service mysql start

6) To manually stop SQL Service


shell> service mysql stop

7) To manually restart SQL Service


shell> service mysql restart
8) To Check MySql is started or not
shell> ps -axu | grep mysql .

Using MySQL

To start using MySQL, you need to login as a user, by default the user root will be created:

1) Start MySQL
shell> mysql -hlocalhost -uroot proot

Create Database

Now please follow the below steps to Create Database:

1) Create Database maildb


mysql> create database maildb;
In case of an error Can't create database 'maildb'; database
exists, you will have to drop the database first and then create the database.

2) Check is Database maildb was created


mysql> use maildb;
If MySQL does throw an ERROR, the database was successfully created.

Other Database Commands

Given below are some database related commands

1) Drop Database maildb


mysql> drop database maildb;

2) To view Database
mysql> show databases;

Exit MySQL

1) To quit from MySQL


mysql> quit

Update MySQL Settings in PMEv8

While installing / configuring MySQL Database Server, if you have not used the "Typical Setup"
/ "Standard Configuration", then the following activities needs to be carried out.
1) If you have specified MySQL root password other than "root", please be sure to change
the password in the following files "connection_pool-mysql.ini" (in the folder
...\qlc\pmev8\conf and ...\qlc\shared\conf).

2) Edit the following batch files

pme-rcrt-dbase.bat

pme-v3-v8.bat

pme-v4-v8.bat

pme-v5e-v8.bat

pm-v5x-v8.bat

If you have specified MySQL root password other than "root", then in all the above files
locate the lines starting with "mysqladmin" Change this line, to reflect the new
password by changing the -p root option For example if the password you have given
is pass, you should use -p pass.

3) Locate the file "connection-pool-mysql.ini" (in the folder ...\qlc\pmev8\conf). Copy


this file to connection-pool.ini in the same folder.

Start PostMaster

1) From the /qlc/ folder, start pme.sh


sh pme.sh

In case you encounter problems while starting PMEv8, it is likely that there is database
connectivity issue. Please refer to section "Setting Passwords" and "MySQL Permissions"
for details on how to resolve this issue.

How To Start With Blank Database & Configuration

1) To start PMEv8 with a blank database:

2) In the folder /qlc/pmev8/conf, delete all files except connection_pool*.ini

3) In the folder /qlc/pmev8/security, delete all files except openssl or openssl.cnf

4) In the folder /qlc/pmev8/users, delete all the subfolders present.

5) Start PMEv8 and verify its correct functioning!!!