Linux安装Java环境

Linux安装Java环境

1.下载安装包 cd /data/soft wget https://www.oaroad.com/download/jdk/jdk-8u251-linux-x64.tar.gz tar -xvf jdk-9.0.1_linux-x64_bin.tar.gz mv jdk-9.0.1/ /data/

Linux 
Nginx日志json化

Nginx日志json化

修改nginx配置文件 log_format log_json '{ "@timestamp": "$time_local", ' '"N_remote_addr": "$remote_addr", ' '"N_referer": "$http_referer", ' '"N_request": "

mysql中information_schema.tables字段说明

mysql中information_schema.tables字段说明

字段 含义 Table_catalog

Navicat 连接SSH方式连接mysql报错 sshexpected key exchange group packet

Navicat 连接SSH方式连接mysql报错 sshexpected key exchange group packet

修改ssh配置文件 最后一行新增 vim /etc/ssh/sshd_config KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-h

宝塔Nginx-Fancyindex-Theme样式

宝塔Nginx-Fancyindex-Theme样式

1.备份Nginx文件 cd /www/server/nginx/sbin/ cp nginx nginx.bak 2.下载Nginx fancyindex模块 cd /root/ git clone https://github.com/aperezdc/ngx-fancyindex cp -R