- 博客(20)
- 资源 (1)
- 收藏
- 关注
原创 gitllub
systemctl stop firewalldsystemctl disable firewalldvi /etc/sysconfig/selinux将SELINUX改为disable`yum -y install curl policycoreutils openssh-server openssh-clients postfixcurl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.r
2022-01-17 18:55:35
332
原创 maven
修改配置文件1、本地仓库位置修改在标签内添加自己的本地位置路径<localRepository>D:\maven\repository</localRepository>2、 修改maven默认的JDK版本在标签下添加一个标签,修改maven默认的JDK版本<profile> <id>JDK-1.8</id> <activation> <activ
2021-12-02 04:34:06
67
原创 JumpServer
一、安装(一键部署)1、图示:2、命令行:一、一键部署执行以下命令curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.13.2/quick_start.sh | bash[root@nfs01 ~]# curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.13.2/quick_start.sh | bashdow
2021-09-16 20:35:46
577
原创 互联网的本质-交换数据
传输数据http请求行请求体请求空行请求体火狐浏览器https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/511状态码详解```
2021-09-16 11:38:29
56
原创 ansible
ssh-keygen -t dsa# 创建公钥和私钥然后回车就行ssh-copy-id -i /root/.ssh/id_dsa.pub root@10.0.0.41#连接并输入密码ssh 10.0.0.41直接成功ssh基于密钥连接就是为了批量管理服务的存在
2021-09-15 11:26:30
39
原创 nginx模块-location
Syntax: location [ = | ~ | ~* | ^~ ] uri { … }location @name { … }Default: —Context: server, locationSets configuration depending on a request URI.根据请求 URI 设置配置。The matching is performed against a normalized URI, after decoding the text encoded in th
2021-09-12 17:24:47
87
原创 nginx
官网:https://nginx.org/安装官方yum源安装1、新建文件vim /etc/yum.repos.d/nginx.repo2、添加如下内容[nginx-stable]name=nginx stable repobaseurl=http://nginx.org/packages/centos/$releasever/$basearch/gpgcheck=1enabled=1gpgkey=https://nginx.org/keys/nginx_signing.keymo
2021-09-11 20:43:33
76
原创 nginx-网站搭建
5、单个网站的搭建cd /etc/nginx/conf.dviwww.confserver { listen 80; server_name www.studykuang.com; location / { root /usr/share/nginx/html; index index.html; }}cd /usr/share/nginx/htmlvim index.html6、其他操作id wwwuseradd ...
2021-08-31 10:56:49
172
原创 nginx使用
3、cd /etc/nginxcp nginx.conf{,.bak}grep -Ev "^$|#" nginx.conf.bak >nginx.confcatuser nginx;worker_processes auto;error_log /var/log/nginx/error.log;pid /run/nginx.pid;include /usr/share/nginx/modules/*.conf;events { worker_connections
2021-08-31 10:50:52
60
原创 nginx-ins
1、vi/etc/yum.repos.d/nginx.repoi[nginx-stable]name=nginx stable repobaseurl=http://nginx.org/packages/centos/$releasever/$basearch/gpgcheck=1enabled=1gpgkey=https://nginx.org/keys/nginx_signing.keymodule_hotfixes=trueesc : wq enter2、 ...
2021-08-31 10:45:25
71
原创 Zabbix安装
其他系统优化为前提1、添加yum源rpm -ivh http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm2、安装软件yum install -y httpd php mariadb-server zabbix-server-mysql zabbix-web-mysql3、第一个密码vi /etc/zabbix/zabbix_server.confDBPassword=
2021-08-31 09:30:13
50
原创 电脑之间的交流-day01
[电脑与电脑](人与人)之间想要[交流](说话)需要统一的标准[协议](语言)。这个统一的标准对电脑来说是 <1 互联网><2 internet><3 internet标准><4 internet协议>。这个统一的标准对人来说是语言;计算机之间交流是靠二进制...
2021-08-04 23:02:01
99
原创 yum网络源阿里云-刚更新的-脚本
# 设置主机名 hostnamectl set-hostname lfy # 查看主机名 hostname # 配置aliyun-yum源 # 1、先备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup # 2、下载文件 curl -o /etc/yum.repos.d/CentOS-Base.re...
2021-08-04 20:42:31
51
原创 01、linuxcentos7.5yum查询命令所属rpm包
yum whatprovides 命令名例子:yum whatprovides at
2021-08-03 15:27:12
189
原创 IOIOIO
IO概述知识要点File文件操作。IO流。IO:input//output例 :System.in//System.out文件流处理流带有缓冲区的流转换流对象流文件操作File类、File类。表示操作系统中的文件或文件夹
2021-06-01 15:38:33
210
原创 SpringCloudAlibaba
nacos注册服务到nacosyml配置spring: cloud: nacos: discovery: server-addr: localhost:8848/ application: name: providerserver: port: 10083注意地址localhost:8848/不要写错,或少些 <dependency> <groupId>org.springfra
2021-03-01 16:20:24
81
原创 MySQL
MySQL任务驱动:SELECT * FROM order;/** * 在SQLYog(暂时在用,别的未了解)中查询表的全部数据, * 如果表名是order会自动变为大写ORDER,(可能是因为order是关键字吧!) * 所以查询不到 * 报错================ * 1 queries executed, 0 success, 1 errors, 0 warnings * <e>查询:select * from order LIMIT 0, 1000 * 错误
2021-01-19 14:03:26
89
原创 SpringMVC 获取请求数据(文件上传&&略)
文件上传1.文件上传客户端三要素表单项表单的提交方式表单的enctype属性是多部分表单形式,及enctype= “multipart/form-data”2.文件上传原理略略略
2021-01-13 20:41:39
80
原创 Spring
Spring1,导入坐标spring-context2,创建接口与实现dao && dao.impl3,配置XML<bean id="xxdao" class="类名"></bean>4,测试 ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml"); UserDao userDao = (UserDao)
2021-01-12 20:44:01
37
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人