摘要: 问题描述: 在linux下安装并打开了nginx,但输入虚拟机端口无法访问。解决步骤:1,确认nginx是否打开,命令为ps -ef | grep nginx,结果如下图说明启动成功。 2,开启端口,firewall-cmd --zone=public --add-port=80/tcp --per 阅读全文
posted @ 2024-02-28 23:45 艾特-天空之海 阅读(51) 评论(0) 推荐(0) 编辑
摘要: vim 是一种强大的文本编辑器,尤其在服务器端编程和系统管理中非常受欢迎。以下是一些 vim 的常用编辑技巧: 模式切换: Esc:从插入模式(Insert mode)或命令模式(Command mode)返回一般模式(Normal mode)。 i:在当前光标位置前进入插入模式(Insert mo 阅读全文
posted @ 2024-02-22 01:04 艾特-天空之海 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 在Ubuntu中安装Nginx可以通过APT包管理器进行。以下是在Ubuntu中安装Nginx的步骤: 1.更新软件包列表:首先,打开终端并更新您的软件包列表,以确保您安装的是最新的软件包。 sudo apt update 2.安装Nginx:接下来,使用APT包管理器安装Nginx。sudo ap 阅读全文
posted @ 2024-02-21 23:45 艾特-天空之海 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 昨天我链接成功了,今天又重新链接,竟然又失败了,现在做一下记录,以后也可以翻看;(参考链接: https://blog.csdn.net/hwt0101/article/details/112527027#:~:text=%E6%96%B9%E6%B3%95%2F%E6%AD%A5%E9%AA%A4 阅读全文
posted @ 2024-01-12 22:33 艾特-天空之海 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 先添加这两个开发包: 这是配置文件; { "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "name": { "name" 阅读全文
posted @ 2023-07-02 15:23 艾特-天空之海 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 构建容器 docker build -t getting-started . (getting-started:容器名字; .:当前目录; ) 运行容器 docker run -dp 3000:3000 getting-started (-dp 3000:3000 主机到容器之间的端口映射3000到 阅读全文
posted @ 2023-05-02 00:19 艾特-天空之海 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <input type="text" placeholder='Enter your username'></input> 效果如下: 阅读全文
posted @ 2022-09-11 15:04 艾特-天空之海 阅读(106) 评论(0) 推荐(0) 编辑
摘要: $("#fm_jx_payment_d").datagrid('endEdit', rowIndex); 阅读全文
posted @ 2022-07-25 18:14 艾特-天空之海 阅读(42) 评论(0) 推荐(0) 编辑
摘要: $("#dg").datagrid({ ...... , onLoadSuccess:function(data){ for(let i=0;i<data.rows.length;i++){ var rows = data.rows[i]; //禁用datagrid的checkbox $(".dat 阅读全文
posted @ 2022-07-25 11:16 艾特-天空之海 阅读(47) 评论(0) 推荐(0) 编辑
摘要: select Age1 from Student where Name = '张三' create nonclustered index Tw on Student(Name) include(Age1) 创建索引时,可以加上这个 include(Age1) 阅读全文
posted @ 2022-07-23 09:46 艾特-天空之海 阅读(10) 评论(0) 推荐(0) 编辑