Friday, November 15GNOME IT SOLUTIONS LLC

centos

How to install mcrypt for PHP 7.2 and PHP 7.3 on Centos 7(cPanel)

How to install mcrypt for PHP 7.2 and PHP 7.3 on Centos 7(cPanel)

centos, cPanel
how easy it is to install mcyrpt for PHP 7.2 and PHP 7.3 via Pecl for Easy Apache4 on Centos 7(cPanel). PHP officially deprecated mcrypt as of PHP 7.1 and this causes issues for sites whos CMS still requires it but want to run later PHP versions. More about that official notice is here. Mcrypt installation process Install epel-release repoInstall libmycrpt and libmcrypt-devel rpms needed for the PHP extensions.Update all Pecl php versions.Install Mcrypt PHP extensions via Pecl for PHP72 and PHP73Restart Apache/Litespeed to activate the extensions Install epel-release repo if you do not already have it installed yum install epel-release Install libmycrpt and libmcrypt-devel rpms needed for the PHP extensions. yum install libmcrypt libmcrypt-devel Update all Pecl php...
How to Enable exec() in PHP-FPM?

How to Enable exec() in PHP-FPM?

centos, Other Linux, Ubuntu
Sometimes the exec() function is not working after turning on the PHP-FPM and in php configuration file we could not find any disable functions. If we turned off the PHP-FPM the exec function is working again. If you are facing such issues, please follow the below steps. First, you need to verify the PHP-FPM is enabled on the domain that facing the issue. Please follow the steps. 1) Login to WHM. 2) Navigate to MultiPHP Manager to check whether the domain is using PHP-FPM or not. 3) From that page, you can verify that the domain is using PHP-FPM. Now you have verified that PHP-FPM is on the server. So you need to follow the steps to enable exec() in PHP-FPM. 1) Login to server via SSH. 2) Check the PHP version of the server using the below command. #php -v 3...
Install Taskwarrior (terminal based todo application) on Ubuntu/Centos

Install Taskwarrior (terminal based todo application) on Ubuntu/Centos

centos, Ubuntu
Taskwarrior is Free and Open Source Software that manages your TODO list from your command line. It is flexible, fast, efficient, and unobtrusive. It does its job then gets out of your way.If you spend a lot of time on terminal (as a developer or system administrator) then constantly switching to a web app or another GUI based todo applications may not be a very productive thing to do. In that case, you may want to try a simple command line application instead.Ubuntu based distribution If you want to install Taskwarrior (terminal based todo application) on Ubuntu And Mint Linux enter following command: $ sudo apt-get install todo -y Centos based distributionTo install taskwarrior on CentOS 6.x/7.x first enable epel repository and type following command: $ sudo yum install epel-re...
Monitor Server Logs in Real-Time with “Log.io”

Monitor Server Logs in Real-Time with “Log.io”

centos, Proxmox
Log.io is a small application build on Node.js and Socket.io for monitoring real time Linux server logs through web interface. On RHEL/CentOS 7 Install Epel repositories using the following command. yum install http://fedora.mirrors.telekom.ro/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm On RHEL/CentOS 6 --------------------- On RHEL/CentOS 6.x - 32 Bit --------------------- yum install http://fedora.mirrors.telekom.ro/pub/epel/6/i386/epel-release-6-8.noarch.rpm --------------------- On RHEL/CentOS 6.x - 64 Bit --------------------- yum install http://fedora.mirrors.telekom.ro/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm After added the Epel repositories you can do a system upgrade by using following command line. yum update Now Install Node.j...
Ubuntu Cloud Image On Vmware

Ubuntu Cloud Image On Vmware

centos, Ubuntu, Vmware
I always look to update the Linux virtual machine running on top of VMware workstation on Window 10 Desktop. Where Ubuntu has its daily build of cloud images published at their website. Natrually it is ideal for me to get familar how it is working and start working with it. I have an VMWare workstation 12.x environment. Naturally first choice to deoploy VM with OVA file. Unfortunally, there’s quite several issues when booting into kernel. It is mainly the disk issue. Kenel complains there was read/write/page sync problems when booting. Then I have to turn to use their QCOW2 file. Bionic Beaver IMG file works perfectly booting into login prompt. And yes, before using it you have to convert image format to VMDK. First time using cloud image we’d have to know a little bit about clo...