Chevereto is an open-source image hosting service that allows you to create your image hosting site with ease. It is available for free on Github, and in this tutorial, you will learn how to install Chevereto on EndeavourOS Latest.
Before installing Chevereto, it's essential to update your system. You can do this by running the following command in the terminal:
sudo pacman -Syu
It will update your system and all the installed packages to their latest version.
Chevereto requires a LAMP stack to function correctly. LAMP stack consists of Apache, MySQL, and PHP. You can install it by running the following command:
sudo pacman -S apache mariadb php php-apache php-gd php-intl php-mysql
During the installation process, you will be asked to create a new MySQL root password. Remember this password as you will need it later.
After installing Apache, you need to configure it to work with Chevereto. Open the Apache configuration file using the following command:
sudo nano /etc/httpd/conf/httpd.conf
Once the file is open, find the following line:
#LoadModule php7_module modules/libphp7.so
Remove the "#" at the start of the line to enable PHP module.
Save and close the file.
Next, you need to configure MariaDB by running the following command:
sudo mysql_secure_installation
Follow the on-screen instructions to secure your MariaDB installation.
Download the latest version of Chevereto from Github by running the following command:
sudo wget https://github.com/chevereto/chevereto/archive/master.zip
Extract the downloaded file by running:
sudo unzip master.zip -d /var/www/html/
Change the ownership of the Chevereto files to the Apache user and group:
sudo chown -R http:http /var/www/html/chevereto-master/
Create a new database for Chevereto and import the database schema by running the following command in the terminal:
sudo mysql -u root -p
Enter your MySQL root password and create a new database for Chevereto:
create database chevereto;
exit;
Import the database schema:
sudo mysql -u root -p chevereto < /var/www/html/chevereto-master/db/chevereto-schema.sql
Edit the Chevereto configuration file by running the following command:
sudo nano /var/www/html/chevereto-master/app/settings.php
Find the following lines and modify them accordingly:
'db_name' => 'chevereto',
'db_user' => 'root',
'db_password' => 'your_password',
Replace "your_password" with your MySQL root password.
Save and close the file.
You can access your Chevereto site by entering your server's IP address or domain name in your web browser's address bar. Follow the on-screen instructions to complete the installation process.
That's it! You have successfully installed Chevereto on EndeavourOS Latest. You can now start uploading and sharing your images.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!