zoukankan      html  css  js  c++  java
  • Seafile V4.1 安装笔记

    yum -y install gcc gcc-c++ make cmake pcre pcre-devel expat expat-devel curl wget mlocate gd gd-devel unzip
    yum -y install zlib-devel bzip2-devel openssl openssl-devel ncurses-devel sqlite-devel python-devel libxml2 libxml2-devel
    yum -y install vixie-cron readline-devel tk-devel telnet python-setuptools libpng libpng-devel python-tools
    yum -y install zlib zlib-devel libjpeg libjpeg-devel freetype freetype-devel lcms lcms-devel tkinter tk-devel crontabs
    # 首先安装 LNMP运行环境 和 memcached服务(这里不做说明) # 安装pip (官网 https:
    //pypi.python.org/pypi/pip ) wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-6.1.1.tar.gz#md5=6b19e0a934d982a5a4b798e957cb6d45 tar zxf pip-6.1.1.tar.gz cd pip-6.1.1 python setup.py install # 再安装 simplejson pip install simplejson # 安装PIL(官网地址 http://www.pythonware.com/products/pil ) wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz tar zxf Imaging-1.1.7.tar.gz cd Imaging-1.1.7 vi setup.py    # CentOS 64bit 系统需要修改安装文件 # 修改为(以下几个变量的值设为 /usr/lib64/) TCL_ROOT = "/usr/lib64/" JPEG_ROOT = "/usr/lib64/" ZLIB_ROOT = "/usr/lib64/" TIFF_ROOT = "/usr/lib64/" FREETYPE_ROOT = "/usr/lib64/" LCMS_ROOT = "/usr/lib64/" # 检查编译安装 python setup.py build_ext -i python setup.py install # 安装环境支持 yum -y install MySQL-python python-memcached # 开始安装Seafile(按照提示进行) /funsion/seafile-server-latest/setup-seafile-mysql.sh # 让服务自动运行(如果服务无法运行,请检查防火墙配置) vim /etc/rc.local # 新增以下内容 /funsion/seafile-server-latest/seafile.sh start /funsion/seafile-server-latest/seahub.sh start # 更多参考,官方中文手册 http://manual-cn.seafile.com # 强烈推荐安装官方手册中的教程,在Nginx下配置Seahup ,并且把缓存设置为memcached
    # 参考网址 http:
    //manual-cn.seafile.com/deploy/deploy_with_nginx.html http://manual-cn.seafile.com/deploy/add_memcached.html
  • 相关阅读:
    微信端H5页面问题总结
    css英文长文字会自动换行的解决办法
    前端面试题二(来自前端网http://www.qdfuns.com/notes/23515/fa8b1e788ac39b04108fc33e5b543c4a.html)
    前端面试题(来自前端网http://www.qdfuns.com/notes/23515/c9163ddd620baac5dd23141d41982bb8.html)
    js中的闭包
    js中this的运用
    关于echart x轴溢出的解决办法
    关于jsonp的学习
    关于获取浏览器参数的见解
    关于echar彩色柱状图颜色配置问题
  • 原文地址:https://www.cnblogs.com/funsion/p/4438303.html
Copyright © 2011-2022 走看看