上一页 1 2 3 4 5 6 7 8 ··· 31 下一页
摘要: gitlab安装以及使用 1.卸载gitlab#先停止服务sudo gitlab-ctl stop#卸载gitlabsudo yum remove gitlab-ce -y#删除所有文件sudo rm -rf /etc/gitlabsudo rm -rf /var/opt/gitlabsudo rm 阅读全文
posted @ 2023-11-01 15:49 3ξ 阅读(80) 评论(0) 推荐(0)
摘要: 1.多少秒以后关机 shutdown -s -t 3000 2.定时在几点几分执行 1. **使用 `schtasks` 命令**: 这个命令更为灵活,但也稍微复杂一点。例如,要在今天的10点30分关机,可以使用: ``` schtasks /create /tn "ShutdownTask" /t 阅读全文
posted @ 2023-10-24 11:15 3ξ 阅读(89) 评论(0) 推荐(0)
摘要: 1.sudo vim /etc/systemd/system/django_ops.service 2.填入以下内容 [Unit] Description=My Custom Service After=network.target [Service] ExecStart=/data/soft/dj 阅读全文
posted @ 2023-08-29 12:20 3ξ 阅读(23) 评论(0) 推荐(0)
摘要: 起因: 我发现这个C盘快要爆炸了 C:\Users\Administrator\AppData\Local\Docker\wsl\data\ext4.vhdx(此目录是默认指向,都快100G了) 解决步骤: wsl --shutdown wsl --export docker-desktop-dat 阅读全文
posted @ 2023-08-28 17:19 3ξ 阅读(256) 评论(0) 推荐(0)
摘要: 如何搞gitrunner1.安装curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bashsudo yum install gitlab-runner2 阅读全文
posted @ 2023-08-11 14:30 3ξ 阅读(82) 评论(0) 推荐(0)
摘要: nginx相关日志文件 ./log/access.log ./log/error.lognginx命令: nginx -s reload # 重新加载配置 nginx -s stop # 直接杀死停止 nginx -s quit # 友好关闭 start nginx # 启动nginx nginx 阅读全文
posted @ 2023-08-08 14:43 3ξ 阅读(31) 评论(0) 推荐(0)
摘要: # 查找salt-minion之grains 首先配置为默认的:查看配置文件:/et/salt/minion文件中,参数default_include,默认为minion.d/*.conf /etc/salt/minion.d/1.confgrains: wusen: name: 无敌战神 sudo 阅读全文
posted @ 2023-07-22 11:21 3ξ 阅读(27) 评论(0) 推荐(0)
摘要: 查看证书有效期1.查看jks格式的证书(tomcat)keytool -list -v -keystore xxxxx.jks2.查看.pem格式的证书 (Nginx)openssl x509 -noout -startdate -enddate -in xxxxxx.pem 3.查看.crt格式的 阅读全文
posted @ 2023-06-30 10:57 3ξ 阅读(1876) 评论(0) 推荐(0)
摘要: jks转化为pfx (在linux上转换,因为游戏真正运行的java环境存在小版本号,所以在哪用就去哪里转换) 、 1.首先电脑安装jdk,保证java环境2.执行以下命令jks转化为pfxkeytool -importkeystore -srckeystore C:\Users\Administr 阅读全文
posted @ 2023-06-28 10:34 3ξ 阅读(121) 评论(0) 推荐(0)
摘要: 整理salt的state模块 1.salt '{minion_id}' state.highstate # 启用高级状态,去topfile里面读取(只是去通知主机干什么,而至于执行或不执行,执行什么,由topfile决定。 2.然后查看top.sls文件(/srv/salt/base/top.sls 阅读全文
posted @ 2023-06-26 14:34 3ξ 阅读(21) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 31 下一页