apisix安装

 安装依赖

如果当前系统没有安装 OpenResty,请使用以下命令来安装 OpenResty 和 APISIX 仓库:

sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm

如果已安装 OpenResty 的官方 RPM 仓库,请使用以下命令安装 APISIX 的 RPM 仓库:

sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo

完成上述操作后使用以下命令安装 APISIX:

sudo yum install apisix
# yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
Loaded plugins: fastestmirror
apache-apisix-repo-1.0-1.noarch.rpm                                                                                                                                | 2.6 kB  00:00:00     
Examining /var/tmp/yum-root-xyycZK/apache-apisix-repo-1.0-1.noarch.rpm: apache-apisix-repo-1.0-1.noarch
Marking /var/tmp/yum-root-xyycZK/apache-apisix-repo-1.0-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package apache-apisix-repo.noarch 0:1.0-1 will be installed
--> Finished Dependency ResolutionDependencies Resolved==========================================================================================================================================================================================Package                                        Arch                               Version                             Repository                                                    Size
==========================================================================================================================================================================================
Installing:apache-apisix-repo                             noarch                             1.0-1                               /apache-apisix-repo-1.0-1.noarch                             512  Transaction Summary
==========================================================================================================================================================================================
Install  1 PackageTotal size: 512  
Installed size: 512  
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : apache-apisix-repo-1.0-1.noarch                                                                                                                                        1/1 Verifying  : apache-apisix-repo-1.0-1.noarch                                                                                                                                        1/1 Installed:apache-apisix-repo.noarch 0:1.0-1                                                                                                                                                       Complete!

指定安装apisix版本

