OLS: Instalasi Joomla openlitespeed PHP7 mariadb di ubuntu 20.04

From OnnoWiki
Jump to navigation Jump to search

Instalasi OpenLiteSpeed

Instalasi Joomla

apt -y install unzip
cd /usr/local/src
wget https://downloads.joomla.org/cms/joomla3/3-9-23/Joomla_3-9-23-Stable-Full_Package.zip
mkdir /usr/local/lsws/Example/html/joomla
cp Joomla_3-9-23-Stable-Full_Package.zip /usr/local/lsws/Example/html/joomla/
cd /usr/local/lsws/Example/html/joomla
unzip Joomla_3-9-23-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

Setup Database

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

Untuk "operasional"

# 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


Untuk "belajar"

# 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


Akses Joomla

http://<IP-Address-Server>/joomla/


Joomla1.png
Joomla2.png