基于 CentOS 搭建Seafile个人网盘
一、安装 Seafile
安装依赖环境
使用 yum 安装 Python 及 MySQL:
yum install python python-setuptools python-imaging python-ldap python-memcached MySQL-python mariadb mariadb-server
1
启动 MariaDB 服务:
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service
1
2
配置 MySQL:
/usr/bin/mysql_secure_installation
1
配置过程输入参数如截图所示,其中 New password 和 Re-enter new password 字段都设置为 Password,其他字段一路回车使用默认值:
安装 Seafile
下载 Seafile 安装包:
wget https://mc.qcloudimg.com/static/archive/3d8addbe52be88df4f6139ec7e35b453/seafile-server_5.1.4_x86-64.tar.gz
1
解压 Seafile 安装包:
tar -zxvf seafile-server_5.1.4_x86-64.tar.gz
1
安装 Seafile 安装包:
sudo mkdir -p /opt/seafile/installed
sudo mv seafile-server_5.1.4_x86-64.tar.gz /opt/seafile/installed
sudo mv seafile-server-5.1.4/ /opt/seafile
cd /opt/seafile/seafile-server-5.1.4
sudo ./setup-seafile-mysql.sh
1
2
3
4
5
执行过程输入参数如截图所示,[server name] 字段输入 Seafile,[ This server’s ip or domain ] 字段输入教程第一步申请的域名,[ 1 or 2 ] 字段选择 1,mysql 的 [ root password ] 字段输入 Password,其他字段一路回车使用默认值:
启动 Seafile 及修改防火墙规则
启动 Seafile
sudo ./seafile.sh start
sudo ./seahub.sh start
1
2
执行过程输入参数如截图所示,其中 [ admin email ] 设置为您登录网盘的帐号,如 admin@qcloudlab.wang,[ admin password ] 和 [ admin password again ] 设置为登录网盘的密码,如 admin_Password:
修改防火墙规则
sudo firewall-cmd --zone=public --permanent --add-port=8082/tcp
sudo firewall-cmd --zone=public --permanent --add-port=8000/tcp
sudo firewall-cmd --reload
1
2
3
大功告成!
恭喜,您的 Seafile 已经部署完成,您现在拥有专属的网盘了,登录的帐号密码为您启动 Seafile 步骤中设置的邮箱和密码。
可以通过 Ip 访问网盘:http://<您的域名>:8000
可以通过域名访问网盘:如 http://www.yourdomain.com:8000 ,其中 www.yourdomain.com 替换为您注册的域名
---------------------
基于 CentOS 搭建Seafile个人网盘的更多相关文章
- 基于CentOS 搭建 Seafile 专属网盘
系统要求:CentOS 7.2 64 位操作系统 安装 Seafile 安装依赖环境 使用 yum 安装 Python 及 MySQL: yum install python python-setup ...
- 基于Ubuntu搭建Seafile专属网盘
系统要求: Ubuntu 16.04.1 LTS 64 位操作系统 安装 Seafile 服务器 安装依赖环境 在 Debian/Ubuntu 系统下,可以使用以下命令安装 MySQL: sudo a ...
- Centos搭建Seafile个人网盘
1.安装依赖环境 yum install python python-setuptools python-imaging python-ldap python-memcached MySQL-pyth ...
- 搭建 Seafile 专属网盘
准备域名 任务时间:15min ~ 20min 域名注册 如果您还没有域名,可以在腾讯云上选购,过程可以参考下面的视频. 视频 - 在腾讯云上购买域名 域名解析 域名购买完成后, 需要将域名解析到实验 ...
- 树莓派搭建Seafile个人网盘
步骤一.安装Seafile依赖包 yum install python-setuptools python-ldap python-memcached MySQL-python mariadb mar ...
- 基于CentOS 7.2个人网盘的实现
首先使用YUM安装依赖环境: [root@sishen ~]#yum install python python-setuptools python-imaging python-ldap pytho ...
- seafile私有网盘搭建
各种公有网盘确实很方便,但总有些特殊情况不是? 闲来无聊准备自己搭建一个私有网盘,也让自己的闲置的服务器好好利用一下 搜索一番,找到了专业户seafile 一顿操作,踩了无数大坑,特此总结一下 1.c ...
- ubuntu服务器 安装 seafile 个人网盘
目录 ubuntu服务器 安装 seafile 个人网盘 一.实验环境: 二.实验流程介绍 三.网盘搭建 1.安装依赖环境 2.安装seafile 三.配置QQ域名邮箱 四.配置seafile邮件服务 ...
- 基于 CentOS 搭建 WordPress 个人博客
欢迎大家前往腾讯云+社区,获取更多腾讯海量技术实践干货哦~ 腾讯云提供了开发者实验室帮助用户搭建 WordPress 个人博客,教程内容如下,用户可以点击开发者实验室快速上机完成实验. 准备 LNMP ...
随机推荐
- 解决VS命令提示符 “Setting environment for using Microsoft Visual Studio. 此时不应有“系列错误
一.起因 近期在玩Boost库.当然首先是要进行Boost库的安装和配置.于是浅墨Google了一下boost库的安装配置攻略.下载了最新版1.55的boost库.就愉悦地開始进行配置了. 当进行到第 ...
- JSON介绍及Android最全面解析方法(Gson、AS自带org.son、Jackson解析)
前言 今天,我们来介绍一下现今主流的数据交换格式-JSON! 相同作为主流为数据交换格式-XML,假设有兴趣能够阅读我写的XML及其DOM.SAX.PULL解析方法和对照 文件夹 定义 JavaScr ...
- HDU 4445 数学-抛物运动
D - Crazy Tank ...
- build.gradle解析
1 providedCompile.testImplementation.implementation.api.runtime.testCompile.classpath.natives 这些都是和p ...
- 内容原发网站seo不重视2个标签,导致seo效果不如转发网站
采集数据,挖掘观点,小心求证,得出结论 时间经过 今日凌晨,爬虫热点采集,其中第一财经是目标站之一,采集到了 http://www.yicai.com/news/5391233.html 谷歌去年悄然 ...
- ios25---图片拉伸
控制器: // // ViewController.m // 12-图片的拉伸问题 // // Created by xiaomage on 15/12/30. // Copyright © 2015 ...
- SIM卡APDU指令【转】
本文转载自:http://blog.csdn.net/hlx156/article/details/54136756 一个APDU可以是一个命令,也可以是命令的响应. 命令APDU的一般格式: CLA ...
- luogu 3375 【模板】KMP字符串匹配
我太菜了 今天才学会kmp #include<iostream> #include<cstdio> #include<algorithm> #include< ...
- bzoj 1755: [Usaco2005 qua]Bank Interest【模拟】
原来强行转int可以避免四舍五入啊 #include<iostream> #include<cstdio> using namespace std; int r,y; doub ...
- python使用ddt模块对用例执行操作
import time import unittest import ddt from selenium import webdriver TEST_URL = "http://www.ba ...