1.安装编码依赖包 nginx在linux安装的前提需要:wget、gcc、pcre、openssl、zlib [root@master ~]# yum -y install gcc gcc-c++ [root@master ~]# yum install -y pcre pcre-devel [r ...
分类:
其他好文 时间:
2021-06-21 21:09:19
阅读次数:
0
习题1.1 统计学习方法的三要素为:模型、策略、算法。 模型即需要用函数 \(Y=f_\theta(X)\) 或者条件概率分布 \(P_\theta(Y|X)\) 表示。 策略即寻找合适的损失函数,表示预测值与真实值之间的误差,进而构建风险函数。风险函数就是最优化的目标函数。 算法即学习模型时需要选 ...
分类:
其他好文 时间:
2021-06-21 20:51:54
阅读次数:
0
目前安装vCenter Server Appliance 6.5客户原来越多,给用户配置过程中,往往会忽略默认的root 密码策略:60天过期。一旦密码过期或忘记密码,vcsa的管理控制台就无法通过root登录。 以下是参考官方KB 方法修改忘记或过期的root密码。 1. 请先生成 vCenter ...
分类:
移动开发 时间:
2021-06-21 20:42:14
阅读次数:
0
dockerfile就是用来构建docker镜像的构建文件 写入命令脚本 通过这个脚本可以生成镜像,镜像是一层一层的,脚本一个个的命令,每个命令都是一层 [root@iZmu0fa4hv0jwzZ home]# mkdir docker-test-volume [root@iZmu0fa4hv0jw ...
分类:
其他好文 时间:
2021-06-21 20:36:25
阅读次数:
0
#include<stdio.h>#include<string.h>#include<stdlib.h>#include<windows.h>typedef struct student //定义结构体 { char name[20]; //姓名 char num[15]; //学号 char s ...
分类:
其他好文 时间:
2021-06-21 20:34:02
阅读次数:
0
升级原因:为了在本地安装跟公司测试服一样的服务器环境,需要把本地PHP版本从5.4升级到5.5。 操作步骤: 1. 查看当前centos版本 [root@localhost ~]# cat /etc/redhat-release 2. 根据当前centos版本,更换对应版本的RPM 源(软件仓库) ...
分类:
Web程序 时间:
2021-06-21 20:30:16
阅读次数:
0
重启服务器 光标第一行按E进入单用户模式 UTF8后面添加rd.break 然后ctrl+x 同时按 mount -o remount,rw /sysroot chroot /sysroot passwd touch /.autorelabel exit reboot ...
分类:
其他好文 时间:
2021-06-21 20:27:56
阅读次数:
0
一、Linux目录结构 1、树形目录结构 2、根目录 所有分区、目录、文件等的位置起点 整个树形目录结构中,使用独立的一个“/”表示 3、常见的子目录 /root /bin /boot /dev /etc /home /var /usr /sbin 4、常见子目录的作用 /root:管理员的宿主(家 ...
分类:
系统相关 时间:
2021-06-21 20:00:01
阅读次数:
0
扩展方法的 3 个要求: 声明扩展方法的类必须声明为 static; 扩展方法本身必须声明为static; 扩展方法第一个参数类型前一定要包含关键字 this。 using System; namespace ExtensionMethods { sealed public class MyMeth ...
简单设置环境变量,以及密码 1.把mysql命令加入环境变量 [root@master01 ~]# vim /etc/profile.d/mysql.sh #!/bin/bash export MYSQL=/application/mysql export PATH=$PATH:$MYSQL/bin ...
分类:
数据库 时间:
2021-06-20 18:49:27
阅读次数:
0