Roundcube: Instalasi di Ubuntu 22.04

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://tecadmin.net/how-to-install-roundcube-webmail-on-ubuntu-20-04/


Install MariaDB

sudo apt update
sudo apt install mariadb-server 
sudo systemctl start mariadb 
sudo systemctl enable mariadb 
sudo systemctl status mariadb

Pastikan mariadb "active (running)" dan berwarna hijau di systemctl status.

Setup database

sudo mysql -u root 
CREATE DATABASE roundcubedb DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 
CREATE USER dbuser@localhost IDENTIFIED BY 'testpassword'; 
GRANT ALL PRIVILEGES ON roundcubedb.* TO dbuser@localhost; 
FLUSH PRIVILEGES; 
exit

Install PHP

sudo apt -y install php php-gd php-common php-json php-imagick \
php-imap php-xml php-opcache php-mbstring php-curl php-zip \
php-bz2 php-intl 

Cek timezone https://www.php.net/manual/en/timezones.asia.php

sed -i -e “s/^;date\.timezone =.*$/date\.timezone = ‘Asia/Jakarta’/” /etc/php8.1/apache2/php.ini

Referensi