原文链接(我的博客): https://520526.xyz/1224/
说明:Firefox Send
是Firefox
推出的一個全新的临时文件分享系统,不过貌似代码开源了,也有几个小伙伴搭建的时候遇到了点问题,要博主发个教程,这里就水一下手动搭建和Docker
搭建。
截图
手动安装
**Github地址:**https://github.com/mozilla/send 备用:https://github.com/a8866051/send 所需环境:Node.js 10+
、Redis
,如果你服务器,特别是CentOS
,内存512M
或以下的话,建议加点虚拟内存,不然后面可能会安装失败。
1、安装Nodejs
#Debian/Ubuntu系统
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt install -y nodejs git
PHP
复制
#CentOS系统
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum install nodejs -y
yum -y groupinstall "Development Tools"
PHP
复制
2、安装Redis CenOS 6
系统:
#安装EPEL
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
PHP
复制
#安装Redis
yum install redis git -y
PHP
复制
#启动Redis
service redis start
PHP
复制
#设置开机自启
chkconfig redis on
PHP
复制
CenOS 7
系统:
#安装EPEL
rpm -Uvh https://dl.fedoraproject