ITeye博客

maxer025的博客

maxer025 · 共 104 篇文章

linux bakcup

bash# 1. 備份使用者與群組設定(若新機需要相同帳號) tar -czvf /root/backup_users.tar.gz /etc/passwd /etc/shadow /etc/group /etc/gshadow 2. 備份舊系統的所有軟體設定檔 tar -czvf /root/backup_etc.tar.gz /etc/ 3. 備份網頁或應用程式資料(請依實際路徑調整,例如 /var/www 或 /opt) tar -czvf /root/backup_data.tar.gz /var/www/ 4. 備份資料庫(以 MySQL/MariaDB 為例) mysqldump…

2026-08-10 16:12 · linux backup · 评论(0)

setup an AI agent

you can absolutely setup an AI agent tailored specifically for a Test Support Engineer to automate log analysis and error extraction. Test Support Engineers typically spend hours digging through messy terminal outputs, tracking down stack traces, and hunting for system anomalies. An AI agent can tr…

2026-08-05 15:49 · setup an AI agent · 评论(0)

centos7 ip lose

When a CentOS system loses its IP address after a reboot, it is usually because the network interface was not configured to start automatically or the NetworkManager service is down Enable "Start on Boot" (Most Common)By default, CentOS network interfaces are often set to not start automatically af…

2026-08-03 10:00 · centos7 ip lose · 评论(0)

linux freebsd centos 几个常用网站

https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.4/ https://vault.centos.org/ https://mirrors.xtom.com/centos/ https://mirrors.xtom.com/ubuntu-releases/ https://mirrors.xtom.com/rocky/ https://mirrors.xtom.com/debian/

2026-07-28 15:25 · linux freebsd centos 几个常用网站 · 评论(0)

deploy php http server

If you want to deploy a PHP website using Apache HTTP Server, here's a straightforward setup guide. Install Apache Ubuntu/Debian sudo apt update sudo apt install apache2 CentOS/RHEL sudo dnf install httpd sudo systemctl enable --now httpd Verify Apache is running: sudo systemctl status apache2 # Ub…

2026-07-26 21:52 · 评论(0)

gradle issue

C:\2026\temp\SGO\sgo>gradlew build war Downloading https://services.gradle.org/distributions/gradle-2.9-all.zip Exception in thread "main" javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification p…

2026-06-30 15:11 · gradle · 评论(0)

win7瘦身

1.Dism++(Dism++是初雨论坛www.chuyu.me的作品 2.Windows7瘦身秘书 3.WinSxS进行精简,打开Windows7全自动个性化减肥工具,输入5,系统会自动获取文件权限然后精简不必要的WinSxS中的文件,还有一些无用的驱动等。

2022-10-10 19:29 · win7 瘦身 · 评论(0)

Apache log4j2 远程命令执行漏洞复现及修复方案

附:从jar包中删除class文件的方法: 注意: 如果容器化部署,容器实例重启后操作会复原,需要重新操作。 实际执行需要关注文件属主和权限等安全属性。 1. 非SpringBoot的jar包,直接删除log4j-core-*.jar中class文件 zip -q -d */WEB-INF/lib/log4j-core-2.0.1.jar org/apache/logging/log4j/core/lookup/JndiLookup.class ; 2. SpringBoot的jar包,需要解压出log4j-core .jar,删除class文件后重新打包 * 2.1 使用zip和unzip…

2022-02-23 13:26 · Apache log4j2 远程命令执行漏洞复现及修复方案 · 评论(0)

thymeleaf

Thymeleaf 分页功能 https://www.iteye.com/blog/gjp014-2387037 Thymeleaf select 使用 和多select 级联选择 https://www.iteye.com/blog/gjp014-2395655

2021-09-29 10:30 · thymeleaf 分页 级联 · 评论(0)

从页面获取form表单提交的数据

从页面获取form表单提交的数据 https://www.cnblogs.com/jnhs/p/10043429.html 使用ajax来发送请求提交表单 https://www.cnblogs.com/kunmomo/p/11187577.html

2021-09-18 14:52 · 从页面获取form表单提交的数据 · 评论(0)

XINETD TCP echo service

https://goyalankit.com/blog/xinetd XINETD - Extended Internet Daemon April 16, 2017 I was recently looking into ways to provide ssh access inside linux network namespaces and came across xinetd. So I decided to dig more into it. Noting it down here so that I can refer it back. XINETD It’s basically…

2021-03-09 11:07 · XINETD TCP echo service · 评论(0)

compare file content

grep -Fxvf /usr/cp/Log/alarms/prvAlarms.log /usr/cp/Log/alarms/curAlarms.log > /usr/cp/Log/alarms/difAlarms.log

2020-11-04 16:25 · compare file content · 评论(0)

wmi

Install the wmi client in Linux, follow these steps Download wmi from www.atomicorp.com wget http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm Install wmi using yum: yum install wmi-1.3.14-4.el7.art.x86_64.rpm Usage: wmic -U user%password //host “query”

2020-08-21 16:35 · install wmi in linux · 评论(0)

snmp trap

eps 1.snmptrapd /etc/rc.local auto restart added & in the end snmptrapd -c c:/etc/snmp/snmptrapd.conf -d -f -Lo ps -ef|grep snmptrapd https://blog.csdn.net/yanhang1589/article/details/7292354 linux install net snmp https://blog.csdn.net/jiangeeq/article/details/70144092 https://blog.csdn.net/u01041…

2020-06-21 22:10 · net snmp trap · 评论(0)

Linux下安装net-snmp

Linux下root权限安装net-snmp5.7.3 1.#tar zxvf net-snmp-5.7.3.tar.gz //解压 2.#cd net-snmp-5.7.3 3.#./configure --prefix=/usr/local/snmp //配置 配置中会出现这样的提示: default version of-snmp-version: 2 Systemcontact information(配置设备的联系人):jackhe System location(设备的位置):Shenzhen 下面两个默认就行 Location to write logfile(日志文件位置):…

2020-06-21 21:22 · net snmp linux · 评论(0)