Posts

Showing posts from May, 2017

How to Disable SWAP Partition on Centos with CloudLinux Server

You can run 'swapoff -a' - this will immediately disable swap. More info you can read here for example: https://linuxconfig.org/how-to-disable-swap-memory-on-the-linux-system
Typically - you should never have more than 2GB of swap. On shared hosting servers - you're better of with 0.5 or no swap at all. Let us explain the problem. 1. In ancient times, swap was used so that computer can do its job (even if slow) even in the case when a program(s) doesn't fit into memory. We are past that. 2. In more modern time, it is mostly used so some of the programs that are not used right now could be pushed out of RAM, giving some extra RAM for caches/buffers to get extra performance out of the server. Note that in that case, only programs that are rarely used (at most once for several minutes, more like once in a few hours) are good candidates for that.  On a typical shared hosting server - there might be about 1/2GB of such programs. Now, having more swap sounds like a non-issue…

SOLVED: WHM/CPANEL Your server does not support the connection encryption type you have specified. Try changing the encryption method

PROBLEM:

Your server does not support the connection encryption type you have specified. Try changing the encryption method in OUTLOOK.

SOLUTION:


Login from whm -----> Exim Configuration manager-------->Security --------------------------->

Require clients to connect with SSL or issue the STARTTLS command before they are allowed to authenticate with the server. --->Off

And save it.

Mount Other Server's Drive through SSH on Centos 7 with Different Port Using SSHFS

Here are the steps to do so:

We can easily mount a remote file system by using SSHFS. 1. Enable the EPEL repo We will need to install a few packages that are not available in the standard CentOS repository. In order to do this,  yum installepel-release -y 2. Install FUSE and SSHFS packages SSHFS uses FUSE (Filesystem in Userspace). Install the required packages: 1

SOLVED: Mount FTP Servers on Centos as Folder Solution

Mount FTP servers on Linux as folder3 Replies Mounting FTP server as folders on Linux is easy! Start out by installing the CurlFtpFS package. On CentOS this is done by: 1 yum install

WHM/CPanel redirect IP to hostname disable after new Installation

PROBLEM:


i think WHM installation is finished and when i access my server via its IP:

http://x.x.x.x:2087

im redirected to:

https://host.company.com:2087/

it works only when access IP via httpS

please how to disable this hostname redirect (i dont have access to WHM panel , just SSH access)

Thank you

SOLUTION:

You could manually modify the following entries in /var/cpanel/cpanel.config and then restart cPanel:

alwaysredirecttossl=0
cpredirectssl=SSL Certificate Name
requiressl=1


Thank you.