00 Category 51 篇文章。51 posts.
分类 · CategoryCategory · 分类
Linux
01 PostsPosts
2023 · 11 · 11
Grafana实现GPFS性能可观测 -- DevMon更新
GPFS集群配置 1\. 安装配置Net-SNMP 1.1 用yum命令安装软件包 1.2 添加GPFS需要的共享库链接 这些文件通常在目录/lib64或者/usr/lib64或者/usr/local/lib64中,以libnetsnmpm
2023 · 10 · 31
搭配Grafana实现SNMP性能数据可观测 -- DevMon更新
前言 能观测硬件设备性能数据的工具或者平台数不胜数,自有一大批优秀的公司和团队趋之若鹜(贬义词?不好意思,词穷了,就想表示一个东西很红。),咱也不讲究,你走你的阳关道,我攒我的Hello World,自娱自乐,就是不闲着。 效果图 整体逻辑
2023 · 10 · 20
格式化Linux行式命令输出
写在最前 说来也奇怪,人人都标榜圆满之后的不破不立,但为人初时想做一些规矩之外的事,却被说成是大逆不道。世人皆言,走过千山万水,再看山不是山,才能悟得非常道。你我都没有剧中所言传承之类的秘法,从一无所知修到一无所知,究竟是返璞归真,还是可怜
2023 · 10 · 20
DevMon - 通用SNMP编排工具
DevMon - Devices Monitor with SNMP SNMP(Simple Network Management Protocol)大家都懂,不再缀述。 Python及其它语言也存在许多非常优秀的三方库,比如等等等(只知道
2023 · 09 · 09
Enabling iPhone Tethering over USB for Gentoo Linux
How To Purpose Configuring iPhone as an AP for Gentoo-installed notebook. Requirements Gentoo Linux 2.1 \>=sys-kernel/ge
2023 · 09 · 03
揭密'find'无匹配,搭配'xargs'却能列出文件的原因
问题描述 单独用查找满足条件的文件或目录时并无匹配,如下: 列出目录下文件以作展示[\[1\]](#fn1) 查找名称包含abc的目录 但是,如果把上面find的结果管道给xargs,再用ls列出 注意:没有匹配的管道给之后居然列出了下的全
2023 · 09 · 01
What Cause SSH Connection be Refused
Summary By default, the value of 'MaxStartups' is 10:30:100, which means if there are 10 ssh requests established and wa
2023 · 08 · 25
零代码配置小米智能接入Apple Home
零代码配置小米智能接入Apple HomeDownload
2023 · 08 · 14
A Simple Tool to Cleanup Duplicate Files for Unix-like Systems
Duplicate Clean A simple tool to delete duplicate files. Table of Content Compatible Platform Usage Example Compatible P
2023 · 07 · 29
Configuring GRUB for Gentoo-based Linux
1\. Necessary Packages sys-boot/grub sys-fs/dosfstools sys-block/parted variable for controlling target platform for Ava
2023 · 07 · 22
Netdata简装手册 -- 未完待续
1\. Netdata介绍 1.1 什么是Netdata Netdata是一款为系统管理员、DevOps工程师及开发者准备的系统性能指标、故障可视化监测工具。 支持大多数Linux发行版,包括Debian系、Redhat系等,以及容器平台(
2023 · 07 · 21
Enabling CCACHE for Building Long-time-compiling Package
1\. What is CCACHE CCACHE helps avoid repeated recompilation for the same C and C++ object files by fetching result from
2023 · 07 · 21
'Cannot open root device' or 'volume group xxx not found' when booting with a Linux Kernel
Problem Or Root Cause SATA/SAS controller driver not loaded. Fixing Procedure Booting with any kind of Linux Live CD Mou
2023 · 06 · 23
Packing Your Own Gentoo Linux into a bootable ISO Image - 1st edition
1\. Installing Necessary Packages schroot squashfs-tools cdrtools syslinux dev-libs/libisoburn About squashfs: A compres
2023 · 05 · 20
Enabling Kernel Dump and Analyzing the File for RHEL-based Linux
The Kdump Procedure The normal kernel booted with option , reseving \\<size> memory for the kdump kernel. These \\<size>
2023 · 01 · 28
Migrate NextCloud, WordPress & V2ray from Debian Linux to Rocky Linux with SELinux Enabled, from Caddy v1 to v2
1\. Pack Data & Configuration 1.1 Create a Directory for Storing Backup Files 1.2 Pack Website Files 1.3 Pack MySQL Data
2022 · 12 · 08
Migrage Root from Physical Disk Partition to LV and Rebuild the Bootloader
1\. Install Tools for Generating Initramfs For genkernel - FILE Adding dolvm as a kernel boot parameter - GRUB\CMDLINE\L
2022 · 12 · 03
Install Docker for Gentoo Linux
Config Kernel Modules Necessary Modules CONFIG\CGROUP\CPUACCT CONFIG\CGROUP\DEVICE CONFIG\CGROUP\FREEZER CONFIG\CGROUP\S
2022 · 11 · 28
用testdisk工具恢复被误删除的文件
注意:误删文件后立即停止对当前卷的读写,可以保证最大程度的数据恢复。 拷备/usr/lpp/mmfs目录至/home, 手动删除文件,准备环境 恢复步骤 新挂载一块硬盘,防止恢复时写盘覆盖数据 大小视/home原规格而定,实测需要原容量的3
2022 · 09 · 02
python文件执行时报错‘No such file or directory’
执行python文件的时候报如下错误: 查看文件首行: 在命令行单独执行无任何报错 遂祭出祖师爷谷歌大神,搜到原文如下: what could cause a script to fail to find python when it ha
2022 · 08 · 19
Aliyun网盘命令行工具简介
AliDisk 用法 修改文件260行邮箱及提示语。 感谢aligo大牛门造出陆虎,咱不过就是那个给陆风改车漆的,不值一提。贴上aligo链接,以表敬意。 * 支持命令&功能 ls - 列出当前目录内容 pwd - 显示当前所在目录 cd
2022 · 08 · 12
Parallel Shell 用例详解
1\. IP子网计算 2\. RHEL自动配置IP地址 3\. 并行终端 4\. GPFS配置及布署 未完待续
2022 · 07 · 23
Parallel Shell for Multiple Hosts
Usage Required RHEL 7.9 Python >= 3.6.8 - paramiko-2.11.0 - bcrypt-3.2.2 - cryptography-36.0.2 - PyNaCl-1.5.0 - six-1.16
2022 · 07 · 01
Script for Creating WLS Domain&Server
filename: wlstoolkit.sh This script is used for creating domain&server for Weblogic USAGE: for example: Options: https:/
2022 · 04 · 03
删除Linux碎文件各方法性能消耗及时间对比
一、环境 Linux 4.19.97-gentoo x86\_64 Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz 4G Memory Lenovo M490 python-3.8.12 200G SSD
2021 · 02 · 17
Setup Time Machine Backup Server for macOS on Gentoo Linux
1\. install necessary packages 2\. config netatalk 3\. config avahi 4\. add user for time machine 5\. start services 6\.
2018 · 02 · 02
Script to Generate Password for Linux
Requirement: The length of the string must be 12 bits The password must contain numbers, lowercase letters, uppercase le
2017 · 09 · 20
Config WPA_SUPPLICANT for Realtek 8188EU on Gentoo Linux
May be you are making some configuration with Realtek 8188EUS wireless adapter on Gentoo Linux, and everything looks wel
2016 · 10 · 31
Configure Sendmail with TLS on Debian Linux
1\. Download source files wget http://download.oracle.com/berkeley-db/db-4.7.25.NC.tar.gz wget ftp://ftp.andrew.cmu.edu/
2016 · 10 · 05
Data Migration Between Two Linux Hosts
flow chart data migration a) preparing the hardware Put the host and the storage specified location; Connect power cable
2016 · 09 · 24
Set up IPSEC VPN Server with IKEv1/IKEv2/L2TP Automatically
#! /bin/bash # # Automatically install and configure several programs needed by # VPN Server. For example, xl2tpd, ppp,
2016 · 04 · 15
Playing Gentoo Linux on a MacBook Pro with MacOS 10.11
I have spent almost one week studying how to install Gentoo Linux on a MacBook Pro with retina display and work well. Af
2016 · 02 · 29
How to Install Gentoo Linux on Macbook Pro (late 2013) With 13-inch Retina Display
First of all, I should say, “although my English is not very good, but I am working on it”. Maybe sometimes somewhere, y
2015 · 10 · 15
MiWiFi刷三方固件后实现宽带多拔(或叫负载均衡)
关于MiWiFi刷三方固件,之前已有所简述。简单来说,刷三方固件,和iPhone越狱有异曲同工之妙。当然,提到越狱,不得不说说盘古团队对iOS9的破解,亲们,今天你越了么?其实话又说回来,越与不越,有时候仅仅是一墙之隔。这堵墙,在你没越过去
2015 · 08 · 16
小米WiFi-Mini刷PandoraBox三方固件并设置PPPoE拔号上网
一直觊觎小米智能路由器离线下载功能,可最近不知道是抽了哪根筋,直接添加种子文件或者拖入都不可行。后来搜到一篇关于在MiWiFi安装Transmission的文章,根据文章提示成功安装该软件,但下载速度却不尽人意。而且据某度说,不论是该软件还
2015 · 07 · 06
Apache/2.2.22 VirtualHost不识别部分域名解决办法
按照“http://beyan.me/?id=104”配好虚拟主机后,刚开始一切正常。后来为了配置邮箱,遂改了“/etc/hosts”和“/etc/hostname”文件,那么问题来了,为“beyan.me”配置的虚拟主机死活认不到,浏览器
2015 · 05 · 14
Debian Linux 7.0 Apache2配置301转发及目录权限
闲来无事,注册了三个域名(kitaluft.com, 0x97.com, jourman.com),可个人博客只有一个,于是在刚开始的时候,都是随意地把三个域名都指向该空间,也没有做任何设置,所以访问某些目录的时候,文件列表都是可见的。后来
2015 · 05 · 13
Debian Linux 7.0 Sendmail/Dovecot邮件目录Maildir设置
偶然中重启了dovecot的服务,然后列表中以往收到的邮件就全没了。然后就是没完没了的搜索,最后定位到邮件存放目录设置上。关于邮件的存储格式,流行的两种分别是mbox和maildir,有关其区别网上文章比比皆是,但对于笔者来说,最重要的一点
2015 · 04 · 29
Debian Linux 7.0 搭建l2tp和pptp VPN服务器
一、环境准备 安装Debian Linux 7.0服务器一台,并有外网配置 二、安装步骤 1、安装IPSec Bash ERR:提示某些库版本太低 ANS:更新系统后重试 2、配置IPSec 将/etc/ipsec.conf修改为以下内容
2015 · 04 · 24
Gentoo Linux编译内核支持hfs/hfs+
一、概述 1.编译内核 2.复制内核 3.重启挂载HFS硬盘 二、详解 1.进入Gentoo Linux内核目录 # cd /usr/src/linux 2.编译内核 # make menuconfig 依次先择File system—>
2015 · 04 · 14
Sendmail 错误日志及解决
一、运行sendmail服务时\\\* ERROR: FEATURE() should be before MAILER() \\\ ERROR: FEATURE() should be before MAILER() \\\ MAILER
2015 · 04 · 13
Debian Linux 7.0配置Apache2虚拟主机
对于有多个域名,但只有一台主机的情况,可以用apache2虚拟主机,解决多域名无法对应问题。对于笔者来说,虚拟主机不仅解决了多域名问题,而且有域名转发功能。通常情况下,若是主机作邮件服务器,在进行域名解析之后,“imap.xxx.com”或
2015 · 04 · 02
Debian Linux 7.0个人邮件服务器搭建指南
1、准备工作 a) 顶级域名(不限注册商),假设为test.com b) 个人电脑一台(用作服务器) c) 带花生壳DDNS功能路由器一台,假设壳域名为:test.vicp.cc 2、域名解析 Type Host Answer TTL Pr
2015 · 02 · 08
z-blog搬家记
一直以来,个人博客用的都是阿里云的VPS,最低配(一核,512M内存,20G硬盘,1M带宽,一个固定IP),一个月下来49.5RMB。起初想,就当充值某讯的超级会员了,虽然没有聊天功能,但毕意页面什么的可以随意设置,一定要注意是随意。可问题
2014 · 08 · 17
Gentoo Linux VMware-workstation 10 MacOs补丁修改
1、下载补丁并压 http://pan.baidu.com/s/1qWrstkg 2、修改Unlocker.cpp /\char const install\_path\[\] = "/usr/lib/vmware/";\/ char co
2014 · 08 · 17
Gentoo Linux Rox-2.10启动错误解决
Gentoo更新到3.12.6内核后,重编译所有包,打开rox-2.10错误: ERROR from /usr/lib64/rox/ROX-Filer/AppRun: I cannot find an executable binary.
2014 · 08 · 11
Install WPS and QQ on Gentoo Linux 2.2
虽说windows能做的事,Linux都能做且能做得更好,但是在文档处理方面,即使有open-office、group-office、libreOffice等类MS-Office软件,在界面与功能方面,却是差强人意。楼主闲来无事,百度之下,
2014 · 06 · 23
Linux下记录shell命令执行过程
前言:且抄且改进。 #!/bin/bash unset ANSWER NAME DIR echo -n "Record or not? \[y/n\]:" read ANSWER while \[\[ $ANSWER != 'y' && $
2014 · 06 · 13
Gentoo Linux电池电量低于7%报警脚本
自娱自乐,旨在记录,以便日后查阅,高手请路过。 cat /proc/acpi/battery/BAT0/info | grep full | cut -c 26-30cat /proc/acpi/battery/BAT0/state | g
2014 · 06 · 11
EFI下使用GRUB2引导Gentoo2.1
1、分区准备 # mkdir /boot/efi 用parted或者gdisk工具,分出标识为EFI且大小为200-500MB,格式为fat32的分区 # parted /dev/sda # mkpart EFI fat32 0mb 500
2014 · 04 · 12
Gentoo Linux openbox配置双显卡(intel-nvidia)
系统版本:Gentoo 2.2 内核:Gentoo-sources 3.10.4 1、配置内核 在/etc/portage/make.conf加入一行 VIDEO\_CARDS="nvidia intel" 内核中只配置intel显卡 De