Chevereto-Free is a powerful image hosting script that allows you to create your own image hosting website. This guide will walk you through the installation of Chevereto-Free on Ubuntu 22.04. Whether you are deploying it on a local server or using a Windows VPS UK, this tutorial will provide all the necessary steps.
Step 1: Update Your System
Before installing Chevereto-Free, ensure your system is up to date. Run the following commands:
sudo apt update && sudo apt upgrade -y
Keeping your system updated is crucial for security and performance, whether you're setting it up locally or on a VPS Windows Servers platform.
Step 2: Install Required Packages
Chevereto requires a web server and PHP to run. Install Apache and the required PHP extensions:
sudo apt install apache2 php php-mbstring php-xml php-gd php-curl php-zip php-mysqli libapache2-mod-php -y
After installation, enable the Apache rewrite module:
sudo a2enmod rewrite
Restart Apache to apply the changes:
sudo systemctl restart apache2
Step 3: Download Chevereto-Free
Navigate to the web root directory and download the latest version of Chevereto-Free:
cd /var/www/html
sudo wget https://chevereto.com/download/chevereto-free/chevereto-free.zip
Unzip the downloaded file:
sudo apt install unzip -y
sudo unzip chevereto-free.zip
Move the extracted files to the Chevereto directory:
sudo mv chevereto-free chevereto
Remove the zip file:
sudo rm chevereto-free.zip
Step 4: Configure Permissions
Set the proper permissions for the Chevereto files:
sudo chown -R www-data:www-data /var/www/html/chevereto
sudo chmod -R 755 /var/www/html/chevereto
Step 5: Configure Apache for Chevereto
Create a new Apache configuration file for Chevereto:
sudo nano /etc/apache2/sites-available/chevereto.conf
Add the following configuration, replacing your-domain.com
with your actual domain:
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/html/chevereto
ServerName your-domain.com
ServerAlias www.your-domain.com
AllowOverride All
Require all granted
ErrorLog ${APACHE_LOG_DIR}/chevereto_error.log
CustomLog ${APACHE_LOG_DIR}/chevereto_access.log combined
Save and exit the file, then enable the new site:
sudo a2ensite chevereto.conf
sudo systemctl restart apache2
Step 6: Complete Chevereto Installation
Open your web browser and navigate to:
http://your-domain.com
You should see the Chevereto installation wizard. Follow the on-screen instructions to complete the installation process.
Step 7: Secure Chevereto with Let's Encrypt SSL (Optional)
To secure your Chevereto installation with SSL, use Let's Encrypt. Install Certbot:
sudo apt install certbot python3-certbot-apache -y
Run Certbot to obtain and install the SSL certificate:
sudo certbot --apache -d your-domain.com -d www.your-domain.com
Certbot will automatically configure SSL for your Chevereto instance, ensuring secure access to the platform, whether it is hosted locally or on a Windows VPS hosting UK.