Click to Chat
HomeFrequently Asked QuestionscPanelHow to set up a VPS or Server with cPanel and CSF
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 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
2. Disable network manager in Centos 7:
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
Change the /etc/selinux/config (nano /etc/selinux/config) file to
# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - No SELinux policy is loaded.SELINUX=disabled# SELINUXTYPE= can take one of these two values:# targeted - Only targeted network daemons are protected.# strict - Full SELinux protection.SELINUXTYPE=targeted
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 latest5. Then we highly recommend installing CSF (takes 2 minutes and does not require a prompt):
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
rm -fv csf.tgz
tar -xzf csf.tgz
Yes, in cPanel you can add multiple users. When logged into cPanel, click the people icon to the...
All servers use IP tables to decide what can access the server and how. If you are blocked from a...
© Web Host Pro
Inc. All rights reserved
2001-2022. The best tools to manage your website the way you want. cPanel Authorized Partner since 2007. View awards & customer comments.