文章分类 -  Llinux

摘要:关闭Selinux: 查看当前的防火墙状态 firewall-cmd --state 临时关闭防火墙 systemctl stop firewalld 永久关闭防火墙并禁止其自动启动 systemctl disable firewalld setenforce 0 vim /etc/selinux/ 阅读全文
posted @ 2024-02-29 16:19 Awakenedy 阅读(83) 评论(0) 推荐(0) 编辑
摘要:打开SSH配置文件/etc/ssh/sshd_config并编辑该文件 vi /etc/ssh/sshd_config查找并修改以下两行内容(如果不存在则添加): PermitRootLogin yes PasswordAuthentication yes注:将PermitRootLogin设为"y 阅读全文
posted @ 2024-02-22 16:57 Awakenedy 阅读(4160) 评论(0) 推荐(0) 编辑
摘要:1. 添加epel源 yum install wget wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm yum r 阅读全文
posted @ 2024-01-29 10:28 Awakenedy 阅读(10) 评论(0) 推荐(0) 编辑
摘要:安装CUPSapt-get install cups依次运行以下代码systemctl start cupssystemctl enable cups浏览器输入127.0.0.1:631/,进入CUPS界面,如图: 点击Adding Printers And Classees,进入以下界面 进入后是 阅读全文
posted @ 2023-11-16 20:59 Awakenedy 阅读(193) 评论(0) 推荐(0) 编辑
摘要:转:https://blog.csdn.net/dmgy110/article/details/132625791 什么是nftables?nftables是一个用于管理Linux内核网络堆栈的工具,它的强大之处在于其清晰而强大的配置语言,以及对多种网络协议的全面支持。与之前的iptables相比, 阅读全文
posted @ 2023-11-03 23:18 Awakenedy 阅读(906) 评论(0) 推荐(1) 编辑
摘要:kali 安装 apt install clamav 更新病毒库 freshclam 更新过和出现如下错误 经过度娘后,网上找到解决方法 删日志文件 rm -f /var/log/clamav/freshclam.log 停服务 systemctl stop clamav-freshclam 在更新 阅读全文
posted @ 2023-10-27 22:37 Awakenedy 阅读(92) 评论(0) 推荐(0) 编辑
摘要:转:https://www.cnblogs.com/os-linux/p/16248501.html 问题:管理员账号频繁错误登陆被锁定,需要解锁账号。前提:需要后台登陆jumpserver所在机器。执行以下命令:[root@localhost jumpserver-v2.20.2]# docker 阅读全文
posted @ 2023-10-07 08:44 Awakenedy 阅读(554) 评论(1) 推荐(1) 编辑
摘要:转置:https://blog.csdn.net/qq_38327600/article/details/123860754 问题: 执行 yum install -y xxxxx 出现如下错误的错误:为 repo 'appstream' 下载元数据失败 原因在2022年1月31日,CentOS团队 阅读全文
posted @ 2023-06-28 10:38 Awakenedy 阅读(983) 评论(0) 推荐(0) 编辑
摘要:转载 https://www.cnblogs.com/orzs/p/10844869.html 在用apt-get安装软件包的时候遇到E: Sub-process /usr/bin/dpkg returned an error code (1)问题,解决方法如下: cd /var/lib/dpkg/ 阅读全文
posted @ 2023-05-07 19:57 Awakenedy 阅读(33) 评论(0) 推荐(0) 编辑
摘要:安装 关闭防火墙和selinux 关闭防火墙和selinux systemctl disable firewalld.service systemctl stop firewalld.service sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sel 阅读全文
posted @ 2022-11-07 11:28 Awakenedy 阅读(1696) 评论(0) 推荐(0) 编辑
摘要:vi /etc/NetworkManager/system-connections/ens33.nmconnection [connection] id=ens33 uuid=9b563994-8c93-3dc7-8dc4-762a48817aa3 type=ethernet autoconnect 阅读全文
posted @ 2022-10-10 13:39 Awakenedy 阅读(1527) 评论(0) 推荐(0) 编辑
摘要:1.sudo vim /etc/sudoers2.注释掉 # sudo all=(all:all) all3.添加内容 sudo ALL=NOPASSWD:ALL 阅读全文
posted @ 2022-03-28 22:04 Awakenedy 阅读(1485) 评论(0) 推荐(0) 编辑
摘要:转置:https://www.cnblogs.com/xingxia/p/linux_curl.html curl 是常用的命令行工具,用来请求 Web 服务器。它的名字就是客户端(client)的 URL 工具的意思。 它的功能非常强大,命令行参数多达几十种。如果熟练的话,完全可以取代 Postm 阅读全文
posted @ 2022-03-13 16:33 Awakenedy 阅读(185) 评论(0) 推荐(0) 编辑
摘要:File “/usr/lib/python3/dist-packages/aptdaemon/client.py”, line 1570 async = reply_handler and error_handler: ^ SyntaxError: invalid syntax dpkg: 处理软件 阅读全文
posted @ 2021-10-13 22:39 Awakenedy 阅读(301) 评论(0) 推荐(0) 编辑
摘要:安装clamav 之前还需要安装zlib 要不然安装过程中会报错的. tar -zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3 ./configure make make install (zlib 编译安装) 因为我用源码包安装,需要手动创建clamav 用户 group 阅读全文
posted @ 2020-11-26 15:56 Awakenedy 阅读(957) 评论(0) 推荐(0) 编辑
摘要:转置:https://www.cnblogs.com/ay-a/p/11828607.html centos8已经发布了,下载了一个体验一下,新安装好的centos8默认网卡是没有启动的,安装好后需要先配置网络。在/etc/sysconfig/network-scripts目录下存放着网卡的配置文件 阅读全文
posted @ 2020-10-13 16:17 Awakenedy 阅读(74) 评论(0) 推荐(0) 编辑
摘要:出现:error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore t 阅读全文
posted @ 2020-09-24 17:20 Awakenedy 阅读(885) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示