Installing Zimbra Mail server on Cent OS 6.5

Steps:

1. Update your system

#yum update

2. Install prerequisite pakages for zimbra

#yum install sudo sysstat libidn gmp libtool-ltdl compat-glib vixie-cron nc perl libstdc++.i686

3. Modify /etc/host file

#vi /etc/hosts

like this:
127.0.0.1 localhost localhost.local domain
serverip hostname
save it

4. Disable startup service
a. chkconfig postfix off
b. service postfix off
c. chkconfig sendmail off
d. service sendmail stop

5. Modify /etc/sudoers file

#vi /etc/sudoers

comment out * Defaults requiretty * line

6. Disable the firewall

a. chkconfig iptables off
b. service iptables stop
c. chkconfig ip6tables off
d. service ip6tables stop

7. Disable selinux

# vi /etc/selinux/config

SELINUX=disabled

save it

8. reboot it

#init 6

9. Download zimbra and install it

a.     #wget http://files2.zimbra.com/downloads/8.0.4_GA/zcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgz – See more at: http://www.techtunebd.net/install-configure-zimbra-open-source-mail-server-centos-6-x-rhel-6-x/#sthash.SBel04Nx.dpuf

b.    extract Zimbra tar file using below command
#tar -zxpvf zcs-8.0.4_GA_5737.RHEL6_64.20130524120036.tgz – See more at: http://www.techtunebd.net/install-configure-zimbra-open-source-mail-server-centos-6-x-rhel-6-x/#sthash.SBel04Nx.dpuf

c. #cd zcs-8.0.4_GA_5737.RHEL6_64.20130524120036

d. # ./install.sh –platform-override
It takes 5-10 minutes
Change Domain Name
Change admin password
10.   #su – zimbra

check zimbra status

# zmcontrol status

11. Go to URL
https://ip

 

http://www.stradsolutions.com/linux-vps.php

how to install Apache Solr on a CentOS 7 VPS ?

Apache Solr is an open source enterprise search platform used to easily create search engines which searches websites, files and databases.

 

Please follow the given steps to install Solr :

 

1. Type

yum update

2.  Install the latest version of Java :

yum list available | grep -i jdk

java-1.7.0-openjdk.x86_64

3. Verify that Java is properly installed:

java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-2.5.1.2.el7_0-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

4. The next step is to download and unpack the Solr archive.

cd /opt
wget http://www.bizdirusa.com/mirrors/apache/lucene/solr/4.9.0/solr-4.9.0.tgz
tar -xvf solr-4.9.0.tgz
mv /opt/solr-4.9.0 /opt/solr
mv /opt/solr/example /opt/solr/core

5. Create an init script for the Solr service:

vi /etc/init.d/solr
#!/bin/bash
#
# chkconfig: 2345 20 20
# short-description: Solr
# description: Startup script for Apache Solr Server

SOLR_DIR="/opt/solr/core"
LOG_FILE="/var/log/solr.log"
JAVA="/usr/bin/java -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar start.jar"

start() {
echo -n "Starting Solr... "
cd $SOLR_DIR
$JAVA > $LOG_FILE 2>&1 &
sleep 2
RETVAL=$?

    if [ $RETVAL = 0 ]
    then
        echo "done."
    else
        echo "failed. See error code for more information."
    fi
    return $RETVAL
}

stop() {
echo -n "Stopping Solr... "
pkill -f start.jar > /dev/null
RETVAL=$?

    if [ $RETVAL = 0 ]
    then
        echo "done."
    else
        echo "failed. See error code for more information."
    fi
    return $RETVAL
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: solr {start|stop|restart}"
exit 3
esac
exit $RETVAL

6. Set the proper permission for the ‘solr’ script and make Solr automatically start on server boot:

chmod +x /etc/init.d/solr

chkconfig --add solr

7. You can now start Solr using the following command:

/etc/init.d/solr start

 

8.  Once Solr is up and running you should be able to access it through your favorite web browser at
http://server_IP:8983/solr/

 

http://www.stradsolutions.com/linux-vps.php

 

 

 

How to install plesk panel on linux?

1. mkdir /root/plesk

2. cd /root/plesk

3. wget http://download1.parallels.com/Plesk/PP11/11.0/CentOS5/parallels_installer_v3.12.0_build120601.16_os_CentOS_5_x86_64

this is 64bit CentOS version.

To give it execution permissions

4. chmod +x

parallels_installer_v3.12.0_build120601.16_os_CentOS_5_x86_64

5. Run the auto installer

./parallels_installer_v3.12.0_build120601.16_os_CentOS_5_x86_64

6. After installation, open Internet Browser and go to below URL:

https://your-server-ip-address:8443/