From ff62542fd448a4edbdb2d390e0dbb1160bb4c991 Mon Sep 17 00:00:00 2001 From: xiao <2448724264@qq.com> Date: Sun, 10 Nov 2024 20:01:12 +0800 Subject: [PATCH] 1110 --- ...\344\270\234\351\241\265\351\235\242.html" | 491 ++++++++++++++++++ ...\345\270\203\345\261\200\344\270\200.html" | 268 ++++++++++ ...\345\270\203\345\261\200\344\270\211.html" | 150 ++++++ ...\345\270\203\345\261\200\344\272\214.html" | 146 ++++++ ...\345\270\203\345\261\200\344\272\224.html" | 330 ++++++++++++ ...\345\270\203\345\261\200\345\233\233.html" | 161 ++++++ ...24\345\274\217\345\270\203\345\261\200.md" | 25 + ...31\346\200\201\347\275\221\347\253\231.md" | 34 ++ 8 files changed, 1605 insertions(+) create mode 100644 "\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\344\272\254\344\270\234\351\241\265\351\235\242.html" create mode 100644 "\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\200.html" create mode 100644 "\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\211.html" create mode 100644 "\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\214.html" create mode 100644 "\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\224.html" create mode 100644 "\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\345\233\233.html" create mode 100644 "\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1104-\345\223\215\345\272\224\345\274\217\345\270\203\345\261\200.md" create mode 100644 "\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1106-\346\220\255\345\273\272\351\235\231\346\200\201\347\275\221\347\253\231.md" diff --git "a/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\344\272\254\344\270\234\351\241\265\351\235\242.html" "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\344\272\254\344\270\234\351\241\265\351\235\242.html" new file mode 100644 index 0000000..527fa08 --- /dev/null +++ "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\344\272\254\344\270\234\351\241\265\351\235\242.html" @@ -0,0 +1,491 @@ + + + + + Document + + + + +
+
+
+
打开京东App,购物更轻松
+
立即打开
+
+
+
+
|
+
+ +
+ 登录 +
+
+ +
+
+
+
+
+
京东超市
+
+
+
京东超市
+
+
+
京东超市
+
+
+
京东超市
+
+
+
京东超市
+
+
+
+
+
京东超市
+
+
+
京东超市
+
+
+
京东超市
+
+
+
京东超市
+
+
+
京东超市
+
+
+
+
+
+
京东秒杀 18
+
+
更多秒杀
+
+
+
+
+
¥25
+
+
+
¥2568
+
+
+
¥28.8
+
+
+
¥19.7
+
+
+
¥420
+
+
+
¥42.9
+
+
+
+
+
+
+
+
+ +
+ \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\200.html" "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\200.html" new file mode 100644 index 0000000..b39e5b5 --- /dev/null +++ "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\200.html" @@ -0,0 +1,268 @@ + + + + + + Document + + + + +
+
+ +
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+ +
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+ +
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+
+
+
+
2444.0万
+
+
+ 催眠:Delta脑波音乐减压深度睡眠 +
+
+
+
+ + + \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\211.html" "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\211.html" new file mode 100644 index 0000000..c9377ec --- /dev/null +++ "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\270\211.html" @@ -0,0 +1,150 @@ + + + + + + Document + + + + +
+
+ 一天到晚摸鱼 +
+
+
左侧
+
中间
+
右侧
+
+
+

向天再借五百年

+
+ + + +
+ + + \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\214.html" "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\214.html" new file mode 100644 index 0000000..8880b40 --- /dev/null +++ "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\214.html" @@ -0,0 +1,146 @@ + + + + + Document + + + + + +
+
+
+ +

热门视频

+
+
+ +

换一换

+
+
+
+
+ +

无论做什么鱼:最忌放盐和料酒研制

+

1万评论

+

148万次观看

+

司马南频道

+
+
+
+
+ +

无论做什么鱼:最忌放盐和料酒研制

+

1万评论

+

148万次观看

+

司马南频道

+
+
+
+
+ +

无论做什么鱼:最忌放盐和料酒研制

+

1万评论

+

148万次观看

+

司马南频道

+
+
+
+
+ +

无论做什么鱼:最忌放盐和料酒研制

+

1万评论

+

148万次观看

+

司马南频道

