Skip to content

Latest commit

 

History

History
97 lines (60 loc) · 1.36 KB

README.md

File metadata and controls

97 lines (60 loc) · 1.36 KB

Guide to Install Joomla on Debian 8

Install the dependencies:

$ sudo apt install apache2 libapache2-mod-php5 php5 php5-curl php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xmlrpc mysql-server mysql-client

Position on /var/www/html:

$ cd /var/www/html

Create a directory

$ mkdir joomla

Position

$ cd /var/www/html/joomla

Download Joomla:

$ sudo wget https://downloads.joomla.org/cms/joomla3/3-6-5/joomla_3-6-5-stable-full_package-zip?format=zip

Decompress the zip

$ unzip joomla_3-6-5-stable-full_package-zip?format=zip

Delete the zip

$ rm -r joomla_3-6-5-stable-full_package-zip?format=zip

Change owner

$ chown www-data: -R joomla/

Now in mysql

Create a user to Joomla

Enter the console of mysql

$ mysql -u root -p

Create user:

$ CREATE USER 'joomlauser'@'localhost' IDENTIFIED BY 'userpassword';

Create database

$ CREATE DATABASE joomladb;

On the basis of newly created data, we assign the user:

$ GRANT ALL PRIVILEGES ON joomladb.* TO 'joomlauser'@'localhost';

Refresh the database:

$ FLUSH PRIVILEGES;

And exit

$ exit;

Now go to the next path https://localhost/joomla in your browser and finish the installation