摘要: 问题分析: 由于系统版本过高 解决方法: 将stime函数替换掉,代码如下: #if __GLIBC_MINOR__ == 31 struct timespec res; res.tv_sec = now_time; clock_settime(CLOCK_REALTIME, &res); #els 阅读全文
posted @ 2023-11-14 16:49 insistYuan 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # lighttpd服务使用Acunetix漏扫 TLS 1.0 enabled Severity Medium Reported by module /Scripts/PerServer/SSL_Audit.script Description The web server supports en 阅读全文
posted @ 2023-06-19 13:44 insistYuan 阅读(673) 评论(0) 推荐(0) 编辑
摘要: # 下载源码 https://mirrors.tuna.tsinghua.edu.cn/gnu/make/make-4.2.1.tar.gz # 编译并安装 tar xzvf make-4.2.1.tar.gz cd make-4.2.1 ./configure --prefix=/home/wan 阅读全文
posted @ 2023-06-15 11:54 insistYuan 阅读(282) 评论(0) 推荐(0) 编辑
摘要: # 首先下载gcc 8.4.0源码: https://mirrors.sjtug.sjtu.edu.cn/gnu/gcc/gcc-8.4.0/gcc-8.4.0.tar.gz # 解压并编译 1. tar xzvf gcc-8.4.0.tar.gz 2. cd gcc-8.4.0 3. contri 阅读全文
posted @ 2023-06-12 16:30 insistYuan 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 在configure.ac前边添加以下内容: # backwards compat with older pkg-config # - pull in AC_DEFUN from pkg.m4 m4_ifndef([PKG_CHECK_VAR], [ # PKG_CHECK_VAR(VARIABLE 阅读全文
posted @ 2022-12-07 16:09 insistYuan 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 一、root用户支持ssh # 修改/etc/ssh/sshd_config配置文件1 #PermitRootLogin prohibit-password 2 PermitRootLogin yes 二、修改用户名密码 # sudo passwd New password: Retype new 阅读全文
posted @ 2022-11-29 17:38 insistYuan 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 具体可以操作红帽的官方文档(英文):https://www.jianshu.com/p/96a2075ad784 使rc.local生效的操作如下: chmod a+x /etc/rc.d/rc.local systemctl enable rc-local 参考:https://www.jians 阅读全文
posted @ 2022-11-14 14:02 insistYuan 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/maomao5945/article/details/79354204 https://www.cnblogs.com/bfhyqy/p/13512241.html https://access.redhat.com/documentation/e 阅读全文
posted @ 2022-11-11 16:08 insistYuan 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.runoob.com/linux/linux-comm-screen.html 阅读全文
posted @ 2022-11-11 14:16 insistYuan 阅读(36) 评论(0) 推荐(0) 编辑
摘要: # timedatectl set-timezone America/Tijuana Failed to set time zone: Access denied 看一下/etc/: # ls /etc -ald drwxr-xr-x 1 named named 4096 9月 30 04:47 / 阅读全文
posted @ 2022-09-16 15:52 insistYuan 阅读(592) 评论(0) 推荐(0) 编辑