Você está na página 1de 2

A.

PREREQUISITE:
/home/ems location should have following files:
MySQL-client-enterprise-5.0.64-0.rhel4.i386.rpm
MySQL-devel-enterprise-5.0.64-0.rhel4.i386.rpm
MySQL-enterprise-debuginfo-5.0.64-0.rhel4.i386.rpm
MySQL-server-enterprise-5.0.64-0.rhel4.i386.rpm
MySQL-shared-enterprise-5.0.64-0.rhel4.i386.rpm
jdk-6u7-linux-i586.bin
TejEMS_Release_4_2_b18.tgz

B. LOGIN and ENABLING SERVICES:


1. Installed OS should have both root and ems user. Login to the GUI using user ems.
2. LOGIN as super user through terminal: su -. Enter password for root.
3. Restart https services: service httpd restart.
4. Restart vsftpd services: service vsftpd restart.
C. LAN CONFIGURATION:
1. Set server IP: netconfig
2. Give service network restart.
D. SETTING HOSTNAME:
1. Edit host file: vi /etc/hosts. Enter hostname as per your choice. Example is given below:
192.168.1.200
tejas tejas (gap between two entries should be exactly one TAB).
2. Give service network restart.
3. Check hostname and hostname a. both the output should be same, e.g.: tejas.
4. Check ifconfig eth0 and hostname i. both output should be same, e.g. 192.168.1.200.
E. MYSQL INSTALLATION:
1. Search which packages of MYSQL are installed already: rpm -qa | grep -i mysql.
2. Remove installed packages from OS: rpm e <<rpm files which was displayed when you
executed the rpm -qa | grep -i mysql >> --nodeps.
3. Copy required packages from /home/ems to /root: cp rf /home/ems/MySQL* /root/.
Only following packages are required:
MySQL-client-enterprise-5.0.64-0.rhel4.i386.rpm
MySQL-devel-enterprise-5.0.64-0.rhel4.i386.rpm
MySQL-enterprise-debuginfo-5.0.64-0.rhel4.i386.rpm
MySQL-server-enterprise-5.0.64-0.rhel4.i386.rpm
MySQL-shared-enterprise-5.0.64-0.rhel4.i386.rpm

4. Install the MySQL packages: rpm ivh MySQL-client-enterprise-5.0.64-0.rhel4.i386.rpm


MySQL-devel-enterprise-5.0.64-0.rhel4.i386.rpm MySQL-enterprise-debuginfo-5.0.640.rhel4.i386.rpm MySQL-server-enterprise-5.0.64-0.rhel4.i386.rpm MySQL-sharedenterprise-5.0.64-0.rhel4.i386.rpm --nodeps.
5. Set userID and password for MySQL: mysqladmin uroot password iltwat.
6. Check by login to MySQL: mysql uroot piltwat. If mysql prompt appears then userID and
password is working fine. Type exit; and get out of MySQL.

7. Check mysql version: mysql - -version.


F. JAVA INSTALLATION:
1. Create a folder named as java under /usr: cd /usr then mkdir java.
2. Copy java installer file in /usr/java location: cp rf /home/ems/jdk-6u7-linux-i586.bin
/usr/java.
3. Go to /usr/java location and install java: cd /usr/java then ./jdk-6u7-linux-i586.bin.
4. Execute following commands:
a. ln s jdk1.6.0_07/bin bin.
b. cd /root.
5. Open .bashrc file in VI editor: vi .bashrc
6. Append following lines in to it: export PATH=/usr/java/bin:$PATH.
7. Save the file. Execute: source .bashrc.
8. Check java version: java -version
G. EMS INSTALLATION:
1. Logout from super user mode in terminal. Now you are in /home/ems.
2. Untar ems build: tar zxvf TejEMS_Release_4_2_b18.tgz.
3. Login as super user.
4. Go to installation folder: cd /home/ems/install.
5. Install EMS: ./ems_install.sh
6. Start EMS services: service ems start.
7. Check status: service ems status.
H. LANCHING the CLIENT (in server itself):
1. Login as ems user in terminal.
2. Copy jacorb.properties: cp /opt/ems/release/data/conf/jacorb.properties /home/ems
3. Copy java.policy: cp /opt/ems/release/bin/.java.policy /home/ems
4. Copy ICON on desktop: cp /opt/ems/release/web/Ems.jnlp /home/ems/Desktop
5. Select application for Ems.jnlp: Right click on Ems.jnlppropertiesopen withADD
browser/usr/java/bin/javaws
6. Assign image to icon: Right click on Ems.jnlppropertiesselect custom
ICON/opt/ems/release/web/TJ5100_Splash.jpg
Run Ems.jnlp
I. LANCHING the CLIENT (in windows ):
1. Open a command prompt and check your home directory, e.g. C:\Documents &
Settings\user1.
2. Copy jacorb.properties and .java.policy from server to home directory of client. Locations
of the files are as follows:
/opt/ems/release/data/conf/jacorb.properties
/opt/ems/release/bin/.java.policy
3. Open a browser and open following URL: http://<server IP>/web/Ems.html.
4. Click on the link provided on page to launch the client. It will install the application and start
the client.

Você também pode gostar