Difference between revisions of "Roundcube: Instalasi di Ubuntu 22.04"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 25: | Line 25: | ||
==Install PHP== | ==Install PHP== | ||
− | sudo apt install | + | 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 | 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 | |
− | |||
− | sed -i -e “s/^;date\.timezone =.*$/date\.timezone = ‘Asia/Jakarta’/” /etc/ | ||
− | |||
==Referensi== | ==Referensi== | ||
* https://tecadmin.net/how-to-install-roundcube-webmail-on-ubuntu-20-04/ | * https://tecadmin.net/how-to-install-roundcube-webmail-on-ubuntu-20-04/ |
Revision as of 20:25, 7 December 2023
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