How to Install Chevereto on Ubuntu 20.04

Chevereto is a special application that is geared towards allowing the user to host and publish images on their own. It works for creating image hosting websites. Also, its functions include support for several users at once, several servers, as well as the option of choosing a language, bulk import of images, integration with social networks. Before you take the steps to install. First of all, you must have your MySQL database installed. You need to log in using the following command:

mysql -u root -p

Create a new database.

create a new database chevereto;

Then you need to create a new database user by following command

CREATE USER `superadmin`@`Your_Host` IDENTIFIED BY 'strong-passwd';

Grant the user full access rights to the Chevereto database.

GRANT ALL PRIVILEGES ON chevereto.* TO admin@localhost;

Then you need to Updated the root role MySQL

FLUSH PRIVILEGES;

Then – EXIT command (finish)

EXIT

Install Chevereto

You can download from the Git repository. This is available from the link shown below:

wget https://github.com/Chevereto/Chevereto-Free/archive/1.0.9.tar.gz

Next, you need to extract the file:

tar -xvzf 1.0.9.tar.gz

Then add the following to this directory:

<?php
$config['db_name'] = 'cheveretodb';
$config['db_user'] = 'chevereto';
$config['db_pass'] = 'password';
$config['admin_password'] = 'password';

Next, you need to give permission to the Chevereto directory. You can do this with the following command:

chown -R www-data:www-data /var/www/html/chevereto
chmod -R 777 /var/www/html/chevereto

Then you need to configure the Firewall. Firstly, you need to allow HTTP Connections (80 port)

ufw allow in http

And also HTTPS connection (443 port)

ufw allow in https

Was this article helpful?

Related Articles

Leave A Comment?