+
+
+
+ + \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\224.html" "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\224.html" new file mode 100644 index 0000000..a3a317c --- /dev/null +++ "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\344\272\224.html" @@ -0,0 +1,330 @@ + + + + + + Document\ + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+ + + \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\345\233\233.html" "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\345\233\233.html" new file mode 100644 index 0000000..bcda7ee --- /dev/null +++ "b/\350\202\226\347\277\224/\344\275\234\344\270\232/2024-1104-\345\270\203\345\261\200\345\233\233.html" @@ -0,0 +1,161 @@ + + + + + + Document + + + + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1104-\345\223\215\345\272\224\345\274\217\345\270\203\345\261\200.md" "b/\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1104-\345\223\215\345\272\224\345\274\217\345\270\203\345\261\200.md" new file mode 100644 index 0000000..59ba21c --- /dev/null +++ "b/\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1104-\345\223\215\345\272\224\345\274\217\345\270\203\345\261\200.md" @@ -0,0 +1,25 @@ +### 媒体查询 +1. 媒体查询是CSS的一个强大功能,能帮助我们根据不同的设备特性(比如屏幕尺寸)来调整网页的样式。 +### 媒体查询的基本结构 +```css +@media (条件) { + /* 在这里写CSS样式 */ +} +``` +### 常用的媒体特性 + - `width`:屏幕宽度 + - `height`:屏幕高度 + - `max-width`:屏幕最大宽度(小于或等于这个值) + - `min-width`:屏幕最小宽度(大于或等于这个值) + +```css +@media (max-width: 600px) { + body { + background-color: lightblue; + } +} +``` +### 注意事项 + - 媒体查询可以嵌套在CSS文件中,也可以作为单独的CSS文件被链接。 + - 媒体查询是向下兼容的,旧版浏览器会忽略媒体查询。 + - 使用媒体查询可以提高页面加载速度,因为它允许浏览器只加载必要的CSS。 \ No newline at end of file diff --git "a/\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1106-\346\220\255\345\273\272\351\235\231\346\200\201\347\275\221\347\253\231.md" "b/\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1106-\346\220\255\345\273\272\351\235\231\346\200\201\347\275\221\347\253\231.md" new file mode 100644 index 0000000..5ccb28a --- /dev/null +++ "b/\350\202\226\347\277\224/\347\254\224\350\256\260/2024-1106-\346\220\255\345\273\272\351\235\231\346\200\201\347\275\221\347\253\231.md" @@ -0,0 +1,34 @@ +### 服务器 +1. 登录服务器 `-ssh root @hzhf.域名` +2. 登录后做的事情 + + 更新软件源 `-apt update` + + 更新操作系统&打补丁 `-apt upgrate -y` +## 搭建一个静态网站 +1. 安装nginx + `命令:yum install -y nginx` +2. 设置nginx开机启动和现在启动 + `命令:systemctl start nginx` +3. 查看nginx情况 + `命令:systemctl status nginx` +4. 在/var/下创建www文件夹,并在www文件下创建以域名为名称的文件夹 + ``` + mkdir /var/www + cd /var/www + mkdir 域名 + cd 域名 + ``` +5. 在XShell界面,点击绿色的像文件的那个图标,然后再弹出的界面将自己写的html文件上传到/var/www/域名 +6. 在/etc/nginx/conf.d/目录下,创建一个以域名为名称的配置文件 + `vim //etc/nginx/conf.d/hzhf.cn.conf` +7. 在上一步的基础上,按i进入插件模式,输入下面文本,按esc键进入命令模式,按冒号进入底层命令行模式后,输入wq保存退出,修改nginx网站配置后,输入`nginx -t`测试配置文件是否正确,正确返回`success`,不正确按照提示重新修改配置,正确之后执行`systemctl reload nginx`或`nginx -s reload`命令重新加载配置 + ``` + server{ + listen 80; --监听的端口 + server_name 域名; --监听的域名 + location / { + root /var/www/域名; --网站所在路径 + index i.html; --默认的首页文件 + } + } + ``` +8. 最后,在华为云控制台,进入ECS实例列表,然后点击进入实例,在左边栏最下点击安全组,点击列表中一行的配置规则,将80端口和443端口加入允许访问列表,并保存即可 \ No newline at end of file -- Gitee