# yum install apisix-3.4.1 -y
Loaded plugins: fastestmirror
Determining fastest mirrors
loc-cdrom                                                                                                                                                          | 3.6 kB  00:00:00     
openresty                                                                                                                                                          | 2.9 kB  00:00:00     
release/7/x86_64/signature                                                                                                                                         |  833 B  00:00:00     
Retrieving key from https://repos.apiseven.com/KEYS
Importing GPG key 0x79882014:Userid     : "Joey Ma (GPG Key) <majunjie@apache.org>"Fingerprint: 3ccc ec58 6d4f 1d26 35a9 9242 9097 ddae 7988 2014From       : https://repos.apiseven.com/KEYS
release/7/x86_64/signature                                                                                                                                         | 3.0 kB  00:00:00 !!! 
(1/2): release/7/x86_64/primary_db                                                                                                                                 |  27 kB  00:00:00     
(2/2): openresty/7/x86_64/primary_db                                                                                                                               |  51 kB  00:00:01     
Resolving Dependencies
--> Running transaction check
---> Package apisix.x86_64 0:3.4.1-0.el7 will be installed
--> Processing Dependency: apisix-base < 1.21.5 for package: apisix-3.4.1-0.el7.x86_64
--> Processing Dependency: apisix-base >= 1.21.4.1.7 for package: apisix-3.4.1-0.el7.x86_64
--> Processing Dependency: openldap-devel for package: apisix-3.4.1-0.el7.x86_64
--> Running transaction check
---> Package apisix-base.x86_64 0:1.21.4.2.2-0.el7 will be installed
--> Processing Dependency: openresty-openssl111 >= 1.1.1n-1 for package: apisix-base-1.21.4.2.2-0.el7.x86_64
--> Processing Dependency: openresty-pcre >= 8.45-1 for package: apisix-base-1.21.4.2.2-0.el7.x86_64
--> Processing Dependency: openresty-zlib >= 1.2.12-1 for package: apisix-base-1.21.4.2.2-0.el7.x86_64
---> Package openldap-devel.x86_64 0:2.4.44-22.el7 will be installed
--> Processing Dependency: cyrus-sasl-devel(x86-64) for package: openldap-devel-2.4.44-22.el7.x86_64
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.26-23.el7 will be installed
--> Processing Dependency: cyrus-sasl(x86-64) = 2.1.26-23.el7 for package: cyrus-sasl-devel-2.1.26-23.el7.x86_64
---> Package openresty-openssl111.x86_64 0:1.1.1w-1.el7 will be installed
---> Package openresty-pcre.x86_64 0:8.45-1.el7 will be installed
---> Package openresty-zlib.x86_64 0:1.3.1-1.el7 will be installed
--> Running transaction check
---> Package cyrus-sasl.x86_64 0:2.1.26-23.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved==========================================================================================================================================================================================Package                                             Arch                                  Version                                         Repository                                Size
==========================================================================================================================================================================================
Installing:apisix                                              x86_64                                3.4.1-0.el7                                     release                                  3.0 M
Installing for dependencies:apisix-base                                         x86_64                                1.21.4.2.2-0.el7                                release                                   47 Mcyrus-sasl                                          x86_64                                2.1.26-23.el7                                   loc-cdrom                                 88 kcyrus-sasl-devel                                    x86_64                                2.1.26-23.el7                                   loc-cdrom                                310 kopenldap-devel                                      x86_64                                2.4.44-22.el7                                   loc-cdrom                                804 kopenresty-openssl111                                x86_64                                1.1.1w-1.el7                                    openresty                                1.6 Mopenresty-pcre                                      x86_64                                8.45-1.el7                                      openresty                                151 kopenresty-zlib                                      x86_64                                1.3.1-1.el7                                     openresty                                 56 kTransaction Summary
==========================================================================================================================================================================================
Install  1 Package (+7 Dependent packages)Total download size: 53 M
Installed size: 172 M
Downloading packages:
(1/8): cyrus-sasl-2.1.26-23.el7.x86_64.rpm                                                                                                                         |  88 kB  00:00:00     
(2/8): cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm                                                                                                                   | 310 kB  00:00:00     
(3/8): openldap-devel-2.4.44-22.el7.x86_64.rpm                                                                                                                     | 804 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/openresty/packages/openresty-pcre-8.45-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID d5edeb74: NOKEY          ] 991 kB/s | 2.6 MB  00:00:51 ETA 
Public key for openresty-pcre-8.45-1.el7.x86_64.rpm is not installed
(4/8): openresty-pcre-8.45-1.el7.x86_64.rpm                                                                                                                        | 151 kB  00:00:01     
(5/8): openresty-zlib-1.3.1-1.el7.x86_64.rpm                                                                                                                       |  56 kB  00:00:01     
warning: /var/cache/yum/x86_64/7/release/packages/apisix-3.4.1-0.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 96c07346: NOKEY                 ] 2.5 MB/s |  32 MB  00:00:08 ETA 
Public key for apisix-3.4.1-0.el7.x86_64.rpm is not installed
(6/8): apisix-3.4.1-0.el7.x86_64.rpm                                                                                                                               | 3.0 MB  00:00:12     
(7/8): apisix-base-1.21.4.2.2-0.el7.x86_64.rpm                                                                                                                     |  47 MB  00:00:20     
(8/8): openresty-openssl111-1.1.1w-1.el7.x86_64.rpm                                                                                                                | 1.6 MB  00:00:33     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                     1.5 MB/s |  53 MB  00:00:34     
Retrieving key from https://openresty.org/package/pubkey.gpg
Importing GPG key 0xD5EDEB74:Userid     : "OpenResty Admin <admin@openresty.com>"Fingerprint: e522 18e7 0878 97dc 6dea 6d6d 97db 7443 d5ed eb74From       : https://openresty.org/package/pubkey.gpg
Retrieving key from https://repos.apiseven.com/KEYS
Importing GPG key 0x79882014:Userid     : "Joey Ma (GPG Key) <majunjie@apache.org>"Fingerprint: 3ccc ec58 6d4f 1d26 35a9 9242 9097 ddae 7988 2014From       : https://repos.apiseven.com/KEYS
Importing GPG key 0x96C07346:Userid     : "APISIX Publisher <dev@apisix.apache.org>"Fingerprint: 713f 1a8f 45e0 2766 dbba bd64 b44c 2b62 96c0 7346From       : https://repos.apiseven.com/KEYS
Importing GPG key 0x7F829327:Userid     : "zhaoshirui <shirui@api7.ai>"Fingerprint: 22e1 7957 9fbd 69f3 8120 94dc a85c d39d 7f82 9327From       : https://repos.apiseven.com/KEYS
Importing GPG key 0xEF915680:Userid     : "chenjunxu <chenjunxu@api7.ai>"Fingerprint: 1580 f1e6 8985 1c11 ec61 590d 76a2 3bcc ef91 5680From       : https://repos.apiseven.com/KEYS
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : openresty-zlib-1.3.1-1.el7.x86_64                                                                                                                                      1/8 Installing : openresty-openssl111-1.1.1w-1.el7.x86_64                                                                                                                               2/8 Installing : cyrus-sasl-2.1.26-23.el7.x86_64                                                                                                                                        3/8 Installing : cyrus-sasl-devel-2.1.26-23.el7.x86_64                                                                                                                                  4/8 Installing : openldap-devel-2.4.44-22.el7.x86_64                                                                                                                                    5/8 Installing : openresty-pcre-8.45-1.el7.x86_64                                                                                                                                       6/8 Installing : apisix-base-1.21.4.2.2-0.el7.x86_64                                                                                                                                    7/8 Installing : apisix-3.4.1-0.el7.x86_64                                                                                                                                              8/8 Verifying  : openresty-openssl111-1.1.1w-1.el7.x86_64                                                                                                                               1/8 Verifying  : openresty-pcre-8.45-1.el7.x86_64                                                                                                                                       2/8 Verifying  : apisix-3.4.1-0.el7.x86_64                                                                                                                                              3/8 Verifying  : openresty-zlib-1.3.1-1.el7.x86_64                                                                                                                                      4/8 Verifying  : openldap-devel-2.4.44-22.el7.x86_64                                                                                                                                    5/8 Verifying  : cyrus-sasl-2.1.26-23.el7.x86_64                                                                                                                                        6/8 Verifying  : apisix-base-1.21.4.2.2-0.el7.x86_64                                                                                                                                    7/8 Verifying  : cyrus-sasl-devel-2.1.26-23.el7.x86_64                                                                                                                                  8/8 Installed:apisix.x86_64 0:3.4.1-0.el7                                                                                                                                                             Dependency Installed:apisix-base.x86_64 0:1.21.4.2.2-0.el7             cyrus-sasl.x86_64 0:2.1.26-23.el7         cyrus-sasl-devel.x86_64 0:2.1.26-23.el7        openldap-devel.x86_64 0:2.4.44-22.el7       openresty-openssl111.x86_64 0:1.1.1w-1.el7        openresty-pcre.x86_64 0:8.45-1.el7        openresty-zlib.x86_64 0:1.3.1-1.el7           Complete!

