How to Install Chevereto on Ubuntu Server Latest

Chevereto is an open-source image hosting PHP script. If you have decided to use Chevereto for your website, then follow the given steps to install Chevereto on Ubuntu Server Latest.

Step 1: Get the latest PHP version

  1. Open the terminal by pressing Ctrl+Alt+T.
  2. Type the following command to update the Ubuntu package.
sudo apt-get update
  1. Install the latest PHP version on Ubuntu by running the following command.
sudo apt-get install php

Step 2: Install Required PHP Extensions

To install Chevereto, you need to install some PHP extensions. Here are some PHP extensions that you need:

sudo apt-get install php-mbstring php-curl php-gd php-xml php-mysql

Step 3: Install Chevereto

  1. First, navigate to your www/html directory using the following command.
cd /var/www/html
  1. Download the Chevereto archive using the wget command.
sudo wget https://github.com/Chevereto/Chevereto-Free/archive/master.zip
  1. Use the unzip command to extract the file.
sudo unzip master.zip
  1. Then replace the extracted folder with the name "Chevereto-Free-master" with "chevereto" using the following command.
sudo mv Chevereto-Free-master chevereto
  1. Next, you need to set the appropriate file permission on the "chevereto" directory.
sudo chown -R www-data:www-data /var/www/html/chevereto
sudo chmod -R 755 /var/www/html/chevereto
  1. Finally, you need to create a database for Chevereto.
sudo mysql -uroot -p
CREATE DATABASE chevereto;
exit
  1. Open up the web browser and type the following URL in the search bar.
http://localhost/chevereto
  1. The installation wizard will appear. Follow the steps to install Chevereto.

  2. After completing the installation, delete the "install.php" file to secure your installation.

sudo rm /var/www/html/chevereto/install.php

Now you have successfully installed Chevereto on your Ubuntu Server Latest.

Enjoy using Chevereto for image hosting on your server.

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!