安装环境yum-yinstallepel-releaseyum-yinstallpython-imagingMySQL-pythonpython-memcachedpython-ldappython-urllib3ffmpegffmpeg-develpipinstallpillowmoviepy最后一条命令可能有错:执行以下命令同时安装,可能有:pip版本问题执行:pipinstall--upgradepipyuminstallpython3-pippip3installpillowmoviepy下载seafileservier包http://seafile-downloads.oss-...注意:安装Seafile在运行服务器之前,请确认已经安装了以下软件:Seafile7.0.xversion#onUbuntu16.04apt-getupdateapt-getinstallpython2.7python-setuptoolspython-mysqldbpython-urllib3python-ldap-y#在CentOS7yum安装pythonpython-setuptoolsMySQL-pythonpython-urllib3python-ldap-ySeafile7.1.xversion#在Debian10/Ubuntu18.04apt-getupdateapt-getinstallpython3python3-setuptoolspython3-pippython3-ldap-ypip3安装--timeout=3600Pillowpylibmccaptchajinja2sqlalchemypsd-tools\django-pylibmcdjango-simple-captcha#在CentOS8yum安装python3python3-setuptoolspython3-pippython3-ldap-ypip3install--timeout=3600Pillowpylibmccaptchajinja2sqlalchemypsd-tools\django-pylibmcdjango-simple-captcha配置seafilesetup-seafile-mysql.sh执行脚本之前,必须确保你的localhost下安装了mysql(我安装的是宝塔Linux,是非常容易使用)注册的电子邮件地址是管理员帐户。安装后启动和关闭:./setup-seafile-mysql.shstop/start[root@xxxx-dzz-20seafile-server-7.0.4]#./setup-seafile-mysql.shCheckingpythononthismachine。..检查python模块:python-mysqldb...完成。----------------------------------------------------------------此脚本将指导您使用MySQL设置您的Seafile服务器。请确保您已阅读https://github.com/haiwen/seafile/wikiPress上的Seafile服务器手册ENTER继续----------------------------------------------------------------服务器的名称是什么?客户端3-15位字母或数字[服务器名]seafile服务器的ip或域名是多少?例如:www.mycompany.com,192.168.1.101[本服务器的ip或域名]192.168.20.14你要p到哪里utyourseafiledata?Pleaseuseavolumewithenoughfreespace[default"/home/seafile/seafile-data"]你想为seafilefileserver使用哪个端口?[default"8082"]-------------------------------请选择一种初始化Seafile数据库的方法:----------------------------------------------------[1]新建ccnet/seafile/seahub数据库[2]使用现有的ccnet/seafile/seahub数据库[1或2]1mysql服务器的主机是什么?[默认"localhost"]mysql服务器的端口是什么?[default"3306"]mysqlroot用户的密码是什么?[rootpassword]验证用户root的密码...doneEntermysqluserofseafile的名称。如果不存在,将被创建。[default"seafile"]输入mysql用户"seafile"的密码:[seafile的密码]输入ccnet-server的数据库名称:[default"ccnet-db"]输入数据库名称对于seafile-server:[default"seafile-db"]Enterseahub的数据库名称:[default"seahub-db"]----------------------------------这是您的配置---------------------------------服务器名称:seafile服务器ip/域:192.168.20.14seafile数据目录:/home/seafile/seafile-datafileserverport:8082database:createnewccnetdatabase:ccnet-dbseafiledatabase:seafile-dbseahubdatabase:seahub-dbdatabaseuser:seafile----------------------------------按ENTER继续,或Ctrl-C中止--------------------------------Generatingccnetconfiguration...doneSuccesslycreateconfigurationdir/home/seafile/ccnet.Generatingseafileconfiguration...Done.doneGeneratingseahubconfiguration...---------------------------------------现在创建ccnet数据库表......-------------------------------------------------------------------------现在正在创建seafile数据库ase表...------------------------------------------------------------------------------现在正在创建seahub数据库表......----------------------------------------创建seafile-server-latest符号链接...完成----------------------------------------------------------------您的Seafile服务器配置已成功完成。---------------------------------------------------------------运行seafile服务器:./seafile.sh{start|停止|重启}运行seahub服务器:./seahub.sh{start
