摘要: 查看防火墙状态 systemctl status firewalld.service 开启防火墙 systemctl start firewalld.service 防火墙开机启动 systemctl enable firewalld.service关闭防火墙开机启动systemctl disabl 阅读全文
posted @ 2023-08-29 17:29 梧桐潇雨 阅读(44) 评论(0) 推荐(0)
摘要: from ctypes import CDLL, RTLD_GLOBAL from ..anke import currentOS class LoadSo: def __init__(self, soPath, args): if currentOS != 'darwin': for arg in 阅读全文
posted @ 2023-08-29 13:41 梧桐潇雨 阅读(284) 评论(0) 推荐(0)
摘要: def SDF_GetDeviceInfo(self) -> dict: # 获取设备信息 class DEVICEINFO(Structure): _fields_ = [('IssuerName', c_char*40), ('DeviceName', c_char*16), ('DeviceS 阅读全文
posted @ 2023-08-29 13:31 梧桐潇雨 阅读(41) 评论(0) 推荐(0)
摘要: 1、打包配置文件 HuiMergeDemo_x64.spec # -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['HuiMergeDemo.py', 'D:\\HuiMerge\\__init__.py' 阅读全文
posted @ 2023-08-29 11:21 梧桐潇雨 阅读(13) 评论(0) 推荐(0)
摘要: ssh-keygen -R $serverIP 阅读全文
posted @ 2023-08-18 13:27 梧桐潇雨 阅读(12) 评论(0) 推荐(0)
摘要: mvn install:install-file -Dfile=./jtest-1.0.0-SNAPSHOT.jar -DgroupId=jtest -DartifactId=jtest -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar 阅读全文
posted @ 2023-08-17 17:52 梧桐潇雨 阅读(19) 评论(0) 推荐(0)
摘要: ssh-keygen -R hostname 阅读全文
posted @ 2023-04-23 18:13 梧桐潇雨 阅读(16) 评论(0) 推荐(0)
摘要: 1、编译动态库 gcc -shared -o libtest.so test.c gcc -shared -o libtest.dll test.c 2、编译包含第三方库的可执行程序 gcc -c test.c //生成test.ogcc main.c -static -L. test.o 阅读全文
posted @ 2023-04-07 17:54 梧桐潇雨 阅读(39) 评论(0) 推荐(0)
摘要: 1、普通用户修改 vi /etc/security/limits.d/20-nproc.conf 1、root用户修改 vi /etc/security/limits.conf 追加 * soft nproc 131072 * hard nproc 131072 或按照1中修改 阅读全文
posted @ 2023-03-24 17:19 梧桐潇雨 阅读(79) 评论(0) 推荐(0)
摘要: 账户锁定 alter user username account unlock; 密码过期 1、查看用户的profile文件 SQL> SELECT USERNAME,LOCK_DATE,EXPIRY_DATE,ACCOUNT_STATUS,PROFILE FROM DBA_USERS; USERN 阅读全文
posted @ 2023-03-17 15:05 梧桐潇雨 阅读(190) 评论(0) 推荐(0)