[TOC] 自定义登录功能 创建静态文件夹(static文件夹) 中创建的视图函数,会需要用到一些css样式和js对象,如果还是通过CDN加速的方式,从网络调用,会显得不安全,当服务器网络发生故障的时候,会导致css样式和js对象加载不出来,因此我们需要将这些静态文件放到本地存放。 静态文件 css ...
分类:
其他好文 时间:
2020-01-08 18:52:26
阅读次数:
52
前期测试使用免费的网络资源: 推荐使用阿贝云 https://www.abeiyun.com 这里提供了免费的免费虚拟主机、免费云服务器。足以供日常使用和测试。使用还算方便,都需要实名认证,不过可以不备案合法使用,免费的配置有点鸡肋,但是还是足够搭建一些小型网站的,如果要搭建中大型,那推荐氪金了。下 ...
分类:
其他好文 时间:
2020-01-08 18:45:40
阅读次数:
67
1 Install nbd-server sudo apt-get install nbd-server 2 Create a file content dd if=/dev/zero of=/mnt/dhini bs=1024 count=36000 Use mke2fs to make the ...
分类:
系统相关 时间:
2020-01-08 12:48:05
阅读次数:
136
用tar命令解压文件的时候出错了,信息如下: tar -jvxf jemalloc-3.6.0.tar.bz2 ./nginx/ tar (child): bzip2: Cannot exec: No such file or directorytar (child): Error is not r ...
分类:
其他好文 时间:
2020-01-08 12:31:06
阅读次数:
93
yum -y install make cmake gcc gcc-c++ 在/usr/local/src/下放文件 wget https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz libfastcommon是从 Fa ...
分类:
其他好文 时间:
2020-01-08 10:36:53
阅读次数:
55
https://codeforces.com/contest/1270/problem/C 思路:利用异或的性质 a^a=0 先加一项把之前的异或和的影响消去 再加一项使得满足s=2x 官方: #include<bits/stdc++.h> #define ll long long using na ...
分类:
其他好文 时间:
2020-01-08 00:47:08
阅读次数:
91
Long long ago,a handsome boy whose name is HSP studied in JSU of information science and engineering. He is clever and always thinks of ways to make f ...
分类:
其他好文 时间:
2020-01-07 22:49:51
阅读次数:
170
1.使用nload yum install -y gcc gcc-c++ ncurses-devel make wgetwget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gztar zxf nload-0.7.4.tar.gz && cd ...
分类:
系统相关 时间:
2020-01-07 22:49:34
阅读次数:
149
redis安装:tar -zxvf redis-5.0.5.tar.gz 解压yum install gcc gcc-c++ 环境安装cd redis-5.0.5/ make && make installmkdir -p /usr/local/redis/binmkdir -p /usr/loca ...
分类:
系统相关 时间:
2020-01-07 19:57:49
阅读次数:
105
参数 全称 释义 说明-pl --projects Build specified reactor projects instead of all projects 选项后可跟随{groupId}:{artifactId}或者所选模块的相对路径(多个模块以逗号分隔) -am --also-make ...
分类:
其他好文 时间:
2020-01-07 17:52:36
阅读次数:
196