OLS: Instalasi Joomla openlitespeed PHP7 mariadb di ubuntu 20.04

From OnnoWiki
Revision as of 05:12, 16 December 2020 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Instalasi OpenLiteSpeed



Instalasi Joomla

cd /usr/local/src
wget https://downloads.joomla.org/cms/joomla3/3-9-23/Joomla_3-9-23-Stable-Full_Package.zip?format=zip


mkdir /usr/local/lsws/Example/html/joomla
cp Joomla_3.7.2-Stable-Full_Package.zip /usr/local/lsws/Example/html/joomla/
cd /usr/local/lsws/Example/html/joomla
unzip Joomla_3.7.2-Stable-Full_Package.zip
chown -Rf www-data.www-data /usr/local/lsws/Example/html/joomla
chmod -Rf 777 /usr/local/lsws/Example/html/joomla

Buat database joomla pada MySQL, siapkan user database untuk mengakses database joomla melalui perintah

# mysql
mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');

atau

# mysql -u root -p
Enter password: (isi password root untuk MySQL)
create database joomla;
grant ALL on joomla.* to joomlauser@localhost identified by 'joomlapass';
grant ALL on joomla.* to joomlauser identified by 'joomlapass';
exit


bagi anda yang masih pemula / berexperimen dapat menggunakan perintah

# mysql -u root -p123456
create database joomla;
grant ALL on joomla.* to joomla@localhost identified by 'joomla';
grant ALL on joomla.* to joomla identified by 'joomla';
exit