- 环境 Ubuntu 20.04;
- 参考文档 https://lycheeorg.github.io/docs/installation.html#installing-lychee
apt install php7.4 php7.4-bcmath php7.4-intl php7.4-gd php7.4-zip php-imagick php7.4-mbstring zip unzip- 安装 composer: https://getcomposer.org/download/
git clone https://www.github.com/LycheeOrg/Lychee /var/www/lycheecd /var/www/lycheecomposer install --no-devcp .env.example .env- 根据
config/目录下的说明来配置.env,包含创建相关数据库等 chown -R www-data:www-data /var/www/lycheephp artisan key:generate- 设置 nginx