Skip to main content

Posts

CWP: Configure Roundcube Password Policy

First Ensure The Roundcube Password Plugins is enabled in the following configuration file . I'm showing you the minimum changes but you can change your own rules . # cat /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php   $config['plugins'] = array(    'archive',    'zipdownload',    'managesieve',    'password',  ); Configuring the password plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ #  cp -p password/config.inc.php.dist password /config.inc.php The first setting deals with the minimal length of the password. I recommend to enforce at least 8 characters. # vi password/config.inc.php // Determine whether current password is required to change password. // Default: false. $config['password_confirm_current'] = true; // Require the new password to be a certain length. // set to blank to allow passwords of any length $config['password_minimum_length'] = 8; // Enables lo

CWP: Configuring Default Installed Roundcube Plugins after CentOS WebPanel Fresh Installation

There are some (Probably 4) Roundcube Plugins will be installed automatically when you install CWP that's need to be configured. Go to Line number 79, # vi /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php $config['plugins'] = array(    'archive',    'zipdownload',    'managesieve',    'password', ); So it would look like the following  (From Line number 79) : 1. There is no config.inc.php file in archive plugin directory. So no need to configure the 'archive' plugin. 2.Configuring the 'zipdownload' plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ #  cp -p zipdownload/config.inc.php.dist zipdownload/config.inc.php 3.Configuring the 'managesieve' plugin # cd /usr/local/cwpsrv/var/services/roundcube/plugins/ #  cp -p managesieve/config.inc.php.dist  managesieve /config.inc.php 4.Configuring the 'password' plugin # cd /usr/local/cwpsrv/var/services/ro

How to Upgrade PHP 5.6 to PHP 7.3.x Stable Release on CentOS 7 for VestaCP ?

In this tutorial I’ll show you how to upgrade from PHP 5.6.x to PHP 7.3.x , I’ve tested on production server before writing this tutorial and its just working fine without any issue.  Now go to yum repo directory and Check  remi repo is available for php73 Note: If you want use Presta 1.7.5 then use PHP 7.2 , Details : Link 1 For Apache : update to PHP 7.2.x & MariaDB 10.1 For NGINX : update to PHP 7.2.x & MariaDB 10.1 Go to Yum Directory: # cd /etc/yum.repos.d # ll Now install yum-utils, a group of useful tools that enhance yum’s default package management features. Yum-utils can be used for manipulating package repositories and additional package management operations such as enabling or disabling packages without any manual configuration by a system administrator. You can install it as follows: # yum install yum-utils In this step, you need to enable Remi repository using yum-config-manager utility, as the default repository for installing PHP. # yum-config-m

How to Upgrade MariaDB 5.5 to MariaDB 10.1 Stable Release on CentOS 7 for VestaCP ?

By Default VestaCP will install old base version of Mariadb 5.5 when installing on Centos 7 . I am using VestaCP with Version: 0.9.8 (x86_64), Release: 23 5.5.60-MariaDB - MariaDB Server PHP version: 5.6.40 In this tutorial we are going to show you how to upgrade MariaDB 5.5 to MariaDB 10.1 latest stable version. You will need to have root access to the machine, where you will be performing the upgrade. Note that if you are running earlier version of MariaDB the recommended course of upgrading is by going through each version. For example MariaDB 5.1 -> 5.5 -> 10.1. Clean all yum cache & update yum # yum clean all # rm -rf /var/cache/yum # yum update -y Step 1: Backup or Dump All MariaDB Databases As always when performing an upgrade creating backup of your existing databases is important. You can either dump the databases with command such: # mysqldump -u root -pPassbMUs1Pbu --all-databases > /tmp/all-database.sql Or alternatively, you can stop the M

How to Install High Performance VestaCP Hosting Panel with NGINX+php-fpm?

Vesta Control Panel (VestaCP) is an open source hosting control panel that can manage multiple websites, create and manage email accounts, create and manage FTP accounts. Also, manage MySQL database and DNS records. The Vesta Control panel can be installed on a RHEL, CentOS, Debian and Ubuntu server. For a smooth installation you will need clean system "minimal install base" . If installation fails you can force it using --force option. If you want to get full list of available options run installer with --help argument. Installer categorizes servers into 4 groups. Micro - less than 1Gb of RAM.       - Do not support phpfcgi template Small - less than 3Gb of RAM.        - Do not support phpfcgi template Medium - less than 7Gb of RAM.   - Support  Antispam and Antivirus packages Large - more than 7Gb of RAM.     - Support  Antispam and Antivirus packages Antispam and Antivirus packages are only installed on a medium and large servers. Micro server also do

VestaCP Installation Perquisite : Part 7 Install Latest EPEL Release

At First, Update your Base Repository ,then install latest EPEL # yum check-update # yum update -y Reboot The Machine # reboot # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* # yum -y install epel-release Run Update again & Check # yum update -y # yum repolist If you have getting any error then run: # yum clean all # rm -rf /var/cache/yum # yum update -y # yum repolist By default CentOS 7 uses postfix mail server. So remove Postfix completely because Vesta uses Exim4 mail server . also remove sendmail # systemctl stop postfix # yum remove postfix -y # yum remove sendmail -y If you want use nginx web-server , then remove # systemctl stop httpd # yum remove httpd –y

How to Set or Change Time Zone in Ubuntu 16.04 LTS / CentOS 7 Linux ?

Server Time Zone is very important for any Internet Services. My Time Zone is Asia/Dhaka . Follow the steps to configure your Time Zone. CentOS 7: # timedatectl list-timezones # timedatectl list-timezones | grep Asia # mv /etc/localtime /root/localtime.old # ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime # timedatectl set-ntp yes # timedatectl set-timezone Asia/Dhaka # systemctl restart systemd-timedated.service # timedatectl Local time: Wed 2018-10-31 11:15:50 +06 Universal time: Wed 2018-10-31 05:15:50 UTC RTC time: Wed 2018-10-31 05:15:50 Time zone: Asia/Dhaka (+06, +0600) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: n/a # hwclock Wed 31 Oct 2018 11:21:37 AM +06 -0.084209 seconds Ubuntu 16.04 LTS: # timedatectl list-timezones # timedatectl list-timezones | grep Asia # mv /etc/localtime /root/localtime.old # ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime # timedatectl set-ntp yes # timedatectl set-