Roundcube: Instalasi di Ubuntu 22.04

From OnnoWiki
Revision as of 20:20, 7 December 2023 by Onnowpurbo (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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 install php7.4 php7.4-gd php7.4-common php7.4-json php-imagick php7.4-imap php7.4-xml php7.4-opcache php7.4-mbstring php7.4-curl php7.4-zip  php7.4-bz2 php7.4-intl 

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


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


Referensi