Activity Stream
48,167 MEMBERS
6821 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com

    Default How to Forcefully Reinstall cPanel

    There comes a time in everyone's security life you need to rebuild a cpanel server.. i'm talking about the OS, whm/cpanel and it's modules.. not websites. I wanted to document the process I use to rebuild it:

    1. Force an CentOS/Redhat Reinstall by:
    1. Create an empty directory: mkdir /tempreinstall
    2. CD into the new empty directory: cd /tempreinstall
    3. Force a Yum update: yum reinstall *
    4. delete the temp empty directory


    2. Force cpanel to update with:
    Code: 
    /scripts/upcp --force
    3. Force the webmail systems to update with:

    Roundcube:
    Code: 
    /usr/local/cpanel/bin/update-roundcube ?-force
    Horde:
    Code: 
    /usr/local/cpanel/bin/update-horde ?-force
    Squirrelmail
    Code: 
    /usr/local/cpanel/bin/update-squirrelmail ?-force
    4. Reinstall MySQL:
    Code: 
    /scripts/mysqlup --force
    Source
    Bharat Reviewed by Bharat on . How to Forcefully Reinstall cPanel There comes a time in everyone's security life you need to rebuild a cpanel server.. i'm talking about the OS, whm/cpanel and it's modules.. not websites. I wanted to document the process I use to rebuild it: 1. Force an CentOS/Redhat Reinstall by: Create an empty directory: mkdir /tempreinstall CD into the new empty directory: cd /tempreinstall Force a Yum update: yum reinstall * delete the temp empty directory Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    thanks this is very useful

  4.     
    #3
    Member
    Website's:
    iFunMaza.com
    TFS - HelpfuL!

    FB - http://www.facebook.com/IfunMaza
    Twitter - twitter.com/#!/iFunMaza

  5.     
    #4
    Member
    Website's:
    oulee.com ouleehosting.com litespeedhosting.co.uk ddosprotectedhosting.co.uk radiohost.co.uk windowshosting.im
    Thanks for this.

  6.     
    #5
    Banned
    Website's:
    vaporhostn.com
    All of that is useless steps.
    Code: 
    /scripts/upcp --force
    Is all you need to do the yum part has nothing to do with cpanel as cpanel forces all yum installs. The mail and mysql is reinstalled also via the upcp force install.

  7.     
    #6
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Quote Originally Posted by JamesVaporH View Post
    All of that is useless steps.
    Code: 
    /scripts/upcp --force
    Is all you need to do the yum part has nothing to do with cpanel as cpanel forces all yum installs. The mail and mysql is reinstalled also via the upcp force install.
    Useless in what way ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reinstall OS using iDrac
    By EnCiPh3r in forum Technical Help Desk Support
    Replies: 10
    Last Post: 6th Dec 2011, 05:44 AM
  2. [WP] Plugin Reinstall
    By weena in forum Webmaster Discussion
    Replies: 1
    Last Post: 9th Nov 2011, 07:46 AM
  3. [WP] Plugin Reinstall
    By weena in forum Technical Help Desk Support
    Replies: 14
    Last Post: 14th Oct 2011, 11:32 AM
  4. how to reinstall server?
    By newuploader in forum Server Management
    Replies: 17
    Last Post: 4th Oct 2011, 06:02 AM
  5. How to reinstall Windows on Dedi?
    By dark_hunter in forum Server Management
    Replies: 8
    Last Post: 9th Oct 2010, 11:24 AM

Tags for this Thread

BE SOCIAL