先搭建php环境。
cd /usr/local
git clone https://github.com/wuhaoworld/img-storage img-storage-site
cd img-storage-site
root@AR:/usr/local/img-storage-site# ls
ZeroClipboard.swf css file.jpg index.html js qiniu upload upload.php
root@AR:/usr/local/img-storage-site#
(可见 /usr/local/img-storage-site就是网站的根目录。你可绑定你的某个域名到该目录。这样一个简易图床网站就搭建好了)
演示网站:http://iss.bright.biz.st
项目地址:https://github.com/wuhaoworld/img-storage
cd /usr/local
git clone https://github.com/wuhaoworld/img-storage img-storage-site
cd img-storage-site
root@AR:/usr/local/img-storage-site# ls
ZeroClipboard.swf css file.jpg index.html js qiniu upload upload.php
root@AR:/usr/local/img-storage-site#
(可见 /usr/local/img-storage-site就是网站的根目录。你可绑定你的某个域名到该目录。这样一个简易图床网站就搭建好了)
演示网站:http://iss.bright.biz.st
项目地址:https://github.com/wuhaoworld/img-storage
No comments:
Post a Comment