Archive for April, 2014

Mysql upgradation:

Before start, take the backup of all databases and also better to take a copy of mysql data directory.

Follow the steps to upgrade mysql version

1.  [root@localhost ~]# mysql –version

2.  [root@localhost ~]# yum list installed | grep -i mysql

3.  [root@localhost ~]# rpm -qa | grep mysql

4.  [root@localhost ~]# yum list installed | grep -i mysql

5.  [root@localhost ~]# yum remove mysql mysql-*

6.  [root@localhost ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
For 32bit: http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
7.  [root@localhost ~]# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

8.  [root@localhost ~]# yum –enablerepo=remi,remi-test install mysql mysql-server

9.  [root@localhost ~]# mysql –version

10. [root@localhost ~]# yum list installed | grep -i mysql

11. [root@localhost ~]# /etc/init.d/mysqld start

12. [root@localhost ~]# mysql_upgrade -u root -p

13. Now check again the mysql version mysql –version

 

 

WSO2 Application server installation:
Download link: http://wso2.com/products/application-server/

1. Copy the zip to /opt/ (Default path. You can copy anywhere in the file system)

2. Unzip it
It creates a directory.
3. Now start the server

/opt/wso2as-5.2.1/bin/wso2server.sh –start

4. Open the url: https://IPaddress:9443/carbon for GUI.

Default login: admin/admin

This url shows at the log ( /opt/wso2as-5.2.1/repository/logs/wso2carbon.log)