CentOS Web Panel Update

CentOS Web Panel has automatic updates which are done via crontab.

When a new version is released, your server will automatically update within 48 hours.

If you just purchased your CWP Pro, the automatic update will happen by itself, but not instantly.

If you want to force update you can do that by executing the following command through SSH or the Send Shell function of CWP.

send shell command

sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp

or

sh /scripts/update_cwp

Once you have pro, you can also press the Update CWP button to run the update.

If you have issues with the CWP update then you should contact support.

There is a ChangeLog on the website, but unfortunately it is not kept up-to-date.

ChangeLog for CentOS 6

Handling Excessive Resource Usage Emails on CWP7

Excessive Resource Usage: RPC

The rpcbind package is not required unless you use NSF mounts on the server. You can disable them:

 

  • # systemctl disable rpcbind
  • # systemctl disable rpcbind.socket
  • # systemctl stop rpcbind
  • # systemctl stop rpcbind.socket

 

Turning Off Excessive Resource Emails

Firewall main configuration:

Contents of File: /etc/csf/csf.conf

# This User Process Tracking option sends an alert if any linux user process
# exceeds the time usage set (seconds). To ignore specific processes or users
# use csf.pignore
#
# Set to 0 to disable this feature
PT_USERTIME = “1800”

1800 = 30 min

You can set it to 0 to turn it off also set it to a higher value.

How to install CentOS Web Panel in CentOS 7

centos

CentOS Web Panel (CWP) is a free web hosting panel for RPM-based distributions like CentOS, and provides an easy-to-use interface to manage your server. CWP comes with a huge variety of features/services, and unlike other control panels, it can automatically install a LAMP stack with a Varnish cache. Some of its other features include:

  • CSF firewall
  • File system lock
  • User management
  • DNS management
  • SSL generator
  • System & services monitoring
  • File manager
  • SQL services

In this tutorial, we will look at how to install CentOS Web Panel in CentOS 7 and configure some of its services once the installation is complete. Read More

What is SSH?

SSH

Security always plays a major role on the internet: That’s why the SSH security procedure is firmly anchored in the TCP/IP protocol stack. The SSH protocol allows users to establish a secure connection between two computers. The network protocol has been in use since 1995 and has been revised several times since then. We explain the most important terminology of the SSH protocol and how encryption works.

What do you need SSH for?

SSH enables two computers to establish a secure and direct connection within a potentially unsecure network, such as the internet. This is necessary so that third parties can’t access the data stream, which would result in sensitive data falling into the wrong hands. Even before secure shell, there were ways to establish direct connection between two computers, but the corresponding applications such as Telnet, Remote Shell, or rlogin were all unsecure. SSH encrypts the connection between two computers and enables a second one to be operated from one computer.

Read More

Change SSH port in CWP

SSH Port 22

CWP comes with the OpenSSH server. This is using by default port 22. CWP doesn’t modify this at installation time but notifies you to change it as soon as possible. The message looks like:

cwp-ssh-port-warning

WARNING: Security vulnerability! Your server is using default SSH Port 22, to make your server more secure change SSH port in config file /etc/ssh/sshd_config and in CSF firewall ! After changes are done don’t forget to restart SSH and CSF Firewall.

Read More