1.下载包
http://www.resourcespace.org/downloads/ResourceSpace_5_1_4354.zip
http://www.resourcespace.org/get
2.安装依赖
a.php5(官方说的是php5,但是实际测试安装发现必须5.2.4以上)
b.mysql
c.ImageMagick
d.ffmpeg
e.web: apache或者nginx
3.安装步骤
把php升级至5.2.17
修改php.ini中的,最好把php的执行时间加长一些
点击(此处)折叠或打开
- memory_limit 200M
- post_max_size 100M
- upload_max_filesize 100M
- short_open_tag Off
点击(此处)折叠或打开
- yum install ImageMagick
- yum install ImageMagick-devel
- yum install php-mbstring
- yum install perl-Image-ExifTool
- wget http://www.resourcespace.org/downloads/ResourceSpace_5_1_4354.zip
- mkdir ResourceSpace
- mv ResourceSpace_5_1_4354.zip ResourceSpace
- cd ResourceSpace/
- unzip ResourceSpace_5_1_4354.zip
- mv ResourceSpace /var/www/html/resourcespace/
- cd /var/www/html/resourcespace/
- chmod -R 777 include filestore
点击(此处)折叠或打开
- cd /usr/local/nginx/conf/vhosts/
- vi resourcespace.phluency.com.conf
- /usr/local/nginx/sbin/nginx -s reload
点击(此处)折叠或打开
- mysql< grant all on resourcespace.* to resource_space@'localhost' identified by '123342'
4.配置:
访问
http://resourcespace.test.com:88/resourcespace/pages/setup.php
修改用户名
最后一步是登录,点击“Login to ...”,用户名为admin 密码为admin
5.测试
登录
上传两张图片