-
安装php-curl扩展
sudo apt-get install php-curl
-
安装php7.0-curl扩展
sudo apt-get install php7.0-curl
-
安装zipArchive
apt-get update
apt-get install php7.0-zip
root@iZbp1ibd5qj8a3dwztxsf8Z:~# apt-cache search curl | grep php
php-curl - CURL module for PHP [default]
php7.0-curl - CURL module for PHP
php-http-request2 - Provides an easy way to perform HTTP requests
php-picofeed - Modern library to handle RSS/Atom feeds
//php-curl
root@iZbp1ibd5qj8a3dwztxsf8Z:~# sudo apt-get install php-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcurl3 php7.0-curl
The following NEW packages will be installed:
libcurl3 php-curl php7.0-curl
0 upgraded, 3 newly installed, 0 to remove and 86 not upgraded.
Need to get 216 kB of archives.
After this operation, 693 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.8 [187 kB]
Get:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 php7.0-curl amd64 7.0.30-0ubuntu0.16.04.1 [27.5 kB]
Get:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 php-curl all 1:7.0+35ubuntu6.1 [1,928 B]
Fetched 216 kB in 0s (5,618 kB/s)
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 115289 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.47.0-1ubuntu2.8_amd64.deb ...
Unpacking libcurl3:amd64 (7.47.0-1ubuntu2.8) ...
Selecting previously unselected package php7.0-curl.
Preparing to unpack .../php7.0-curl_7.0.30-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-curl (7.0.30-0ubuntu0.16.04.1) ...
Selecting previously unselected package php-curl.
Preparing to unpack .../php-curl_1%3a7.0+35ubuntu6.1_all.deb ...
Unpacking php-curl (1:7.0+35ubuntu6.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for php7.0-fpm (7.0.30-0ubuntu0.16.04.1) ...
Setting up libcurl3:amd64 (7.47.0-1ubuntu2.8) ...
Setting up php7.0-curl (7.0.30-0ubuntu0.16.04.1) ...
Creating config file /etc/php/7.0/mods-available/curl.ini with new version
Setting up php-curl (1:7.0+35ubuntu6.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for php7.0-fpm (7.0.30-0ubuntu0.16.04.1) ...
//php7.0-curl
root@iZbp1ibd5qj8a3dwztxsf8Z:~# sudo apt-get install php7.0-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.0-curl is already the newest version (7.0.30-0ubuntu0.16.04.1).
php7.0-curl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.
//zip
root@iZbp1ibd5qj8a3dwztxsf8Z:~# apt-get install php7.0-zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libzip4
The following NEW packages will be installed:
libzip4 php7.0-zip
0 upgraded, 2 newly installed, 0 to remove and 108 not upgraded.
Need to get 56.1 kB of archives.
After this operation, 186 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe amd64 libzip4 amd64 1.0.1-0ubuntu1 [36.3 kB]
Get:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe amd64 php7.0-zip amd64 7.0.30-0ubuntu0.16.04.1 [19.9 kB]
Fetched 56.1 kB in 0s (2,444 kB/s)
Selecting previously unselected package libzip4:amd64.
(Reading database ... 115309 files and directories currently installed.)
Preparing to unpack .../libzip4_1.0.1-0ubuntu1_amd64.deb ...
Unpacking libzip4:amd64 (1.0.1-0ubuntu1) ...
Selecting previously unselected package php7.0-zip.
Preparing to unpack .../php7.0-zip_7.0.30-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-zip (7.0.30-0ubuntu0.16.04.1) ...
Processing triggers for php7.0-fpm (7.0.30-0ubuntu0.16.04.1) ...
Setting up libzip4:amd64 (1.0.1-0ubuntu1) ...
Setting up php7.0-zip (7.0.30-0ubuntu0.16.04.1) ...
Creating config file /etc/php/7.0/mods-available/zip.ini with new version
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for php7.0-fpm (7.0.30-0ubuntu0.16.04.1) ...
安装Chevereto,参看githubhttps://github.com/Chevereto/Chevereto-Free
-
Download the Chevereto Installer
-
Upload this file to your target destination (usually the public_html folder)
-
Open your website target destination URL and follow the installation process
-
删除到这个index.php文件到服务器上,通过nginx路径访问这个php文件,比如:https://ipersistence.top/picstore/picstore/index.php进入安装引导页面(已经安装可能会提示已失效)
-
继续引导,配置下数据库信息。表前缀之类的。忘了截图..
-
创建账号
- 进入
dashboard
页面。欢迎访问我搭建的图床https://ipersistence.top/picstore/效果图如下,很帅有没有...
- 完结。