IndianWebPortal.com

Something Different In Linux

Home » Archive by category 'Email Marketing Series'

How to configure Google Apps in cpanel server ? OR How Configuring DNS CNAME and MX records for Google Apps in cpanel server ? Ans : Google Apps is a suite of Google applications that brings together essential services to help your business. This is a hosted service that lets businesses, schools, and institutions use  [ Read More ]

disable directory listing in tomcat

Posted by Rishikesh Vispute Categories: Email Marketing Series, How to, Tomcat

disable directory listing,Tomcat + cpanel,web.xml file,tomcat,cpanel,index.jsp

How to redirect domain to sub-directory without redirect to URL

How to create email account in postfix mail server? Ans : Postfix configuration files are stored in “/etc/postfix”. The two main postfix configuration files are master.cf and main.cf, although we will only be dealing with main.cf  here. First we are going to make some additions or changes to the main.cf configuration file. The following lines  [ Read More ]

How to protect CRE Loaded admin area ? or Problem when page requires authentication or How to set  password protection for sub directory  without affecting to other .htaccess rewrite rules Ans : You will notice that the default .htaccess will not work if your page requires authentication. Suppose you have set the password protection for  [ Read More ]

If you want to copy all of the files and folders from one host to another by using the ftp account. Then use the following command to download the files/folders on remote server by using wget. Use this command on destination server. wget -m ftp://username:password@ip.of.old.host Some on the hosting provider disabled the main ftp account  [ Read More ]

how to update the awstat in plesk

Posted by Rishikesh Vispute Categories: Email Marketing Series, How to, Plesk

How to update the awstat on plesk manually/automatically ? Ans: You can easily update the awstat for the particular domain  by using following command. /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com Note: Replace the domain.com equal to original domain name. If you want to update the awstat for all the domains which is hosted on the serve then use  [ Read More ]

How to set the Cronjob for first Sunday of the every month. Ans: You can not set such type of cron by using the cPanel. I have used  following script to set this cron. This script detect the first Sunday of every month and then execute the defined script. Add the following Cron to execute  [ Read More ]

How to migrate  and restore single account from one cpanel server to another cpanel server Login to source server : /scripts/whoowns domain.com It shows the username for that domain name. You can create  full backup  of account which contain all data, database and emails by using following command. #/scripts/pkgacct username Change the permission #chmod 755  [ Read More ]

To Disable SSLv2 and enable SSLv3 in the server in cpanel Linux Server Edit the ssl.conf file root@server []# vi /usr/local/apache/conf/ssl.conf Edit the line from SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL To SSLProtocol -SSLv2 +SSLv3 +TLSv1 SSLCipherSuite !NULL:!ADH:!EXP:!LOW:SSLv3:+HIGH:+MEDIUM root@server []# /etc/init.d/httpd restart You can connect the server using OpenSSL to test it SSLv3 enable or not : root@server []#  [ Read More ]

If you want to install software/packages after installation of linux  (CentOS, Fedora etc.). You can create the yum repository to install all the software/packages which is present into the instillation CD. When you have try to install software/packages then some time it shows dependencies problems. To fix this problem I suggest your create the local machine  [ Read More ]

How to Add ssh user on linux server ? Ans: You can use the putyykey generator and generate the ssh key for the user and copy into the local computer.You can download the puttykey generator from the URL http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe The following are the steps for creating ssh user with the authentication :- #adduser test #passwd  [ Read More ]

How to uninstall ffmpeg

Posted by Rishikesh Vispute Categories: Email Marketing Series, How to, Installation

How to uninstall ffmpeg ? Ans : I have installed the ffmpeg by using the /usr/local/src/ffmpeg directory so I have uninstalled it by using the same directory. cd /usr/local/src/ffmpeg make uninstall Deleting ffmpeg-related files from /usr/lib & /usr/bin folders. You can confirm by using following command to uninstall ffmpeg. locate ffmpeg | grep bin cd  [ Read More ]

How to update the yum repository on Centos 5 server 1) yum install yum-fastestmirror 2) yum install yum-priorities 3) uname -i If the output is i386 then cd /usr/local/src wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 4) Install key rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt 5)Install rpmforge rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm 6) yum check-update It will take some time to update teh RPM and  [ Read More ]

How to install imagick on linux server ? Solution : ================ cd /usr/local/src wget http://pecl.php.net/get/imagick-2.2.0.tgz tar -zxvf imagick-2.2.0.tgz cd imagick-2.2.0 phpize ./configure make make install ================ Done

start/stop tomcat in cpanel server

Posted by Rishikesh Vispute Categories: Email Marketing Series, How to, Tomcat

How to start/stop tomcat by using  ” /etc/init.d/tomcat” command. Ans : 1) Check  linux server  run level by using following command who -r If  runlevel is 3 then create the file vi /etc/rc.d/init.d/tomcat and add the following code ==================================== #!/bin/sh JAVA_HOME=/usr/local/jdk; export JAVA_HOME TOMCAT_HOME=/usr/local/jakarta/tomcat; export TOMCAT_HOME $TOMCAT_HOME/bin/catalina.sh $* ==================================== Save the file and then change  [ Read More ]

Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...