随笔分类 -  linux

摘要:## war位置 /usr/local/tomcat8_1/webapps/ ## tomcat位置 71.170 /usr/local/tomcat8_1/ ## 给了点工具包 位置 /usr/local/tool/ ![](https://img2023.cnblogs.com/blog/267 阅读全文
posted @ 2023-09-01 15:13 彭成刚 阅读(14) 评论(0) 推荐(0) 编辑
摘要:为什么 装了win11 后 装了ubuntu 后 ,就得安装 tmux 安装 在Ubuntu和Debian上安装Tmux sudo apt install tmux 美化 $ cd ~/ $ git clone https://github.com/gpakosz/.tmux.git $ ln -s 阅读全文
posted @ 2022-10-09 09:08 彭成刚 阅读(65) 评论(0) 推荐(0) 编辑
摘要:Nginx配置https 之 找不到 ./configure 需求 要配置个https 问题 找不到文件在哪里 教程很简单,发现就是找不到 ./configure 这个文件 这个文件是 安装包的文件,就是当初传到centos里面的目录。 经过一通找,终于找到了 /nginx/nginx-1.18.0 阅读全文
posted @ 2022-08-03 13:38 彭成刚 阅读(2436) 评论(0) 推荐(0) 编辑
摘要:gitee 流水线 定时触发 不能用,不能白嫖了 白研究半天了,只好回去拿centos服务器 搞定时任务了 阅读全文
posted @ 2022-07-27 11:53 彭成刚 阅读(189) 评论(0) 推荐(0) 编辑
摘要:想法 看见一个别的项目,每天扒bing的背景,然后 生成个列表,然后数据就一天天的增加,创意非常好 有时间研究下 关键字 centos 定时任务 基于centos7系统定时任务创建 https://blog.csdn.net/u014415344/article/details/125190134 阅读全文
posted @ 2022-07-26 17:30 彭成刚 阅读(22) 评论(0) 推荐(0) 编辑
摘要:centos 添加 公钥,root不用输入密码 ssh-keygen -t rsa -C "yourEmail" 一通回车后,生成 C:\Users\Reciter/.ssh/id_rsa.pub 公钥 id_rsa.pub 私钥 id_rsa 将公钥 上传到centos 服务器上 /root/.s 阅读全文
posted @ 2022-07-26 11:53 彭成刚 阅读(340) 评论(0) 推荐(0) 编辑
摘要:每次发布后端nest 直接执行一个脚本即可 给脚本赋值权限 chomd 777 nest.sh nest.sh 脚本 #!/bin/bash cd /root/gateway-study git pull npm run build pm2 delete nest pm2 start node -- 阅读全文
posted @ 2022-07-26 11:07 彭成刚 阅读(26) 评论(0) 推荐(0) 编辑
摘要:typeorm-model-generator 数据库映射Model 命令 NestJs中的控制器、路由、Get、Post方法参数装饰器 https://blog.csdn.net/urwddd/article/details/123793537 Nest.js 从零到壹系列(二):使用 Seque 阅读全文
posted @ 2022-07-19 10:34 彭成刚 阅读(447) 评论(0) 推荐(0) 编辑
摘要:20220720 常用命令 pm2 list pm2 delete all 启动前端 cd /root/website && pm2 start http-server 启动后端 cd /root/gateway-study && pm2 start dist/src/main.js nginx r 阅读全文
posted @ 2022-07-15 14:57 彭成刚 阅读(27) 评论(0) 推荐(0) 编辑
摘要:nohup http-server -p 80 & nohup完要 exit 退出,不能直接关! nohup完要 exit 退出,不能直接关! nohup完要 exit 退出,不能直接关! 重要的事情说三遍 ln之前可以用find找命令位置 find / -name pm2 【服务器】CentOS安 阅读全文
posted @ 2022-07-14 16:26 彭成刚 阅读(219) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示