Install the OpenSSL on Debian based systems
sudo apt-get install openssl| <?php | |
| // This file walks you through the most common features of PHP's SQLite3 API. | |
| // The code is runnable in its entirety and results in an `analytics.sqlite` file. | |
| // Create a new database, if the file doesn't exist and open it for reading/writing. | |
| // The extension of the file is arbitrary. | |
| $db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE); | |
| // Errors are emitted as warnings by default, enable proper error handling. |
| # How to get ClamAV working on CentOS 7 | |
| yum -y install epel-release && yum -y update | |
| yum -y install clamav clamav-data clamav-scanner clamav-scanner-systemd clamav-server clamav-server-systemd clamav-unofficial-sigs clamav-update | |
| # Add /etc/clamd.d/freshclam.conf | |
| # Add /usr/lib/systemd/system/clamav-freshclam.service | |
| systemctl enable clamav-freshclam.service && systemctl start clamav-freshclam.service |
| = Some yum usage for people who know "apt" = | |
| If you are familiar with the apt package manager on Debian/Ubuntu this page should help you transfer your knowledge to working with yum on Fedora/RHEL/CentOS/etc. | |
| Note that this page as currently written is by non-apt experts, so there may be some mistakes. | |
| == General points == | |
| * Speed: | |
| * data/CPU: apt on Debian deals with roughly ~37,000 packages[1] and an extra 6,500 "provides"[2]. yum on Fedora deals with roughly 24,000 packages, 143,000 provides and 3,100,000 file provides. |