管理apisix

初始化 NGINX 配置文件和 etcd

yum install安装后,默认位置在/usr/local/apisix下

# ll 
total 4
drwxr-xr-x 17 root root 4096 Jul 16 11:25 apisix
drwxr-xr-x  3 root root  100 Jul 16 11:25 conf
drwxr-xr-x  5 root root   41 Jul 16 11:25 deps
drwxr-xr-x  2 root root    6 Jul 24  2023 logs
# pwd
/usr/local/apisix

修改apisix配置文件

apisix:node_listen: 9080enable_ipv6: truessl:enable: falselisten: - port: 9182enable_admin: trueenable_control: truecontrol:ip: 127.0.0.1port: 9284deployment:etcd:host:- "http://10.1.1.1:2379"- "http://10.1.1.2:2379"- "http://10.1.1.3:2379"user: rootpassword: auyd871477shaprefix: "/apisix"timeout: 30use_grpc: trueadmin:allow_admin:- 0.0.0.0/0admin_key:- name: adminkey: edd1c9f034335f136f87ad84b625c8f1role: adminadmin_listen:ip: 0.0.0.0port: 9180

初始化

# apisix init
/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua initWARNING: using fixed Admin API token has security risk.
Please modify "admin_key" in conf/config.yaml .[root@host-10-apisix]# apisix start
/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua startWARNING: using fixed Admin API token has security risk.
Please modify "admin_key" in conf/config.yaml .

启动

# apisix start
/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua start
Warning! Current maximum number of open file descriptors [1024] is not greater than 1024, please increase user limits by execute 'ulimit -n <new user limits>' , otherwise the performance is low.WARNING: using fixed Admin API token has security risk.
Please modify "admin_key" in conf/config.yaml .etcd cluster version 3.0.0 is less than the required version 3.4.0, please upgrade your etcd cluster

