Install PHP 7.2 on CentOS from yum

First you need to install Remi repository https://rpms.remirepo.net Enable epel repo with yum install epel-release -y On CentOS 7 rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-7.rpm On CentOS 6 rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-6.rpm Enable PHP 7.2 yum install yum-utils yum-config-manager –enable remi-php72 To install PHP, run yum install -y php php-bcmath php-cli php-common php-devel php-gd \ php-imap php-intl php-json php-ldap … Read more

Install Google Chrome on CentOS 7 64 bit

To install Google Chrome on CentOS 7 (Chrome won’t work on CentOS 6 as it is using older version of libraries required for Chrome). First create repo file vi /etc/yum.repos.d/google-chrome.repo Add following content [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub Now you can install google chrome with command yum -y install google-chrome-stable See CentOS

Delta RPMs disabled

When i install software on CentOS server, i get following warning Delta RPMs disabled because /usr/bin/applydeltarpm not installed. You can install deltaparm package yum install deltarpm -y This will save you some bandwidth as yum will only download difference between previous package.

install sysstat on centos

To install sysstat/sar on CentOS, run yum install sysstat Enable and start sysstat systemctl enable sysstat systemctl start sysstat systemctl status sysstat Allow several minutes to collect data, then you will be able to see stats with sar ommand. See sar

Install tmux on CentOS 6

tmux is a terminal emulator. It work like screen, but have more features. CentOS 6 do not come with tmux, you need to enable rpmforge repository. http://repoforge.org/use/ On CentOS 6 64 bit, run rpm -ivh http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm yum install tmux

CentOS 7 Cannot find autoconf

When install redis php module, i get error Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. [root@vps154294 phpredis]# /usr/serverok/php-7.1.12/bin/phpize Configuring for: PHP Api Version: 20160303 Zend Module Api No: 20160303 Zend Extension Api No: 320160303 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF … Read more

Installing Redis PHP module CentOS 7

Lets search for available redis packages [root@vps154294 smartfst]# yum search redis Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: mirror.us.leaseweb.net * remi-safe: repo1.ash.innoscale.net ============================================================================================ N/S matched: redis ============================================================================================ collectd-redis.x86_64 : Redis plugin for collectd collectd-write_redis.x86_64 : Redis output plugin for collectd hiredis.x86_64 : Minimalistic C client library for Redis hiredis-devel.x86_64 : Development … Read more