10 2023 档案

摘要:重启windows服务器后,发现apache无法启动,报错显示80端口被占用。 1. 在powershell中使用管理员权限运行如下代码 netstat -ano | findstr 0.0.0.0:80发现占用80端口的竟然是pid为4的系统任务 2. 暴力解决方法,关闭windows系统中的ht 阅读全文
posted @ 2023-10-30 15:40 stone9693 阅读(178) 评论(0) 推荐(0) 编辑
摘要:1. 下载git bash 参考链接:https://git-scm.com/download 2. 创建git的秘钥 git config --global user.name "githubname"git config --global user.email "githubemail" ssh 阅读全文
posted @ 2023-10-10 17:37 stone9693 阅读(51) 评论(0) 推荐(0) 编辑
摘要:1. 搭建OpenVPN运行环境 # 注意替换成自己的“vpn地址”docker run -v data-openvpn:/etc/openvpn --rm kylemanna/openvpn ovpn_genconfig -u udp://你的vpn地址docker run -v data-ope 阅读全文
posted @ 2023-10-10 17:14 stone9693 阅读(888) 评论(0) 推荐(0) 编辑
摘要:1. 宿主机上安装htpasswd pip install -i https://pypi.tuna.tsinghua.edu.cn/simple htpasswd 2. 使用htpasswd生成账户和密码 htpasswd -sc htpasswd.txt testuser 3. 拉取pypise 阅读全文
posted @ 2023-10-10 16:55 stone9693 阅读(306) 评论(0) 推荐(0) 编辑
摘要:1. 关闭防火墙、selinux 1.1. 关闭防火墙 systemctl stop firewalldsystemctl disable firewalld 1.2. 禁用selinux 1.2.1 关闭 setenforce 0 1.2.2 禁用 vim /etc/sysconfig/selin 阅读全文
posted @ 2023-10-10 14:30 stone9693 阅读(57) 评论(0) 推荐(0) 编辑

GitHub账户:https://github.com/stone9693
点击右上角即可分享
微信分享提示