06 2020 档案
摘要:设计的redis命令 redis-serverredis-cli 要从设置密码说起... 本来启动redis的server命令 #启动redis-server,并且指定配置文件 [zf@VM_0_13_centos redis]$ ./bin/redis-server ./redis.conf 这个
阅读全文
摘要:安装很简单,执行如下指令即可: wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz # tar -zxvf perl-5.28.0.tar.gz cd perl-5.28.0 ./Configure -des -Dprefix=/usr/loca
阅读全文
摘要:思路:先安装python 然后通过yum包手动安装。 1、安装python3 wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz tar -zxvf Python-3.8.3.tgz mv Python-3.8.3 /usr/l
阅读全文
摘要:之所以手动安装是因为阿里云无法使用yum安装,Nginx安装需要-手动安装pcre、zlib、openssl。 1、安装pcre wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.33.tar.gz tar -zxvf
阅读全文
摘要:配置nginx开机启动 切换到/lib/systemd/system/目录,创建nginx.service文件vim nginx.service cd /lib/systemd/system/ vim nginx.service 文件内容如下: [Unit] Description=nginx Af
阅读全文
摘要:1.The quick brown fox jumps over a lazy dog. 那只敏捷的棕色狐狸跳过了一只懒惰的狗。 这个句子包含了英语中的26个字母。 2.Was it a bar or a bat I saw ? 我看到的是酒吧还是蝙蝠? 这是一句回文句,顺着读和倒着读是一样的。类似
阅读全文
摘要:1. Never trouble trouble till trouble troubles you. 麻烦没来找你,就别去自找麻烦。 第一、四个 trouble 是动词,第二、三个 trouble 是名词。 2. I think that that that that that student w
阅读全文
摘要:String类的format()方法用于创建格式化的字符串以及连接多个字符串对象。熟悉C语言的同学应该记得C语言的sprintf()方法,两者有类似之处。format()方法有两种重载形式。 format(String format, Object... args) 新字符串使用本地语言环境,制定字
阅读全文
摘要:原文地址:https://www.cnblogs.com/daxin/p/SessionAttributes.html @sessionattributes @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Inheri
阅读全文