Results 1 to 4 of 4

Thread: clamav command line install

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default clamav command line install

    As a server administrator, I'm always dealing with websites which get hacked. I will use a program called maldet to scan a users home directory. For it to work best, I need clamav installed. I know I can go to the whm and add it; however, I wanted to know if there was a way to do it from the command line interface. This is purely for efficiency reasons.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: clamav command line install

    The issue with trying to install via command line is that it won't set the option in WHM > Manage Plugins area for "Install and keep updated" with clamavconnector. Can you explain why you would like to know how to do it in command line? Is there a slew of servers needing this added?

    If you just want it added, which will cause it to be enabled in WHM > Service Manager (and will allow you to use "/scripts/restartsrv_clamd" to restart it), you can install using yum on CentOS or R:

    Code:
    yum install clamd
    I wouldn't really recommend this route as it installs rpms rather than using our installer.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered User
    Join Date
    Apr 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: clamav command line install

    Thank you very much for your reply.
    I am aware of how to install it via yum. It is indeed on a CentOS server.
    The reasons for this is indeed that I need to install it on many servers. I would like to use the cpanel installer to keep it updated and ensure everything works correctly with cpanel.

    Is there no automated way I can do this through cpanel without logging into the whm web interface?

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default Re: clamav command line install

    Is there no automated way I can do this through cpanel without logging into the whm web interface?
    No, there is no way you can do this automatically through cPanel.
    AccuWebHosting.Com | CPanel Hosting Provider Since 2003
    Cloud Powered Hosting | CPanel VPS
    Trusted by 20,000+ Clients Worldwide

Similar Threads

  1. Command line
    By -X-Pain in forum cPGS Discussions
    Replies: 2
    Last Post: 09-13-2009, 11:34 AM
  2. Command Line : CoD4
    By Coldbolt in forum cPGS Discussions
    Replies: 9
    Last Post: 09-26-2008, 06:07 PM
  3. Command Line Changes COD4
    By blaakclaw in forum cPGS Discussions
    Replies: 1
    Last Post: 08-11-2008, 11:04 AM
  4. Command Line?
    By fizz in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-19-2006, 04:41 AM
  5. What is the command to restart cpanel via the command line?
    By AbeFroman in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 07-29-2004, 03:24 PM