<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Piyush</id>
	<title>TetraWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Piyush"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Special:Contributions/Piyush"/>
	<updated>2026-07-25T06:39:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=OpenEMM_2013_installation&amp;diff=1491</id>
		<title>OpenEMM 2013 installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=OpenEMM_2013_installation&amp;diff=1491"/>
		<updated>2013-11-15T21:28:37Z</updated>

		<summary type="html">&lt;p&gt;Piyush: Created page with &amp;quot;This document will guide you through some necessary steps, which are needed to  update OpenEMM to latest version  #cd /home #mv openemm openemm.bk #mysqldump -uroot -proot123 ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document will guide you through some necessary steps, which are needed to  update OpenEMM to latest version&lt;br /&gt;
&lt;br /&gt;
#cd /home&lt;br /&gt;
#mv openemm openemm.bk&lt;br /&gt;
#mysqldump -uroot -proot123 openemm &amp;gt; backup.sql&lt;br /&gt;
#drop database openemm&lt;br /&gt;
&lt;br /&gt;
OpenEMM&#039;s web container Tomcat requires the installation of SEJDK 7 not the GNU version of Java! If Sun&#039;s Java SE SDK 7 is not included in your distribution and has not been installed yet,&lt;br /&gt;
you have to install it by yourself.&lt;br /&gt;
&lt;br /&gt;
1. Install java&lt;br /&gt;
&lt;br /&gt;
Open this link in browser (java.oracle.com) and visit the download section, subsection Java&lt;br /&gt;
SE (Standard Edition). Download the tarball (*.tar.gz) of the latest Java SE JDK 7 (Java Development Kit).&lt;br /&gt;
&lt;br /&gt;
#mkdir /opt/openemm&lt;br /&gt;
#cp jdk-7u25-linux-i586.tar.gz /opt/openemm&lt;br /&gt;
#cd /opt/openemm&lt;br /&gt;
#tar -xvzf jdk-7u25-linux-i586.tar.gz&lt;br /&gt;
#mkdir -p java&lt;br /&gt;
#cd jdk1.7.0_25&lt;br /&gt;
#mv * /opt/openemm/java&lt;br /&gt;
&lt;br /&gt;
Then run this command to check java is working or not...&lt;br /&gt;
&lt;br /&gt;
#/opt/openemm/java/bin/java -version&lt;br /&gt;
&lt;br /&gt;
You should get output similar to the following:&lt;br /&gt;
&lt;br /&gt;
java version &amp;quot;1.7.0_25&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)&lt;br /&gt;
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)&lt;br /&gt;
&lt;br /&gt;
2. Install tomcat&lt;br /&gt;
&lt;br /&gt;
Download the latest binary distribution of release 6 from http://tomcat.apache.org. The core package is sufficient. The examples here use Tomcat 6.0.32 – you should adapt them to the latest version of Tomcat 6 as needed&lt;br /&gt;
&lt;br /&gt;
#mkdir /opt/openemm/tomcat&lt;br /&gt;
#cp apache-tomcat-6.0.32.tar.gz /opt/openemm&lt;br /&gt;
#cd /opt/openemm&lt;br /&gt;
#tar -zxvf apache-tomcat-6.0.32.tar.gz&lt;br /&gt;
#cd apache-tomcat*****&lt;br /&gt;
#mv * /opt/openemm/tomcat&lt;br /&gt;
&lt;br /&gt;
3.Installation of OpenEMM 2013&lt;br /&gt;
&lt;br /&gt;
Get the latest version of the OpenEMM binary code from&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/projects/openemm/files/latest/download&lt;br /&gt;
&lt;br /&gt;
#cd /home&lt;br /&gt;
#mv openemm openemm-2013&lt;br /&gt;
#ln -s openemm-2013 openemm&lt;br /&gt;
&lt;br /&gt;
Change to OpenEMM&#039;s directory and unpack the OpenEMM tar.gz. Do not forget option &amp;quot;p&amp;quot; for the tar command, because&lt;br /&gt;
some files need to have owner and group set to root or special permissions which are preset in the tar.gz&lt;br /&gt;
&lt;br /&gt;
#cd /home/openemm&lt;br /&gt;
#tar xzvpf /tmp/OpenEMM-2013-bin.tar.gz&lt;br /&gt;
#mkdir -p /usr/share/doc/OpenEMM-2013&lt;br /&gt;
#mv USR_SHARE/* /usr/share/doc/OpenEMM-2013&lt;br /&gt;
#rm -r USR_SHARE&lt;br /&gt;
#chown -R openemm:openemm /home/openemm&lt;br /&gt;
&lt;br /&gt;
4. Read Access to Maillog&lt;br /&gt;
&lt;br /&gt;
OpenEMM requires read access to the log file /var/log/maillog.open file /etc/logrotate.d/syslog and add the following line after the line sharedscripts&lt;br /&gt;
&lt;br /&gt;
#vim /etc/logrotate.d/syslog&lt;br /&gt;
create 0604&lt;br /&gt;
#chmod 604 /var/log/maillog&lt;br /&gt;
#ln -s /var/log/mail.log /var/log/maillog&lt;br /&gt;
&lt;br /&gt;
5.Initialize/Update the OpenEMM and the OpenEMM CMS Database&lt;br /&gt;
&lt;br /&gt;
#/etc/init.d/mysqld restart&lt;br /&gt;
#cd /usr/share/doc/OpenEMM-2013&lt;br /&gt;
#mysqladmin -u root -proot123 create openemm_cms&lt;br /&gt;
#mysql -u root -p openemm_cms &amp;lt; openemm_cms-2013.sql&lt;br /&gt;
#mysqladmin -u root -proot123 create openemm&lt;br /&gt;
&lt;br /&gt;
If you plan to use the redirection service of OpenEMM, open file openemm-2013.sql with a text editor like edit or vim &amp;amp; find and replace the string&lt;br /&gt;
#vim openemm-2013.sql &lt;br /&gt;
http://news1.tetra-campaign.in:8080&lt;br /&gt;
:wq&lt;br /&gt;
#mysql -u root -p openemm &amp;lt; openemm-2013.sql&lt;br /&gt;
&lt;br /&gt;
6.Start and Stop OpenEMM&lt;br /&gt;
&lt;br /&gt;
#cd /home/openemm&lt;br /&gt;
#vim .bash_profile&lt;br /&gt;
PATH=$PATH:$HOME/bin:/opt/openemm/java/bin&lt;br /&gt;
JAVA_HOME=/opt/openemm/java&lt;br /&gt;
:wq&lt;br /&gt;
#su - openemm&lt;br /&gt;
#openemm.sh start ( To start the service)&lt;br /&gt;
#openemm.sh stop  ( To stop the service)&lt;br /&gt;
&lt;br /&gt;
7.Test&lt;br /&gt;
&lt;br /&gt;
Open this weburl  news1.tetra-campaign.in in browser. And login with below credentials&lt;br /&gt;
&lt;br /&gt;
Username: admin&lt;br /&gt;
Password: openemm&lt;/div&gt;</summary>
		<author><name>Piyush</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Joomla_installation&amp;diff=1433</id>
		<title>Joomla installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Joomla_installation&amp;diff=1433"/>
		<updated>2013-09-28T16:06:04Z</updated>

		<summary type="html">&lt;p&gt;Piyush: Created page with &amp;quot;Follow these steps to install joomla with php, apache, mysql  Installing RPMForge &amp;amp; EPEL Repository in CentOS 6  # RHEL/CentOS 6 64 Bit OS ## # wget http://packages.sw.be/rpmf...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow these steps to install joomla with php, apache, mysql&lt;br /&gt;
