linux
qq_27878777
这个作者很懒,什么都没留下…
展开
-
docker 容器内计划任务没有执行,时区不一致问题
centos 时区, 计划任务不执行原创 2022-06-22 11:26:31 · 283 阅读 · 0 评论 -
将centos上现有的项目添加到git版本库
一. linux服务器现有项目添加到版本库前提服务器搭建好gitcd /www/wwwroot/h5.test.com git init ls -al项目里会出现仓库drwxr-xr-x 7 root root 4096 May 30 18:23 .git git add .git commit -m "first commit"推送到服务端git push origin master到了这一步会报错remote: error:remote: error: You转载 2022-05-30 22:14:02 · 125 阅读 · 0 评论 -
nginx省略 index.php
一. nginx省略 index.php# 省略 index.php location /{ if (!-e $request_filename){ rewrite ^/(.*)$ /index.php?s=$1 last; break; }}原创 2022-05-07 23:04:48 · 1193 阅读 · 0 评论 -
搭建git 仓库自动部署
一. 新建用户 phpercd /home/phper/.sshvim authorized_keys二.将客户端用户公钥 C:\Users\用户.ssh里的 id_local_rsa.pub 复制到上一步 authorized_keys里面三.打开RSA认证打开一下三项配置前的注释,若没有则在最后添加RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_key转载 2022-05-06 14:43:49 · 769 阅读 · 0 评论 -
centos 8.5 安装宝塔 一些错误问题 Errors during downloading metadata for repository ‘appstream‘:
Errors during downloading metadata for repository 'appstream': - Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 100.100.2.148)Error: Failed to download metadata for repo 'appstream': Cannot d原创 2022-03-21 11:38:03 · 1584 阅读 · 0 评论