≡ Menu


cPanel: Update Exim Mail Server

Q. I'm using Cpanel CentOS Linux server. How do I upgrade my exim mail server? How do I update to the latest version of exim under cPanel Sever?
[click to continue…]

How to: Turning off SFTP server under Linux / UNIX cpanel server

Q. I've CentOS Linux cpanel server. I'd like to turn off SFTP server but only allow SSH for root user. How do I trun off sftp server?

A. OpenSSH / sshd reads configuration data from /etc/ssh/sshd_config. The file contains keyword-argument pairs, one per line. Lines starting with ‘#’ and empty lines are interpreted as comments. Configures an external subsystem such file transfer daemon (SFTP) done through this file only. Arguments should be a subsystem name and a command to execute upon subsystem request. The command sftp-server implements the “sftp” file transfer subsystem. sftp-server is a program that speaks the server side of SFTP protocol. sftp-server is not intended to be called
directly, but from sshd using the Subsystem option.

Disable / Turn off sftp server

Open /etc/ssh/sshd_config file:
# vi /etc/ssh/sshd_config
Find line that read as follows:
Subsystem sftp /usr/lib/openssh/sftp-server
Remove or comment out line by prefixing #:
# Subsystem sftp /usr/lib/openssh/sftp-server
Save and close the file. Restart sshd service:
# /etc/init.d/sshd restart

Howto rebuild Apache for Cpanel Linux / UNIX Server (Control Panel)

Q. I’d like to rebuild Apache web to include support for additional modules or to latest version. How do I rebuild Apache for Cpanel Server?

A. Building Apache is quite easy under Cpanel server.

Procedure to Rebuild Apache for Cpanel

Login as the root using ssh

Type the following commands:
# cd /scripts
# ./updatenow
# ./easyapache

Just follow on screen instructions to rebuild Apache for Cpanel server under Linux/FreeBSD oses. Please note that you should see a menu on screen asking you which options you would like built into your apache install. Select options as per your requirements. Once it has completed it will automatically restart Apache for you and you will then be able to use the new features.

Upgrade WHM / cPanel Linux server to EDGE release

Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release?
[click to continue…]