Recent Comments
Monthly Archives: December 2018
Nextcloud安全检查时报错” HTTP header is not set to “no-referrer””解决方法
Nextcloud安全检查时报错 The “Referrer-Policy” HTTP header is not set to “no-referrer”, “no-referrer-when-downgrade”, “strict-origin” or “strict-origin-when-cross-origin”. This can leak referer information. 这个是NextCloud新版本提升了安全要求,解决方法就是添加对应的标记 server { # Configuration add_header Referrer-Policy no-referrer always; } 完成之后重启nginx,问题解决。 这个官方论坛上有说明,多去看看 https://help.nextcloud.com/t/the-referrer-policy-http-header-is-not-set-to-no-referrer/36613
Nextcloud报错”You are using a fallback implementation of the intl extension.“解决方法
NextCloud安装最新的14版本报错 You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/share/nginx/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 原因是因为php缺组件intl,装上就可以了 [root@fencatn conf.d]# yum install -y php71w-intl Loaded plugins: fastestmirror base | 3.6 kB 00:00 epel/x86_64/metalink | 8.9 kB … Continue reading
NextCloud的调优及安全配置
一、添加缓存 缓存你可以选择memcached或者redis,注意选择一种就可以,不是大型实例,多了也没什么用 1、添加memcached [root@fencatn ~]# yum install -y memcached Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.cqu.edu.cn * epel: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com * webtatic: uk.repo.webtatic.com Resolving Dependencies –> Running transaction check —> … Continue reading
Nextcloud(CentOS 7)安装与配置(LNMP平台)
这篇文章主要介绍CentOS 7 LNMP平台上部署nextcloud的方法,具体的调优和内网穿透,请参照后面的文章 一、环境准备 1、准备Yum源 先安装必须的yum源,centos自带的BASE/EXTRAS/UPDATES必须齐全,同时安装fedora的epel,源不够的自行百度装好。 [root@ftpserver ~]# yum install -y epel* Loaded plugins: fastestmirror base | 3.6 kB 00:00 epel/x86_64/metalink | 8.9 kB 00:00 epel | 3.2 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 … Continue reading
NextCloud(CentOS7)官方安装手册
来源于https://docs.nextcloud.com/server/14/admin_manual/installation/source_installation.html# Installation on Linux If there are no packages for your Linux distribution, you have the option to install Snap Packages. See Installing via Snap packages In case you prefer installing from the source tarball, you can setup Nextcloud from scratch using … Continue reading
NextCloud(Nginx)官方配置文件
来源于https://docs.nextcloud.com/server/14/admin_manual/installation/nginx.html Nginx configuration This page covers example Nginx configurations to use with running an Nextcloud server. This page is community-maintained. (Thank you, contributors!) You need to insert the following code into your Nginx configuration file. Adjust server_name, root, ssl_certificate and ssl_certificate_key to suit your needs. Make sure … Continue reading
Hadoop Day01 安装Hadoop及其配置
1 案例1:安装Hadoop 1.1 问题 本案例要求安装单机模式Hadoop: 单机模式安装Hadoop 安装JAVA环境 设置环境变量,启动运行 1.2 步骤 实现此案例需要按照如下步骤进行。 步骤一:环境准备 1)配置主机名为nn01,ip为192.168.1.21,配置yum源(系统源) 备注:由于在之前的案例中这些都已经做过,这里不再重复,不会的学员可以参考之前的案例 2)安装java环境 [root@nn01 ~]# yum -y install java-1.8.0-openjdk-devel [root@nn01 ~]# java -version openjdk version “1.8.0_131″ OpenJDK Runtime Environment (build 1.8.0_131-b12) OpenJDK 64-Bit Server VM (build 25.131-b12, mixed … Continue reading