&lt;br /&gt;
Installing RPMForge &amp;amp; EPEL Repository in CentOS 6&lt;br /&gt;
&lt;br /&gt;
# RHEL/CentOS 6 64 Bit OS ##&lt;br /&gt;
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm&lt;br /&gt;
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm&lt;br /&gt;
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm&lt;br /&gt;
# rpm -ivh epel-release-6-8.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Note : The RPMForge repository will be installed under /etc/yum.repod directory as a file rpmforge.repo.&lt;br /&gt;
&lt;br /&gt;
Importing RPMForge Repository Key in Cent-Os&lt;br /&gt;
&lt;br /&gt;
Next, you’ll need to download and install DAG’s GPG key for your system.&lt;br /&gt;
&lt;br /&gt;
# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt&lt;br /&gt;
# rpm --import RPM-GPG-KEY.dag.txt&lt;br /&gt;
&lt;br /&gt;
Once the installation has finished and you are back into your system (remember to remove the mounted iso) I decided to install not only mandatory packages but also optional so I added this line to /etc/yum.conf: &lt;br /&gt;
&lt;br /&gt;
group_package_types=default,mandatory,optional&lt;br /&gt;
:wq&lt;br /&gt;
&lt;br /&gt;
###INSTALL REQUIRED SOFTWARES###&lt;br /&gt;
&lt;br /&gt;
#yum groupinstall &amp;quot;Web Server&amp;quot;&lt;br /&gt;
#yum groupinstall &amp;quot;MySQL Database server&amp;quot;&lt;br /&gt;
#yum install man wget php php-mysql unzip policycoreutils-python -y&lt;br /&gt;
&lt;br /&gt;
Create a temporary directory to extract and download Joomla:&lt;br /&gt;
&lt;br /&gt;
#mkdir /joomla; cd /joomla&lt;br /&gt;
&lt;br /&gt;
Download Joomla:-&lt;br /&gt;
&lt;br /&gt;
#wget http://joomlacode.org/gf/download/frsrelease/16512/72038/Joomla_3.1-Stable-Full_Package.zip&lt;br /&gt;
&lt;br /&gt;
Extract downloaded package:&lt;br /&gt;
&lt;br /&gt;
#unzip Joomla_2.5.1-Stable-Full_Package.zip&lt;br /&gt;
&lt;br /&gt;
Move all files to home web directory:&lt;br /&gt;
&lt;br /&gt;
#mv /joomla/* /var/www/html &lt;br /&gt;
&lt;br /&gt;
Start MySQL and set it to start at boot time:&lt;br /&gt;
&lt;br /&gt;
#service mysqld start; chkconfig mysqld on&lt;br /&gt;
&lt;br /&gt;
Set root&#039;s password to MySQL and get MySQL production-ready (Essentially type Y to everything):&lt;br /&gt;
&lt;br /&gt;
#/usr/bin/mysql_secure_installation &lt;br /&gt;
&lt;br /&gt;
Note:- while run this cammand, set root password, and disabled anonymous login&lt;br /&gt;
&lt;br /&gt;
Create Joomla User:&lt;br /&gt;
&lt;br /&gt;
#mysql -u root -p&lt;br /&gt;
#CREATE USER &#039;Admin&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;asd1234f&#039;; &lt;br /&gt;
&lt;br /&gt;
Create Joomla Database:&lt;br /&gt;
&lt;br /&gt;
#mysqladmin -u root -p create Joomla&lt;br /&gt;
&lt;br /&gt;
Provide appropriate privileges to the JoomlaUser user:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT ALL PRIVILEGES ON Joomla.* TO Admin@localhost IDENTIFIED BY &#039;asd1234f&#039;;&lt;br /&gt;
        where:&lt;br /&gt;
        &#039;Joomla&#039; is the name of your database&lt;br /&gt;
        &#039;JoomlaUser@localhost&#039; is the userid of your webserver MySQL account&lt;br /&gt;
        &#039;mypass&#039; is the password required to log in as the MySQL user&lt;br /&gt;
