Squirrelmail installation and configuration in linux


Question: How to install and configure Squirrelmail in linux



The steps to install and configure squirrelmail is given below

Step 1: First check what is the Linux OS and Architecture by below command.
#cat /etc/issue ; getconf LONG_BIT
Step 2: Verify whether squirrelmail package is already installed
#rpm -qa | grep -i squirrelmail


Step 3: Install Squirrelmail package through yum repository server
#yum install squirrelmail -y



Step 4: Squirrelmail package will be present in /usr/share/squirrelmail location
#ls -l /usr/share/squirrelmail/


Step 5: Configure Apache to listen the Document Root to the above path and the servername as local host

    #tail -4 /etc/httpd/conf/httpd.conf
    <VirtualHost localhost:80>
        DocumentRoot /usr/share/squirrelmail/
        ServerName localhost


Step 6: Restart the Http Service to make changes works
#/etc/init.d/httpd restart



Step 7: Check the Squirmail webpage through browser