fix: link old
This commit is contained in:
+15
-1
@@ -5,7 +5,20 @@ apt-get update
|
||||
apt-get install -y libgmp-dev
|
||||
apt-get install -y p7zip-full
|
||||
apt-get install -y tesseract-ocr tesseract-ocr-eng tesseract-ocr-chi-sim
|
||||
apt-get install -y imagemagick
|
||||
apt-get install -y libheif-examples imagemagick
|
||||
apt-get install -y libheif1 libheif-dev
|
||||
|
||||
apt-get install -y cmake g++ libde265-dev libx265-dev libjpeg-dev libpng-dev
|
||||
cd /tmp
|
||||
curl -L -o libheif.tar.gz https://github.com/strukturag/libheif/releases/download/v1.19.7/libheif-1.19.7.tar.gz
|
||||
tar xf libheif.tar.gz
|
||||
cd libheif-1.19.7
|
||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr/local
|
||||
cmake --build build -j"$(nproc)"
|
||||
cmake --install build
|
||||
ldconfig
|
||||
/usr/local/bin/heif-convert --version
|
||||
|
||||
|
||||
fileinfo gmp redis
|
||||
```
|
||||
@@ -53,6 +66,7 @@ cp .env.example .env
|
||||
php artisan key:generate # 仅全新安装;已有库后禁止再跑,否则助记词解不开
|
||||
chown -R www:www storage bootstrap/cache
|
||||
chmod -R ug+rwx storage bootstrap/cache
|
||||
chown -R www:www /www/wwwroot/coruna-lab/storage
|
||||
chattr -i /www/wwwroot/coruna-lab/public/.user.ini
|
||||
|
||||
chown -R www:www /www/wwwroot/coruna-lab/public /www/wwwroot/coruna-lab/storage
|
||||
|
||||
Reference in New Issue
Block a user