How do I set up a VPS or Server with cPanel and CSF? Print

  • cpanel, whm, install, csf, install cpanel, set up cpanel, add, new vps, new server, set up
  • 2260

CSF has closed its doors. Luckily, there is a team keeping it going on GitHub. Go here for details: https://webhostpro.com/index.php/knowledgebase/260/How-to-install-CSF-Legacy-from-GitHub.html

 

---------------------------------------------------------------------------------------------------------------------------

 

You will need a free program like Putty or Tera Term to access the command line for your VPS or Server. Once you have logged in with the root username and password, you just need to run a couple of commands.

1. First update the operating system and add Nano:

yum update && yum upgrade

Wait a while, then add Nano.

yum install nano wget curl net-tools lsof bash-completion perl

Reboot the server (Type reboot)

4. Now install cPanel (Takes about an hour or two and does not require a prompt at any point):

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

5. Then we highly recommend installing CSF (takes 2 minutes and does not require a prompt):

cd /usr/src
rm -fv csf.tgz
wget https://cdn.webhostpro.com/csf/csf.tgz 
tar -xzf csf.tgz cd csf sh install.sh

After you have installed cPanel, log into the WHM:
 
https://your-server-ip:2087/ 
 
And start configuring cPanel and CSF. (replace "your-server-ip" with your actual server IP)
 
Configuring everything is tricky and there are a lot of options. I suggest taking your time and using Google to find the setting you like best. Of course, ask us if you have any questions.

5. You will at least need to add name servers or direct your domains via your register to your server IP. Creating name servers is a little tricky, but we have an article here to help.
 

Was this answer helpful?

« Back