参考

null本文档主要介绍了 APISIX 多种安装方法。icon-default.png?t=N7T8https://apisix.apache.org/zh/docs/apisix/installation-guide/

 

安装apisix-dashboard

yum install -y https://github.com/apache/apisix-dashboard/releases/download/v2.15.0/apisix-dashboard-2.15.0-0.el7.x86_64.rpm
Loaded plugins: fastestmirror
apisix-dashboard-2.15.0-0.el7.x86_64.rpm                            11% [======-                                                   ] 165 kB/s | 3.9 MB  00:03:07 ETA 
apisix-dashboard-2.15.0-0.el7.x86_64.rpm                            50% [=============================                             ] 156 kB/s |  17 MB  00:01:50 ETA 
apisix-dashboard-2.15.0-0.el7.x86_64.rpm                            79% [=============================================-            ] 166 kB/s |  27 MB  00:00:43 ETA 
apisix-dashboard-2.15.0-0.el7.x86_64.rpm                                                                                                      |  34 MB  00:02:53     
Examining /var/tmp/yum-root-xyycZK/apisix-dashboard-2.15.0-0.el7.x86_64.rpm: apisix-dashboard-local-2.15.0-0.el7.x86_64
Marking /var/tmp/yum-root-xyycZK/apisix-dashboard-2.15.0-0.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package apisix-dashboard-local.x86_64 0:2.15.0-0.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================Package                                   Arch                      Version                          Repository                                                Size
=====================================================================================================================================================================
Installing:apisix-dashboard-local                    x86_64                    2.15.0-0.el7                     /apisix-dashboard-2.15.0-0.el7.x86_64                    122 MTransaction Summary
=====================================================================================================================================================================
Install  1 PackageTotal size: 122 M
Installed size: 122 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : apisix-dashboard-local-2.15.0-0.el7.x86_64                                                                                                        1/1 Verifying  : apisix-dashboard-local-2.15.0-0.el7.x86_64                                                                                                        1/1 Installed:apisix-dashboard-local.x86_64 0:2.15.0-0.el7                                                                                                                       Complete!

修改配置

1.将allow_list中的IP改成0.0.0.0/0

2.修改etcd的地址

3.修改用户名,密码

参数说明:

listen.host: dashboard部署服务器IP

listen.port: dashboard启动监听端口

etcd.endpoints:部署的ETCD集群 信息以及ETCD认证账号密码

authentication.users:dashboard管理页面登录账号密码

启动apisix-dashboard

# systemctl start apisix-dashboard
# systemctl status apisix-dashboard
● apisix-dashboard.service - apisix-dashboardLoaded: loaded (/usr/lib/systemd/system/apisix-dashboard.service; static; vendor preset: disabled)Active: active (running) since Wed 2024-07-17 10:13:58 CST; 1s agoMain PID: 31569 (manager-api)CGroup: /system.slice/apisix-dashboard.service└─31569 /usr/local/apisix/dashboard/manager-api -c /usr/local/apisix/dashboard/conf/conf.yamlJul 17 10:13:58 host-10-200-207-3 systemd[1]: Started apisix-dashboard.
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: The manager-api is running successfully!
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: Version : 2.15.0
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: GitHash : a1ffd33
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: Config File: /usr/local/apisix/dashboard/conf/conf.yaml
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: Listen  : 10.19.195.185:9077
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: Loglevel: warn
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: ErrorLogFile: /usr/local/apisix/dashboard/logs/error.log
Jul 17 10:13:58 host-10-200-207-3 manager-api[31569]: AccessLogFile: /usr/local/apisix/dashboard/logs/access.log

或者用命令行启动

 

# cd /usr/local/apisix/dashboard
# pwd
/usr/local/apisix/dashboard
[root@host-10-19-195-185 dashboard]# ll
total 28764
drwxr-xr-x 2 root root       93 Jul 17 10:13 conf
drwxr-xr-x 2 root root       59 Jul 17 09:59 dag-to-lua
drwxr-xr-x 4 root root     8192 Jul 17 09:59 html
drwxr-xr-x 2 root root       41 Jul 17 10:13 logs
-rwxr-xr-x 1 root root 29441454 Jan  6  2023 manager-api# nohup ./manager-api &

