上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: server{listen 80;server_name localhost;location /test { root html; proxy_read_timeout 3600; index index.html index.html; proxy_set_header Host $host; 阅读全文
posted @ 2021-04-25 17:41 SimpleSmile 阅读(275) 评论(0) 推荐(0)
摘要: 1.编写Dockerfile文件,vi Dockerfile #基本镜像 FROM centos #维护者信息 MAINTAINER zf #该命令将复制指定的 到容器中的 。 其中 可以是Dockerfile所在目录的一个相对路径;也可以是一个 URL;还可以是一个 tar 文件,复制进容器会自动 阅读全文
posted @ 2021-04-02 17:20 SimpleSmile 阅读(1201) 评论(0) 推荐(0)
摘要: 进入到 /usr/lib/systemd/system 目录下,编辑文件 nginx.service 1.cd /usr/lib/systemd/system/ 2.vi nginx.service 3. [Unit] Description=The nginx HTTP and reverse p 阅读全文
posted @ 2021-04-01 18:35 SimpleSmile 阅读(1199) 评论(0) 推荐(0)
摘要: 参考:https://gitee.com/yangzhuoming/navicat-keygen/tree/linux 环境:ubuntu 20 1. sudo apt-get install libcapstone-dev 2. sudo apt-get install cmake 3. git 阅读全文
posted @ 2021-03-02 18:12 SimpleSmile 阅读(2530) 评论(0) 推荐(0)
摘要: http://tools.android-studio.org/index.php/sdk 阅读全文
posted @ 2021-02-23 16:49 SimpleSmile 阅读(156) 评论(0) 推荐(0)
摘要: chown 用户:用户组 ./*(目录) 遇见有的基础用户权限小于root的,可以将文件用户和用户组改为普通用户. 阅读全文
posted @ 2021-02-22 10:10 SimpleSmile 阅读(2174) 评论(0) 推荐(0)
摘要: 1.yum install expect 需要使用这个命令 2.编写 shell脚本 vi test.sh #!/bin/sh echo 'su user[root]!' expect -c " spawn su - root expect \":\" send \"your password\r\ 阅读全文
posted @ 2021-02-05 13:26 SimpleSmile 阅读(1568) 评论(0) 推荐(0)
摘要: 参考文档:https://blog.csdn.net/weixin_36995355/article/details/95754238 一、检查linux linux文件访问默认权限与umask有关,查看系统默认配置(/etc/profile)是否正常,如果是002或022就正常没有问题。 [uma 阅读全文
posted @ 2021-02-03 18:46 SimpleSmile 阅读(1357) 评论(0) 推荐(0)
摘要: 参考文档:http://www.voidcn.com/article/p-kunmmetg-bgw.html DelegatingFilterProxy就是一个对于servlet filter的代理,用这个类的好处主要是通过spring容器来管理servlet filter的生命周期,还有就是如果f 阅读全文
posted @ 2021-02-03 18:03 SimpleSmile 阅读(466) 评论(0) 推荐(0)
摘要: Ext.Ajax.addListener("beforerequest", function(conn, options, eOpts ){ if(options){ var nParam = options.params; if (nParam != undefined) { //将form-da 阅读全文
posted @ 2021-02-01 14:06 SimpleSmile 阅读(453) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页