11 2020 档案

摘要:文件报错“/bin/bash^M: 坏的解释器:没有那个文件或目录” 问题 sed -i 's/\r$//' build.sh 先运行 go-fastdfs 再运行 go-fastdfs-web go-fastdfs 下载https://github.com/sjqzhang/go-fastdfs/ 阅读全文
posted @ 2020-11-23 19:06 walkersss 阅读(1099) 评论(0) 推荐(0) 编辑
摘要:1 建立本地时间服务器cmd regedit 1)启用NTPServer服务,找到如下路径:[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\W32Time\TimeProviders\NtpServer] ,右边找到Enable 设置值为1 2)设 阅读全文
posted @ 2020-11-20 14:18 walkersss 阅读(124) 评论(0) 推荐(0) 编辑
摘要:关闭或启动linux防火墙后,docker启动容器报错问题解决方式 解决办法:重建docker0网络恢复 1、按照进程名杀死docker进程 pkill docker 2、清空防火墙规则-清空nat表的所有链 iptables -t nat -F 3、查看定义规则的详细信息 iptables -L 阅读全文
posted @ 2020-11-09 18:06 walkersss 阅读(1702) 评论(0) 推荐(0) 编辑
摘要:server { listen 443 ssl; server_name www.xxx.com xxx.com; ssl_certificate keys/xxxx_ssl.pem; ssl_certificate_key keys/xxxx_ssl.key; ssl_session_timeou 阅读全文
posted @ 2020-11-09 18:00 walkersss 阅读(808) 评论(0) 推荐(0) 编辑
摘要:1、从容器里面拷文件到宿主机 答:在宿主机里面执行以下命令 docker cp 容器名:要拷贝的文件在容器里面的路径 要拷贝到宿主机的相应路径 示例: 假设容器名为testtomcat,要从容器里面拷贝的文件路为:/usr/local/tomcat/webapps/test/js/test.js, 阅读全文
posted @ 2020-11-06 14:32 walkersss 阅读(860) 评论(0) 推荐(0) 编辑
摘要:[root@server81 conf]# vim nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/er 阅读全文
posted @ 2020-11-06 11:15 walkersss 阅读(7259) 评论(0) 推荐(0) 编辑
摘要:开启远程 SFTP 连接服务: 1、创建用户组 sftpgroupadd sftp 2、创建用户 xinxin02useradd -G sftp -s /sbin/nologin xinxin02 -s 禁止用户ssh登录-G 加入sftp用户组 3、创建密码passwd xinxin02 4、修改 阅读全文
posted @ 2020-11-04 17:43 walkersss 阅读(3693) 评论(0) 推荐(0) 编辑
摘要:1. 安装 python-pip yum install python-pip 如果在安装 python-pip过程出现如下情况: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mir 阅读全文
posted @ 2020-11-02 19:14 walkersss 阅读(6024) 评论(0) 推荐(1) 编辑

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