基于Debian的Linux发行版

2019-04-29

基于 Debian 的发行版则以其稳定性、安全性和可靠性而备受推崇。每个发行版都有其独特的特点,从适合桌面使用的到专业的渗透测试工具,再到专注于音频和视频制作的系统。MX Linux、Linux Mint、Ubuntu、Linux Mint LMDE、Deepin、AntiX、PureOS、Kali Linux、Parrot OS、Devuan、Knoppix 和 AV Linux。  阅读全文...

Avahi-daemon

2019-04-29

Avahi 是 zeroconf 协议的实现。它可以在没有 DNS 服务的局域网里发现基于 zeroconf 协议的设备和服务。它跟 mDNS 一样。除非你有兼容的设备或使用 zeroconf 协议的服务,否则应该关闭它。我把它关闭。  阅读全文...

strace解决sqlplus登陆缓慢

2019-04-28

strace -T -t -o /tmp/nohost sqlplus / as sysdba  阅读全文...

scrt访问linux,sqlplus查询中文显示乱码

2019-04-28

scrt访问linux时候,默认语言LANG=en_US.UTF-8。oracle查询默认语言NLS_LANG=AMERICAN_CHINA.ZHS16GBK,secureCRT设置默认语言UTF-8,查询结果为乱码。  阅读全文...

Linux配置openvpn客户端

2019-04-25

linux的通过openvpn客户端,可以通过vpn访问内网。  阅读全文...

systemctl实例

2019-04-24

systemctl 经常用到,在centos 7.x和debian 8.x都有此命令。  阅读全文...

python实例

2019-04-24

python print指定宽度。调用shell或系统命令  阅读全文...

sort实例

2019-04-24

1、按第5列排序
cat user.list |sort -t ',' -k 5 > user.txt
2、反向排序
cat a.txt|sort -r
3、ip排序
cat ip.txt |sort -t"." -k1,1n -k2,2n -k3,3n -k4,4n
sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4 ip.txt
14.215.176.8
14.215.176.9
14.215.176.10
14.215.176.11
14.215.176.12  阅读全文...

Windows Update Blocker

2019-04-23

Windows 10 offers less UI control over the updating behavior of the operating system than previous versions of Windows , There is no option to turn off Windows Updates using the Control Panel or Settings app in Windows 10, it checks for updates automatically and install any updates they find,   阅读全文...

openvpn easyrsa3 vars

2019-04-22

# Choices are:
# cn_only - use just a CN value
# org - use the "traditional" Country/Province/City/Org/OU/email/CN format
#set_var EASYRSA_DN "org"  阅读全文...

file命令

2019-04-22

file依赖文件
1、ldd /usr/bin/file
ldd /usr/bin/file
linux-vdso.so.1 => (0x00007ffde79f7000)
libmagic.so.1 => /usr/lib64/libmagic.so.1 (0x0000003fab200000)
libz.so.1 => /lib64/libz.so.1 (0x0000003faae00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003fa9e00000)
/lib64/ld-linux-x86-64.so.2 (0x000055f17918f000)
2、ldd file.exe
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
cygmagic-1.dll => /usr/bin/cygmagic-1.dll (0x3ff9d0000)
cygz.dll => /usr/bin/cygz.dll (0x3ff3d0000)  阅读全文...

appwiz.cpl

2019-04-22

Win+R运行,输入appwiz.cpl,打开添加删除程序。  阅读全文...

str1=${1:-crl.pem}

2019-04-16

#!/bin/sh
CRL=${1:-crl.pem}
openssl crl -text -noout -in "$CRL"  阅读全文...

linux下删除-号开头的文件

2019-04-16

linux删除特殊符号开头的文件  阅读全文...

openvpn吊销客户端证书

2019-04-16

用户证书吊销后,登陆OpenVPN显示VERIFY ERROR: depth=0, error=CRL has expired。 OpenSSL: error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned,TLS_ERROR: BIO read tls_read_plaintext error,TLS Error: TLS object -> incoming plaintext read error,TLS Error: TLS handshake failed,Fatal TLS error (check_tls_errors_co), restarting。  阅读全文...