登陆页面

查看apisix的信息

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://xiahunao.cn/news/3248923.html

如若内容造成侵权/违法违规/事实不符,请联系瞎胡闹网进行投诉反馈,一经查实,立即删除!

相关文章

Clonezilla 备份还原过程推送日志到 syslog

Clonezilla 备份、还原过程中&#xff0c;系统的运行日志只能显示到客户端显示器上&#xff0c;如果出现错误&#xff0c;无法在服务端查询到对应的日志&#xff0c;一是故障判断不太方便&#xff1b;另一方面&#xff0c;实现日志推送&#xff0c;也可以将 Clonezilla 运行进度…

配置和保护SSH

使用SSH访问远程命令行 描述Secure Shell SSH&#xff08;Secure Shell&#xff09; 是一种网络协议&#xff0c;用于在不安全的网络上安全地进行系统管理和数据传输。它最初由 Tatu Ylnen 于1995年设计&#xff0c;并成为保护网络服务免受攻击的标准。SSH提供了多种功能&…

正则表达式(Ⅳ)——零宽断言

介绍 以……为开头/以……为结尾 正向表示匹配白名单 先行表示需要写在想要筛选的表达式之后 负向表示匹配黑名单 后行表示需要写在想要筛选的表达式之前 正向先行断言 这段比较复杂&#xff0c;我们拆开来看 \d(?PM) \d表示匹配数字&#xff0c;而且是匹配单个数字 表示…

【C++】C++ 职工信息管理系统(源码)【独一无二】

&#x1f449;博__主&#x1f448;&#xff1a;米码收割机 &#x1f449;技__能&#x1f448;&#xff1a;C/Python语言 &#x1f449;公众号&#x1f448;&#xff1a;测试开发自动化【获取源码商业合作】 &#x1f449;荣__誉&#x1f448;&#xff1a;阿里云博客专家博主、5…

EXCEL的自定义功能

一、Excel文件获取 OFFICE中导入文本文件&#xff0c;CSV&#xff08;分隔符通常是逗号&#xff09;和TXT&#xff08;分隔符通常是Tab键&#xff0c;可以用记事本打开查看分隔符&#xff09;进入单元格&#xff0c;数据——获取外部数据——自文本。 WPS中数据——获取数据——…

Java学习高级四

JDK8开始&#xff0c;接口新增了三种形式的方法 接口的多继承 内部类 成员内部类 静态内部类 局部内部类 匿名内部类 import javax.swing.*; import java.awt.event.ActionEvent;public class Test {public static void main(String[] args) {// 扩展 内部类在开发中的真实使用…

408一战130+|暑假四门课复习经验+资料分享

刚好我有点发言权 408想要考高分&#xff0c;其实很简单&#xff0c;学会抓住主要矛盾&#xff01; 是吗是主要矛盾&#xff0c;大家都知道&#xff0c;408学科四门课&#xff0c;分别是数据结构&#xff0c;计算机组成原理&#xff0c;操作系统&#xff0c;计算机网络。那么4…

Python进阶(4)--正则表达式

正则表达式 在Python中&#xff0c;正则表达式&#xff08;Regular Expression&#xff0c;简称Regex&#xff09;是一种强大的文本处理工具&#xff0c;它允许你使用一种特殊的语法来匹配、查找、替换字符串中的文本。 在这之前&#xff0c;还记得之前我们是通过什么方法分割…

【Python实战因果推断】42_合成控制2

目录 Matrix Representation Synthetic Control as Horizontal Regression Matrix Representation 在上文中&#xff0c;我向大家展示了一个用矩阵表示面板数据的图像&#xff0c;其中一个维度是时间段&#xff0c;另一个维度表示单位。合成控制明确使用了该矩阵&#xff0c;…

SciPy,一个超级强大的 Python 库

大家好&#xff01;我是爱摸鱼的小鸿&#xff0c;关注我&#xff0c;收看每期的编程干货。 一个简单的库&#xff0c;也许能够开启我们的智慧之门&#xff0c; 一个普通的方法&#xff0c;也许能在危急时刻挽救我们于水深火热&#xff0c; 一个新颖的思维方式&#xff0c;也许能…

