Update Cpanel License Key
To check if your server IP has license, go to https://verify.cpanel.net/app/verify To update cpanel server license, run Example Back to Cpanel Server
To check if your server IP has license, go to https://verify.cpanel.net/app/verify To update cpanel server license, run Example Back to Cpanel Server
To install PHP 5.6 on CentOS 7, enable EPEL repo and remi repo yum install epel-release -y rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-7.rpm Install yum-utils and enable remi-php56 repo yum install yum-utils yum-config-manager –enable remi-php56 Install PHP 5.6 with yum install -y php php-bcmath php-cli php-common php-devel php-gd \ php-imap php-intl php-json php-ldap php-lz4 php-mbstring php-mysqlnd \ php-soap … Read more
Install a software with yum yum install PKG_NAME Uninstall a software yum remove Example for installing php and GD yum install php php-gd When you need to update all install software, run yum update List all available software yum list available yum list available “software-name” List all installed software yum list installed See yum
EPEL (Extra Packages for Enterprise Linux) provide additional software for CentOS and RHEL. You can find more information about EPEL at http://fedoraproject.org/wiki/EPEL On CentOS 7/8, you can enable EPEP repo with command yum instal epel-release Or just download rpm package from the site and install. RHEL/CentOS 6: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm RHEL/CentOS 7: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm … Read more
When running yum update on CentOS 7 server, i get following error [root@server2 yum.repos.d]# yum update curl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies –> Running transaction check —> Package curl.x86_64 0:7.29.0-54.el7 will be updated —> Package curl.x86_64 0:7.29.0-57.el7_8.1 will be an update –> Processing Dependency: libcurl = 7.29.0-57.el7_8.1 for package: … Read more
To install Vagrant on CentOS, go to https://www.vagrantup.com/downloads Get link to latest version, then run “rpm -ivh URL_TO_RPM_FILE”. At time of writing this post, latest Vagrant version is 2.2.9, to install Vagrant 2.2.9, run rpm -ivh https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.rpm To check Vagrant version vagrant –version See Vagrant
bind is a DNS server. To install bind on CentOS 7, run yum install bind bind-utils -y Enable bind to start on boot systemctl enable named Start bind systemctl start named You can see status with systemctl status named Setup firewall You need to allow DNS ports UDP/TCP 53 in firewall. On CentOS 7, you … Read more
To list all packages available on a specific repo, run yum –disablerepo=”*” –enablerepo=”REPO_NAME_HERE” list available You can get list of all available repos with command yum repolist Example: yum –disablerepo=”*” –enablerepo=”litespeed” list available This command list all packages available in repo “litespeed”
To install PHP 7. you need to first enable epel and remi repo. yum install -y epel-release rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm Remove existing PHP yum -y remove php Install PHP 7.3 yum –enablerepo=remi-php73 install php73-php php73-php-mbstring php73-php-mysqlnd php73-php-gd php73-php-fpm php73-php-intl php73-php-cli php73-php-xml php73-php-opcache php73-php-pdo php73-php-gmp php73-php-process php73-php-pecl-imagick php73-php-devel start php-fpm service php-fpm stop service php73-php-fpm start … Read more
To verify a package installed on system, you can use Example Here bind package have /etc/named.conf file modified. To verify all packages on system, run Back to rpm
On rebooting the CentOS 7 server, changes made to resolv.conf is lost. This is because one of the network interface is configured to use DNS server. To fix, edit Remove the line Now NetworkManager will not modify /etc/resolv.conf file on boot. Or you can set valid DNS servers in network config file like If your … Read more
ClamAV is provided by the EPEL repo. Install epel repo yum install -y epel-release Install ClamAV with yum install clamav Back to ClamAV