1. 下载
下载seafile源码
root@virtual-machine:/# wget http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.3.4_x86-64.tar.gz
2. 部署和设计
目录名字为pancloud,目录结构如下:
mkdir pancloud #创建主目录
mv seafile-server_6.6.4 pancloud #将seafile源码移动到主目录下
cd pancloud #进入主目录
#将 seafile-server_6.3.4移动到 hai长度wen 目录下后
tar -xzf seafile-server_6.3.4 #解压源码
mkdir installed #创建文件夹
mv seafile-server_6.3.4 installed #将解压后的源码移动到installed文件夹里面
3. 环境配置
- 安装mysql数据库
apt install mysql-server
(安装之前最好使用apt update更新一下源)
(安装过程中会提醒输入数据库root用的密码)
- 安装其他环境
apt-get install python
apt-get install python2.7 libpython2.7 python-setuptools python-imaging python-ldap python-urllib3 f