React 从入门到实战 一一开发环境基础搭建(小白篇)

React 从入门到实战一一开发环境基础搭建&#xff08;小白篇&#xff09; React 介绍什么是 react &#xff1f;react 主要功能react 框架特点 开发工具渲染测试 React 介绍 最近两年&#xff0c;react 也愈来愈火热&#xff0c;想要在里面分一杯羹&#xff0c;那肯定逃不过 r…

访问控制系列

目录 一、基本概念 1.客体与主体 2.引用监控器与引用验证机制 3.安全策略与安全模型 4.安全内核 5.可信计算基 二、访问矩阵 三、访问控制策略 1.主体属性 2.客体属性 3.授权者组成 4.访问控制粒度 5.主体、客体状态 6.历史记录和上下文环境 7.数据内容 8.决策…

【QGroundControl二次开发】二.使用QT编译QGC(Windows)

【QGroundControl二次开发】一.开发环境准备&#xff08;Windows&#xff09; 二. 使用QT编译QGC&#xff08;Windows&#xff09; 2.1 打开QT Creator&#xff0c;选择打开项目&#xff0c;打开之前下载的QGC项目源码。 编译器选择Desktop Qt 6.6.3 MSVC2019 64bit。 点击运…

第四章:服务-让客户端发现pod并与之通信

本章内容包括&#xff1a; 创建服务资源&#xff0c;利用单个地址访问一组pod发现集群中的服务将服务公开给外部客户端从集群内部连接外部服务控制pod与服务关联排除服务故障 上一章学习了如何通过ReplicaSet以及类似的资源部署运行pod的事。尽管特定的pod可以独立的应对外部刺…

C++之类与对象(1)

目录 前言 1.类的定义 1.1类定义的格式 1.2访问限定符 1.3类域 1.3.1类定义一个作用域 1.3.2类成员在类的作用域中 1.3.3在类体外定义成员 2.实例化 2.1实例化概念 2.2对象大小 3.this指针 4.选择题补充练习 结束语 前言 Hello&#xff0c;友友们&#xff0c;好久…

使用Python Turtle绘制圣诞树和装饰

简介(❤ ω ❤) 在这篇文章中&#xff0c;我们将探索如何使用Python的Turtle模块来绘制一个充满节日气氛的圣诞树&#xff0c;以及一些可爱的装饰品。Turtle是一个受Logo语言启发的图形库&#xff0c;非常适合初学者学习编程和创建图形。 码农不是吗喽&#xff08;大学生版&…

SpringBoot以及swagger的基本使用

1、SpringBoot是什么&#xff1f; 一种快速开发、启动Spring的框架、脚手架 遵循“约定优于配置”的思想&#xff0c;使得能够快速创建和配置Spring应用 2、SpringBoot的核心特性 自动配置&#xff0c;一些依赖、默认配置都预设好了&#xff0c;减少了配置量起步依赖&#x…

实现给Nginx的指定站点开启目录浏览功能

一、问题描述 需要实现在浏览器上可以浏览Nginx部署网站内容并下载一些常用的软件安装包、文件资料等内容;并且针对一些文件夹或内容需要进行认证后才能查看;有一些格式类型的文件也不能够访问查看。 二、问题分析 1、实现浏览器上可以浏览下载文件内容; 2、针对一些文件…

Android Studio 不再支持windows 7

Android Studio 一打开就报错&#xff1a; 无法找到入口 无法定位程序输入点 CreateAppContainerProfle 于动态链接库USERENV.dII 上。 截图如下&#xff1a; 经调查&#xff0c;是因为系统版本不兼容。 我目前的电脑环境&#xff1a;windows 7,但是现在的Android Studio要…

四六级词汇小程序的设计

管理员账户功能包括&#xff1a;系统首页&#xff0c;个人中心&#xff0c;用户管理&#xff0c;英语词汇管理&#xff0c;易错词管理&#xff0c;学习笔记管理&#xff0c;签到打卡管理&#xff0c;论坛管理 微信端账号功能包括&#xff1a;系统首页&#xff0c;英语词汇&…