mysql&amp;gt; flush privileges; \q&lt;br /&gt;
&lt;br /&gt;
Turn output buffering off by editing /etc/php.ini change:&lt;br /&gt;
&lt;br /&gt;
     output_buffering=4096&lt;br /&gt;
     {change    to}&lt;br /&gt;
     output_buffering=Off&lt;br /&gt;
&lt;br /&gt;
Create empty configuration.php file and set permissions: &lt;br /&gt;
&lt;br /&gt;
#cp /var/www/html/joomla254/installation/configuration.php-dist /var/www/html/joomla254/configuration.php&lt;br /&gt;
#chmod 777 /var/www/html/joomla254/configuration.php&lt;br /&gt;
#touch /var/www/html/configuration.php&lt;br /&gt;
#chmod 666 /var/www/html/configuration.php&lt;br /&gt;
&lt;br /&gt;
Start Apache and set it to start on boot: &lt;br /&gt;
&lt;br /&gt;
#service httpd start; chkconfig httpd on&lt;br /&gt;
&lt;br /&gt;
Disable SELinux (I recommend having a look at this post for a fix that will allow you to run SELinux and Joomla. Do ensure that you test everything that you are likely and unlikely to do, e.g. add articles, add blogs, etc..). Alternatively edit /etc/selinux/config and change:&lt;br /&gt;
&lt;br /&gt;
     SELINUX=enforcing&lt;br /&gt;
    {change to}&lt;br /&gt;
    SELINUX=disabled &lt;br /&gt;
