Linux
  • Iptables 四表五链

    4表 raw>mangle>nat>filter filter表: 负责过滤功能,防火墙;内核模块:iptables_filter nat表: network address translation,网络地……

    Akiraka 2020-02-09
    0 0
  • wkhtmltopdf 安装 html 转 pdf

    安装 dpkg -i 包 使用方式 # 新建测试文件 vim test.html # 设置头部 <meta http-equiv="content-type" content="text/html;charset=ut……

    Akiraka 2020-02-09
    0 0
  • nextcloud.conf 重写规则

    #(可选)添加如下header主要为了安全 add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Rob……

    Akiraka 2020-02-09
    0 0
  • nginx 常用命令

    Centos 7 常用命令 # 启动服务 systemctl start nginx # 停止服务 systemctl stop nginx # 重启服务 systemctl restart nginx # 添加开机启动 systemc……

    Akiraka 2020-02-09
    0 0
  • Docker Nginx反向代理支持websocket

    upstream rancher { server rancher:80; server rancher:443; } server { listen 80; listen 443 ssl http2; ssl_certificate /usr/local/nginx/con……

    Akiraka 2020-02-09
    0 0
  • Nginx 普通配置

    server { listen 80; server_name zabbix.ekzc.com; access_log /data/wwwlogs/zabbix.akiraka.com_nginx.log combined; index index.html index.htm ……

    Akiraka 2020-02-09
    0 0
  • Docker nginx和php分离配置

    server { listen 80; server_name test.akiraka.net; index index.html index.htm index.php; root $webroot; set $webroot '/data/wwwroot/te……

    Akiraka 2020-02-09
    0 0
  • Nginx 反向代理配置

    配置文件如下 server { listen 80; server_name 域名; location / { # 这里填写需要代理的域名或IP与端口 proxy_pass http://127.0.0.1:880……

    Akiraka 2020-02-09
    0 0
  • sqlite3数据库

    macos系统缺少sqlite3数据库 brew install sqlite3 export LDFLAGS="-L/usr/local/opt/sqlite/lib" export CPPFLAGS="-I/usr/local/opt/sqlite……

    Akiraka 2020-02-09
    0 0
  • Linux 下删除乱码文件、目录

    由于编码原因,在linux服务器上上传、创建中文文件或目录时,会产生乱码,如果想删除它,发现用rm命令是删除不了的 这种情况下,用find命令可以删除乱码的文件……

    Akiraka 2020-02-09
    0 0