diff --git "a/\351\237\251\345\276\267\347\276\216/\344\275\234\344\270\232/desktop.ini" "b/\351\237\251\345\276\267\347\276\216/\344\275\234\344\270\232/desktop.ini" new file mode 100644 index 0000000000000000000000000000000000000000..abe2e34d05a6d4a5dbca687d2c54a78185d01b1a --- /dev/null +++ "b/\351\237\251\345\276\267\347\276\216/\344\275\234\344\270\232/desktop.ini" @@ -0,0 +1,2 @@ +[LocalizedFileNames] +Ļͼ 2024-11-15 222948.png=@Ļͼ 2024-11-15 222948.png,0 diff --git "a/\351\237\251\345\276\267\347\276\216/\344\275\234\344\270\232/\345\261\217\345\271\225\346\210\252\345\233\276 2024-11-14\344\275\234\344\270\232.png" "b/\351\237\251\345\276\267\347\276\216/\344\275\234\344\270\232/\345\261\217\345\271\225\346\210\252\345\233\276 2024-11-14\344\275\234\344\270\232.png" new file mode 100644 index 0000000000000000000000000000000000000000..c5fc2a4e2440ff6b31e70eea72046d3739585d19 Binary files /dev/null and "b/\351\237\251\345\276\267\347\276\216/\344\275\234\344\270\232/\345\261\217\345\271\225\346\210\252\345\233\276 2024-11-14\344\275\234\344\270\232.png" differ diff --git "a/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241112\350\257\276\345\240\202\347\254\224\350\256\260.md" "b/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241112\350\257\276\345\240\202\347\254\224\350\256\260.md" new file mode 100644 index 0000000000000000000000000000000000000000..037c6371a93e18957ba2eca92086b191ef7ed4dc --- /dev/null +++ "b/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241112\350\257\276\345\240\202\347\254\224\350\256\260.md" @@ -0,0 +1,25 @@ +# 网站搭建 +1. ping 域名 +2. ssh root@域名 输入密码 +3. apt update +4. apt upgrade-y +5. syestemctl status nginx +6. apt install nginx -y(安装) +7. mkdir /var/www +8. cd /var/www +9. mkdir 域名 +10. cd 域名 +11. vim index.html +12 .cat index.html +13. cd /etc/nginxx/conf.d/ +14. vim 域名.conf +15. server{ + listen 80; #监听的端口 + server_name 9ihub.com; #监听的域名 + location / { + root /var/www/9ihub.com ;#网站所在路径 + index index.html; #默认的首页文件 + } +} +16. nginx -t +17. nginx -s reload diff --git "a/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241114\350\257\276\345\240\202\347\254\224\350\256\260.md" "b/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241114\350\257\276\345\240\202\347\254\224\350\256\260.md" new file mode 100644 index 0000000000000000000000000000000000000000..bcd46da0f260fd6786b5fc8cf5067454d91f0e53 --- /dev/null +++ "b/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241114\350\257\276\345\240\202\347\254\224\350\256\260.md" @@ -0,0 +1,7 @@ +# 搭建MVC项目 +1. dotnet new mvc -o 文件名 +2. dotnet run -project .\文件名\ +3. dotnet watch +4. dotnet build +5. 解决方案:dotnet new sln -o .\文件名\ +6. \ No newline at end of file diff --git "a/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241115\347\254\224\350\256\260.md" "b/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241115\347\254\224\350\256\260.md" new file mode 100644 index 0000000000000000000000000000000000000000..bcd46da0f260fd6786b5fc8cf5067454d91f0e53 --- /dev/null +++ "b/\351\237\251\345\276\267\347\276\216/\347\254\224\350\256\260/20241115\347\254\224\350\256\260.md" @@ -0,0 +1,7 @@ +# 搭建MVC项目 +1. dotnet new mvc -o 文件名 +2. dotnet run -project .\文件名\ +3. dotnet watch +4. dotnet build +5. 解决方案:dotnet new sln -o .\文件名\ +6. \ No newline at end of file