&lt;br /&gt;
Start the Joomla install proper by navigating to:&lt;br /&gt;
&lt;br /&gt;
#http://&amp;lt;192.168.1.45/joomla&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{ Set all mandatory options &amp;amp; after deleted installation directory from this path}&lt;br /&gt;
&lt;br /&gt;
#rm -rf /var/www/html/joomla/installation&lt;br /&gt;
&lt;br /&gt;
To access your Joomla 3.1 administrator’s page :&lt;br /&gt;
http://192.168.1.45/joomla/administrator/&lt;br /&gt;
&lt;br /&gt;
To browse your Joomla 3.1 CMS :&lt;br /&gt;
http://192.168.1.45/joomla/&lt;/div&gt;</summary>
		<author><name>Piyush</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Category:AIMIL/ISP_CHANGE&amp;diff=1429</id>
		<title>Category:AIMIL/ISP CHANGE</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Category:AIMIL/ISP_CHANGE&amp;diff=1429"/>
		<updated>2013-09-23T07:14:53Z</updated>

		<summary type="html">&lt;p&gt;Piyush: Created page with &amp;quot;In case of mail server ISP fail. then follow this steps to change default ip to new ip..   For example:- Aimil mail server ip 125.63.75.250 down on 20th September, User can no...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In case of mail server ISP fail. then follow this steps to change default ip to new ip..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example:- Aimil mail server ip 125.63.75.250 down on 20th September, User can not able to open zimbra webmail, so Mr. Kamal requested to change ip to 220.227.164.186&lt;br /&gt;
&lt;br /&gt;
Aimil mail server is hosted on pervez. Open pervez web console.&lt;br /&gt;
&lt;br /&gt;
http://68.233.251.20:2086&lt;br /&gt;
User Name:- tetraco&lt;br /&gt;
Password:- ***********&lt;br /&gt;
&lt;br /&gt;
You can fine edit DNS zone. Please click and select Aimil.com, and then click edit.&lt;br /&gt;
&lt;br /&gt;
here You can see all dns entry. we have to find down ip (125.63.75.250), this ip assign to mailserver &amp;amp; zimbra&lt;br /&gt;
&lt;br /&gt;
before changes we have to take a snapshot, because if any issue comes, then we can roll back with the help of this snapshot.&lt;br /&gt;
&lt;br /&gt;
make this changes:-&lt;br /&gt;
&lt;br /&gt;
zimbra		14400	IN	A	125.63.75.250 {CHANGED TO 220.227.164.186}&lt;br /&gt;
&lt;br /&gt;
mailserver	100	IN	A	125.63.75.250 {CHANGED TO 220.227.164.186}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
save settings.&lt;br /&gt;
&lt;br /&gt;
Now login on Aimil server, &lt;br /&gt;
&lt;br /&gt;
#ping 8.8.8.8&lt;br /&gt;
#ping Google.com&lt;br /&gt;
&lt;br /&gt;
#su - zimbra&lt;br /&gt;
$zmcontrol status&lt;br /&gt;
&lt;br /&gt;
Now try to open zimbra mail, in your system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://220.227.164.186:7071/zimbraAdmin&lt;br /&gt;
&lt;br /&gt;
zimbra webmail open successfuly, now take a confirmation from client.&lt;/div&gt;</summary>
		<author><name>Piyush</name></author>
	</entry>
</feed>