![]() We will need to create the database, create and assign a database user, then apply full privileges on that database user to the database. Setting up a database for our Roundcube Webmail installation is fairly easy. Systemctl status mariadb Step 3: Creating the database ![]() Then same with Nginx, we need to make sure the MariaDB service is working as expected and will automatically start at boot: systemctl enable mariadb Then answer Y for the rest of the questions. Once installed, we need to secure the database installation which can be done by simply using the built-in command: mysql_secure_installationĪt the first prompt, just press Enter since by default there is no password for root. We will be using MariaDB (a fork of MySQL) as our database service. systemctl enable php-fpmįinally, to complete the stack, we need to install the MySQL database. Since we will be using PHP-FPM, it will be a service that we need to enable at boot, start, and check if running. Once the repository is set up, we can now proceed to install PHP and the PHP packages required by Roundcube Webmail: yum -y install php-fpm php-ldap php-imagick php-common php-gd php-imap php-json php-curl php-zip php-xml php-mbstring php-bz2 php-intl php-gmp In this setup, we will be installing the latest PHP version, PHP 7.4. With that said, we need to install the Remi Repository for CentOS 8 to provide us additional PHP modules. ![]() Roundcube requires php-imap extension which is not included with CentOS 8’s repository by default. Then we need to enable at boot, start, and verify that the Nginx service is running without issues: systemctl enable nginx To install and set up the Nginx web server, use the following command: yum install nginx -y To make it work on our CentOS 8 VPS, we need to set up a LEMP (Linux, Nginx, MySQL, PHP) stack first. Simply run the following command: yum update -yĪs mentioned earlier, Roundcube is written with PHP and works with MySQL as its data storage. Once logged in, it is best to update all the CentOS 8 packages installed to make sure they are running on their latest versions. Step 1: Log in via SSH and Update Packagesįirst, log in to your CentOS 8 VPS via SSH as the root user using your favorite terminal: ssh _address -p port_number
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |