banner
 Sayyiku

Sayyiku

Chaos is a ladder
telegram
twitter

Chevereto v4 Professional Edition Personal Image Hosting Tutorial and Troubleshooting

title: "Chevereto v4 Professional Edition Personal Image Hosting Tutorial and Troubleshooting"
date: "2023-03-20"
categories:

  • "docker"

1. Installation of Baota Panel#

System Requirements#

PHP version 8.0 and above, MySQL version 5.x and 8.0, fileinfo, imagemagick, and exif PHP extensions.

image

Upload and Extract the Authorized Installation Package#

image

Configure Nginx Rewrite Rules#

location ~* /(importing|app|content|lib)/.*\.(po|php|lock|sql)$ {
    deny all;
}
location ~ \.(jpe?g|png|gif|webp)$ {
    log_not_found off;
    error_page 404 /content/images/system/default/404.gif;
}
location ~* /.*\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
    add_header Access-Control-Allow-Origin "*";
}
location / {
    index index.php;
    try_files $uri $uri/ /index.php$is_args$query_string;
}

image

Start the Installation#

Access the domain name or IP address to start the installation.

image

Possible Issues#

image

Solution#

Disable cross-site attack protection in the Baota website directory.

image

Advantages#

  • 🤹 Multiple website instances
  • 📱 Portability
  • 🌈 Easy maintenance
  • 🔐 Automatic HTTPS setup
  • 🎨 Customization
  • 👮‍♂️ Enhanced security
  • 🌎 CloudFlare integration

Requirements#

Docker One-Click Installation#

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Clone chevereto/docker#

git clone https://github.com/chevereto/docker.git
cd docker

Set up Cron#

This process creates a Cron file, /etc/cron.d/chevereto, which runs background jobs for all Chevereto instances on the server.

make cron

Create Proxy#

This process creates a proxy service to handle incoming network traffic to the server. It also provides automatic security certificates for HTTPS.

Pass your email in the EMAIL_HTTPS option.

make proxy EMAIL_HTTPS=mail@yourdomain.tld

Build Chevereto#

This process builds the container for the Chevereto application.

make image

Set up Namespace#

Create a namespace (opens new window) for each Chevereto instance you want to deploy.

Create the example namespace for the VPS with the domain name img.chevereto.dev (replace with your desired domain name):

make namespace NAMESPACE=example HOSTNAME=img.chevereto.dev

Start Chevereto#

Use the make spawn command to create an instance by passing the NAMESPACE option.

make spawn NAMESPACE=example

🎉 Congratulations, Chevereto is now running.

To create additional instances, repeat the steps in setting up the namespace for each additional website you want to generate.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.