宝塔linux面板安装seafile,Centos7 安装seafile 企业共享网盘
安装环境
yum -y install epel-release
yum -y install python-imaging MySQL-python python-memcached python-ldap python-urllib3 ffmpeg ffmpeg-devel
pip install pillow moviepy
上一条命令可能错误:执行下面命令
同时安装时可能还会有:pip 版本问题
执行:pip install --upgrade pip
yum install python3-pip
pip3 install pillow moviepy
下载seafile servier 包
注意:
安装 Seafile 服务器之前,请确认已安装以下软件:
Seafile 7.0.x 版本
# on Ubuntu 16.04apt-get updateapt-get install python2.7 python-setuptools python-mysqldb python-urllib3 python-ldap -y
# on CentOS 7yum install python python-setuptools MySQL-python python-urllib3 python-ldap -y
Seafile 7.1.x 版本
# on Debian 10/Ubuntu 18.04apt-get updateapt-get install python3 python3-setuptools python3-pip python3-ldap -ypip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools \ django-pylibmc django-simple-captcha
# on CentOS 8yum install python3 python3-setuptools python3-pip python3-ldap -ypip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools \ django-pylibmc django-simple-captcha
配置seafile
setup-seafile-mysql.sh脚本执行之前得保证你localhost下有已经安装好的mysql(我装的宝塔Linux,很好弄)
注册邮箱即为admin账户
安装后启动关闭 :./setup-seafile-mysql.sh stop/start
[root@xxxx-dzz-20 seafile-server-7.0.4]# ./setup-seafile-mysql.sh
Checking python on this machine ...
Checking python module: python-mysqldb ... Done.
-----------------------------------------------------------------
This script will guide you to setup your seafile server using MySQL.
Make sure you have read seafile server manual at
https://github.com/haiwen/seafile/wiki
Press ENTER to continue
-----------------------------------------------------------------
What is the name of the server? It will be displayed on the client.
3 - 15 letters or digits
[ server name ] seafile
What is the ip or domain of the server?
For example: www.mycompany.com, 192.168.1.101
[ This server's ip or domain ] 192.168.20.14
Where do you want to put your seafile data?
Please use a volume with enough free space
[ default "/home/seafile/seafile-data" ]
Which port do you want to use for the seafile fileserver?
[ default "8082" ]
-------------------------------------------------------
Please choose a way to initialize seafile databases:
-------------------------------------------------------
[1] Create new ccnet/seafile/seahub databases
[2] Use existing ccnet/seafile/seahub databases
[ 1 or 2 ] 1
What is the host of mysql server?
[ default "localhost" ]
What is the port of mysql server?
[ default "3306" ]
What is the password of the mysql root user?
[ root password ]
verifying password of user root ... done
Enter the name for mysql user of seafile. It would be created if not exists.
[ default "seafile" ]
Enter the password for mysql user "seafile":
[ password for seafile ]
Enter the database name for ccnet-server:
[ default "ccnet-db" ]
Enter the database name for seafile-server:
[ default "seafile-db" ]
Enter the database name for seahub:
[ default "seahub-db" ]
---------------------------------
This is your configuration
---------------------------------
server name: seafile
server ip/domain: 192.168.20.14
seafile data dir: /home/seafile/seafile-data
fileserver port: 8082
database: create new
ccnet database: ccnet-db
seafile database: seafile-db
seahub database: seahub-db
database user: seafile
---------------------------------
Press ENTER to continue, or Ctrl-C to abort
---------------------------------
Generating ccnet configuration ...
done
Successly create configuration dir /home/seafile/ccnet.
Generating seafile configuration ...
Done.
done
Generating seahub configuration ...
----------------------------------------
Now creating ccnet database tables ...
----------------------------------------
----------------------------------------
Now creating seafile database tables ...
----------------------------------------
----------------------------------------
Now creating seahub database tables ...
----------------------------------------
creating seafile-server-latest symbolic link ... done
-----------------------------------------------------------------
Your seafile server configuration has been finished successfully.
-----------------------------------------------------------------
run seafile server: ./seafile.sh { start | stop | restart }
run seahub server: ./seahub.sh { start | stop | restart }
port of seafile fileserver: 8082
port of seahub: 8000
8000端口默认监听在127.0.0.1地址上,这意味着您无法直接通过8000端口访问Seafile服务,按官方文档建nginx或者修改下面配置
/$home/seafile/conf/gunicorn.conf文件
安装后启动关闭 :./seafile.sh stop/start
[root@xxxx-dzz-20 seafile-server-7.0.4]# vim ../conf/gunicorn.conf
[root@xxxx-dzz-20 seafile-server-7.0.4]# ./seafile.sh start
[04/03/20 15:08:18] ../common/session.c(132): using config file /home/seafile/conf/ccnet.conf
Starting seafile server, please wait ...
** Message: seafile-controller.c(718): No seafevents.
Seafile server started
Done.
[root@xxxx-dzz-20 seafile-server-7.0.4]# ./seahub.sh start
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 ...
----------------------------------------
It's the first time you start the seafile server. Now let's create the admin account
----------------------------------------
What is the email for the admin account?
[ admin email ] ltx@xxxx.com
What is the password for the admin account?
[ admin password ]
Enter the password again:
[ admin password again ]
----------------------------------------
Successfully created seafile admin
----------------------------------------
Seahub is started
Done.
[root@xxxx-dzz-20 seafile-server-7.0.4]# netstat -tnlp | grep 80
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4630/nginx: master
tcp 0 0 0.0.0.0:8082 0.0.0.0:* LISTEN 17392/seaf-server
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 21953/python2.7
测试
安装客户端
宝塔linux面板安装seafile,Centos7 安装seafile 企业共享网盘相关推荐
- 宝塔面板 php关闭拓展,宝塔Linux面板中PHP如何安装扩展及禁用函数?
我们在宝塔 Linux 面板中安装环境(如Nginx 或 Apache.PHP 等)一般都不需要对 PHP 进行设置,不过某些环境下 PHP 需要安装一些必要的扩展,也有可能需要禁用一些函数,那么在宝 ...
- 宝塔Linux面板 7.9.8安装使用
宝塔Linux面板 7.9.8安装使用 使用官方教程,基本无脑一遍过 1.安装命令 centos系统:yum install -y wget && wget -O install.sh ...
- 宝塔Linux面板 软件商店中安装不了任何php版本的解决方法
如果当前的操作系统是CentOs,又在2022年后新安装的话,可能会出现php安装不了的方法. 虽然消息列表中像这样显示已安装完成,但其实根本没安装上,在 软件商店中-已安装 列表中找不到刚安装的ph ...
- linux卸载zabbix数据库,结合宝塔linux面板 centos6 7一键zabbix安装脚本!
zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案.铁网维就不做过多的介绍,详情可以百度了解! 本次铁网维结合宝塔linux面板的环境来安装zabbix3.0. ...
- 在CentOS上安装宝塔Linux面板
文章目录 一.在Docker里安装CentOS 二.在CentOS里安装宝塔Linux面板 (一)安装bt,报错appstream下载失败 (二)解决下载`appstream`失败的问题 1.进入yu ...
- linux宝塔搭建网站,宝塔Linux面板搭建网站入门教程五(宝塔Linux面板安装WordPress博客程序)...
本文于 2021-04-01 00:04 更新,本文內容具有時效性,如有失效,請在博客站內搜相關商家名稱,即可查看到關於此商家的最新優惠活動! 國外商家建議使用"谷歌瀏覽器"訪問, ...
- 从0开始利用宝塔linux面板+WordPress一键部署搭建个人的博客介绍
准备工具 宝塔linux面板 宝塔linux面板的使用和安装在这篇文章有提到 点击一键部署 这里添加一下自己的ip 输入数据库名和用户名以及密码 进入博客后台,就可以随心所欲的操作啦; 可以根据自己的 ...
- 华为云linux登录用户名密码,华为云Linux服务器安装宝塔Linux面板详细图文教程
对于大多数站长而言直接使用 Linux 服务器来建立博客网站是相当有难度的,所以老古强烈建议大家在不熟悉操作 Linux 系统的情况下安装一个宝塔 Linux 面板,这样就可以把 Linux 服务器变 ...
- 宝塔 linux面板,宝塔Linux面板安装使用入门教程_Linux系统云服务器/云服务器/独立服务器建站面板安装入门教程...
宝塔Linux面板是一款非常好用且使用简单的Linux系统云服务器.云服务器.独立服务器运维面板!支持一键LAMP.LNMP.集群.监控.网站.FTP.数据库.JAVA等100多项服务器管理功能.为L ...
最新文章
- 微软Build 2016前瞻:让开发者编写能畅行所有设备的app
- openpyxl 绘制饼形图_好享学丨快速上手Pythonmatplotlib 箱线图绘制,学术人必备
- mysql查询雇员部门和性别_数据库管理系统MySQL实验
- 为何我中断执行的线程不起作用,Why
- suse linux修改ftp端口,suse Linux系统下的网络设置(ftp telnet xmanager)
- #pragma pack (n) 惹的祸
- 微软北京.NET俱乐部免费活动(2010年7月18日)–Visual Studio 2010 敏捷开发与云计算Azure...
- linux内存源码分析 - 伙伴系统(释放页框)
- 手把手教你c语言队列实现代码,通俗易懂超详细!
- Lattice diamond软件中的Clarity Designer 与 IPexpress切换
- 自己动手,更换中兴F663NV3a光猫,换为华为MA5671,真香。(中国移动光纤宽带)
- PHP连接MYSQL没有反应
- PDF在线转换成word免费版
- Hive on spark 执行加载不了spark的jars
- 区块数据存储文件说明
- MySQL索引和锁实现原理及优化
- Go:【学习笔记】Go 语言结构
- 计算机课怎么考试时间,考研专业课考试时间介绍
- 酒瓶换酒编程C语言,【终极答案】一劳永逸解决天空问题:酒瓶换酒问题
- 爱普生630k linux驱动下载,爱普生lq-630k驱动
热门文章
- MySQL知识树 集合操作
- 只用一个WiFi,渗透进企业全部内网
- [转发] 老叶观点:MySQL开发规范之我见
- 小白打基础一定要吃透的11类 Python 内置函数
- LeetCode力扣(27. 移除元素)----Java/JavaScript/C
- inset() php,inset.php · L@Y/studentscoremanagementsystem - Gitee.com
- 1000道Python题库系列分享21(11道编程题:内置函数专项练习)
- 使用Python验证6174猜想
- Python使用RSA+MD5实现数字签名
- Python内置函数使用说明