This tutorial shows how to install an Apache web server on CentOS 7 server with PHP (mod_php) and MySQL database. The acronym LAMP is short for Linux, Apache, MySQL, PHP.
This tutorial shows the installation of the latest PHP version 7.3 on CentOS 7.6 Continue reading “How to install Apache, PHP 7.3 and MySQL on CentOS 7.6 (LAMP)”
MySQL replication is a process that enables data from one MySQL database server (the master) to be copied automatically to one or more MySQL database servers (the slaves). Replication is asynchronous by default. Slaves do not need to be connected permanently to receive updates from the master. Depending on the configuration, you can replicate all databases, selected databases, or even selected tables within a database.
Continue reading “How to set up master slave replication in MySQL”
In this post I’ll show you how to upgrade PHP 7.0 to 7.2 in CentOS 7 Linux.
How To Upgrade PHP 7.0 to 7.2
For PHP 7.0 I’ve been using the Webtatic repository. This is a third party repository that allows me to install newer versions of PHP in CentOS 7.
Continue reading “How To Upgrade PHP 7.0 to 7.2 in CentOS 7 Linux”
If you want to replace the certificate for your hostname with a custom certificate but you had enabled Let’s Encrypt, you will need to disable Let’s Encrypt for the hostname first. The following command let’s DirectAdmin know that it does not need to renew the Let’s Encrypt certificate. This is required as DirectAdmin will renew the certificate +/- 60 days after the last renewal, even when the Let’s Encrypt certificate is not installed.
rm -rf /usr/local/directadmin/data/users/user_name/domains/domain_name.lt.san_config
rm -rf /usr/local/directadmin/data/users/user_name/domains/domain_name.lt.cert.creation_time
A Certificate Authority (CA) is an entity that issues digital certificates. Our goal is to become a certificate authority (CA) like Let’s Encrypt, Verisign etc.. Issue yourself certificates for local development domains!
Continue reading “How to create locally trusted SSL certificates in local development environment on Linux with mkcert”
I get the following error when running
Try to execute these commands and the problem should be resolved.
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build set spamassassin yes
Quick Reminder: What is docker-compose?
docker-compose is a tool for defining and running multi-container Docker applications.
Continue reading “Certbot certificate verification through nginx container”
In this post I’ll show you how to upgrade PHP 5.6 to 7.2 in CentOS 7 Linux.
How To Upgrade PHP 5.6 to 7.2
For PHP 5.6 I’ve been using the Webtatic repository. This is a third party repository that allows me to install newer versions of PHP in CentOS 7.
Continue reading “How To Upgrade PHP 5.6 to 7.2 in CentOS 7 Linux”
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
Please install a package which provides this module, or
verify that the module is installed correctly.
It’s possible that the above module doesn’t match the
current version of Python, which is:
2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
If you cannot solve this problem yourself, please go to
the yum faq at:
Continue reading “YUM: undefined symbol: CRYPTO_set_locking_callback”
CVE stands for Common Vulnerabilities and Exposure. It’s a dictionary of publicly known information security vulnerabilities and exposures.
CVE’s common identifiers enable data exchange between security products and provide a baseline index point for evaluating coverage of tools and services.
Continue reading “CentOS 7: Check if a system is vulnerable to a CVE”