1. To disable the Network Manager service, perform the following steps: Disable Network Manager with the following commands: CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux: service NetworkManager stop chkconfig NetworkManager off CentOS 7, CloudLinux 7, or RHEL 7: systemctl stop NetworkManager systemctl disable NetworkManager…
Tag: CentOS
Fixing Vesta CP Exim Email Incoming error with T=local_delivery defer (-1): Malformed value “0MM”
******** Applicable for vesta cp 1.0.0-5 version) ******** If you lately encounter an issue with mail incoming with vesta cp after an auto update took place, your /var/log/exim/main.log shows something similar below- 2021-12-19 03:39:42 1mxheU-000374-0o == mail@domain.com R=localuser T=local_delivery defer (-1): Malformed value “0MM” (expansion of “${extract{6}{:}{${lookup{$l$…. Step-1 Finding vesta…
Cloning KVM virtual machine using CLI
To clone your VM and spawn new instances in KVML # virt-clone –original {Domain-Vm-Name-Here} –auto-clone OR # virt-clone –original {Domain-Vm-Name-Here} –name {New-Domain-Vm-Name-Here} –auto-clone OR # virt-clone –original {Domain-Vm-Name-Here} \ –name {New-Domain-Vm-Name-Here} –file {/var/lib/libvirt/images/File.Name.here}
Install and Secure Redis on CentOS 7
Step 1 – Install and Enable Remi Repository Firstly, we will add the Remi repository to the CentOS 7 system. The Remi repository provides the latest version of Redis package for our installation. Before adding the Remi repository, let’s install the EPEL repository and yum utility packages. sudo yum install…
Install MongoDB on CentOS 7
Follow the steps below to install the latest stable version of MongoDB on your CentOS server : Enabling MongoDB repository To add the MongoDB repository to your system, open your text editor and create a new YUM repository configuration file named mongodb-org.repo inside the /etc/yum.repos.d/ directory: nano /etc/yum.repos.d/mongodb-org.repo [mongodb-org-4.0] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.0/x86_64/ gpgcheck=1 enabled=1…
CentOS 7 XFS disk resizing
Couldn’t find any article that explained step by step how to resize the main disks volume in a CentOS 7 vm. In my example I started witha single disk of 8GB and expanded to 20GB. I have two partitions on disk sda sda1 type Linux for boot sda2 type Linux…
Install webmin on Centos 7 using Yum
Create and open this new file using your text editor: sudo vi /etc/yum.repos.d/webmin.repo Then add these lines to the file to define the new repository: nano /etc/yum.repos.d/webmin.repo [Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1 Save the file and exit the editor.
Install wkhtmltopdf 0.12.5 on Centos 7
Install Dependencies yum install fontconfig libXext freetype libpng zlib libjpeg-turbo libpng libjpeg openssl icu libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi Install wkhtmltopdf sudo yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm Test wkhtmltopdf http://www.google.com google.pdf Src:: https://otodiginet.com/software/tools/how-to-install-and-using-wkhtmltopdf-on-centos-7/
Configure DomainKeys- DKIM (OpenDKIM) with Postfix on CentOS 7
OpenDKIM is method to digitally sign & verify emails on the mail servers using public & private keys. In other words opendkim implements the DKIM (DomainKeys Identified Mail) standard for signing and verifying email messages on a per-domain basis. DomainKeys are implemented to reduce the chances of outgoing mails to…
Setup mail server on centos 7 using postfix and dovecot
Installing packages Step 1 » Assign hostname for the server using the below command. [root@krizna ~]# hostnamectl set-hostname mail.krizna.com Step 2 » Make a host entry with your IP in /etc/hosts file. 172.27.0.51 mail.krizna.com Step 3 » Now start installing packages. [root@krizna ~]# yum -y install postfix dovecot After package…