06 2020 档案

摘要:autoreconf: autoreconf -ifv --install copy missing auxiliary files --force consider all files obsolete tarball中一般会有boostrap.sh或autogen.sh,其会调用autoreco 阅读全文
posted @ 2020-06-27 16:51 ascertain 阅读(186) 评论(0) 推荐(0) 编辑
摘要:grub2可自定义加密,也可用grub2-setpassword(grub2自带)来加密 grub2-setpassword: 运行grub2-setpassword后,在/boot/grub2/下生成user.cfg文件,此文件定义了一个变量GRUB2_PASSWORD,此变量后面会被引用 /bo 阅读全文
posted @ 2020-06-27 16:27 ascertain 阅读(668) 评论(0) 推荐(0) 编辑
摘要:curl --noproxy '*' jd.com 所有要访问的url不使用代理,curl后可跟多个url, * 必须单引号或双引号包围,作为一个字符串传递给curl,否则shell会将其解析为当前目录下的所有文件名第一个作为noproxy的参数了. curl --location --head - 阅读全文
posted @ 2020-06-25 13:46 ascertain 阅读(176) 评论(0) 推荐(0) 编辑
摘要:kubectl describe node pend2 kubectl cluster-info kubectl api-resources kubectl run nginx-deploy --image=nginx:1.14-alpine --port=80 kubectl expose pod 阅读全文
posted @ 2020-06-25 05:17 ascertain 阅读(129) 评论(0) 推荐(0) 编辑
摘要:?最后执行命令或脚本的出口状态 $当前进程id,脚本中反应脚本的PID _初始为shell或脚本的路径,而后变成最近执行命令的选项或参数 !最后一个运行的后台进程PID PPID父进程PID OLDPWD PWD RANDOM[0-32767] 间的随机数 SECONDS运行的累计时间 LOGNAM 阅读全文
posted @ 2020-06-25 03:06 ascertain 阅读(91) 评论(0) 推荐(0) 编辑
摘要:[Unit] Description=Docker Application Container Engine Documentation=URL After=network-online.target firewalld.service containerd.service Wants=networ 阅读全文
posted @ 2020-06-24 19:38 ascertain 阅读(246) 评论(0) 推荐(0) 编辑
摘要:selinux开启后,挂载OPTIONS会出现seclabel,此时创建的文件或目录均会被打标 ,权限最后有 . 标记,但是设置acl后会被+号覆盖 sed -ri '/^SELINUX=/ c \SELINUX=disabled' /etc/selinux/config;reboot关闭selin 阅读全文
posted @ 2020-06-24 14:27 ascertain 阅读(330) 评论(0) 推荐(0) 编辑
摘要:Dockerfile 1 # Description: eidolon 2 3 FROM busybox:latest 4 LABEL maintainer='eidolon <eidolon@eidolon.com>' 5 6 ENV DOC_ROOT=/data/ \ 7 PACKAGE=ngi 阅读全文
posted @ 2020-06-24 04:33 ascertain 阅读(861) 评论(0) 推荐(0) 编辑
摘要:for p in `find /root/epsilon -type d -a -iname vaspy -exec ls -ld {} \;|awk '{print $NF}'`;do mv $p `dirname $p`/epsilon_vasp;done 递归修改特定目录下所有某特定文件夹名字 阅读全文
posted @ 2020-06-24 01:28 ascertain 阅读(90) 评论(0) 推荐(0) 编辑
摘要:systemctl kill -s SIGKILL dev-ttyS0.service systemctl kill -s SIGHUP --kill-who=main crond.service kill直接发送信号给组中的所有进程,stop走官方配置渠道去关闭服务,比如调用在服务文件中的Exec 阅读全文
posted @ 2020-06-23 01:10 ascertain 阅读(69) 评论(0) 推荐(0) 编辑
摘要:32位下的内存地址分布图如下:1g为内核空间,3g为用户空间 内核空间:内核空间表示运行在处理器最高级别的超级用户模式(supervisor mode)下的代码或数据,内核空间占用从0xC0000000到0xFFFFFFFF的1GB线性地址空间,内核线性地址空间由所有进程共享,但只有运行在内核态的进 阅读全文
posted @ 2020-06-23 00:31 ascertain 阅读(916) 评论(0) 推荐(0) 编辑
摘要:1. 概述 Slurm 是一个开源、容错、高可伸缩的集群管理和大型小型 Linux 集群作业调度系统。slurm不需要对操作系统内核进行修改,而是相对独立的。 作为集群工作负载管理器。slurm有三个关键功能: 首先,它在一段时间内为用户分配独占或者非独占的计算资源,以便他们能够执行工作任务 其次, 阅读全文
posted @ 2020-06-23 00:13 ascertain 阅读(843) 评论(0) 推荐(0) 编辑
摘要:ssl.conf Listen 443 //可以改成其他端口SSLPassPhraseDialog builtin //每次重启Apache时需要输入密码SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)SSLSessionCacheTim 阅读全文
posted @ 2020-06-23 00:04 ascertain 阅读(420) 评论(0) 推荐(0) 编辑
摘要:$@ $* 没有" "包围时,两者无任何区别,将每个参数看作单独参数,当参数中使用' '或" "时会将其拆开,作为单独参数,因此,此种用法,可能曲解参数传递的本意 #!/bin/evn bash -u echo "print each parameter from \$*" for p in $* 阅读全文
posted @ 2020-06-21 16:40 ascertain 阅读(1413) 评论(0) 推荐(1) 编辑
摘要:0 发信号给当前进程组 -1 pid>2的进程全部被发送信号 执行kill -s TERM -1 后,终端进程被终结,只剩下88个进程 -n 指定进程组 可以通过gnome-system-monitor查看,操作进程 阅读全文
posted @ 2020-06-21 16:21 ascertain 阅读(181) 评论(0) 推荐(0) 编辑
摘要:chrt: manipulate the real-time attributes of a process Synopsis: chrt [options] priority command [arg] chrt [options] -p [prio] pid Usage: chrt --pid 阅读全文
posted @ 2020-06-19 15:37 ascertain 阅读(527) 评论(0) 推荐(0) 编辑
摘要:nmcli [OPTIONS...] {help | general | networking | radio | connection | device | agent | monitor} [COMMAND] [ARGUMENTS...] 一:nmcli help 类似于ip,分成很多objec 阅读全文
posted @ 2020-06-18 23:31 ascertain 阅读(389) 评论(0) 推荐(0) 编辑
摘要:# ATTRIBUTES TYPE=Ethernet | Bridge UUID=a4ac1ac1-1c91-3c5a-a00d-2a257f7c2761 HWADDR=00:0c:29:fd:80:90 NAME=ens33 DEVICE=ens33 BOOTPROTO=static | dhcp 阅读全文
posted @ 2020-06-18 22:38 ascertain 阅读(233) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash. /etc/init.d/functions #定义主机清单export MASTER_IP=192.168.31.160export NODE_IP=(192.168.31.161 192.168.31.163 192.168.31.164 )export SUBNET=1 阅读全文
posted @ 2020-06-18 16:08 ascertain 阅读(529) 评论(0) 推荐(0) 编辑
摘要:vasp需要parallel_studio_xe_2018_update4_cluster_edition.tgz的intel mpi支持,openMPI需要更改makefile参数,麻烦/etc/profile.d/intel.sh --> source /etc/profile.d/intel. 阅读全文
posted @ 2020-06-18 16:02 ascertain 阅读(1178) 评论(0) 推荐(0) 编辑
摘要:安装R的时候./configure时报configure: error: libcurl >= 7.22.0 library and headers are required with support for https 升级了libcurl和libcurl-devel还是报错,由升级openssl 阅读全文
posted @ 2020-06-17 20:52 ascertain 阅读(539) 评论(0) 推荐(0) 编辑
摘要:linux现在使用sysfs取代过去devfs,/sys目录用于存放动态设备节点,udev透过/sys目录生成/dev目录 biosdevname规则: Embedded network interfaceem[1...] PCI card network interfacep[slot]p[eth 阅读全文
posted @ 2020-06-17 13:29 ascertain 阅读(2054) 评论(0) 推荐(0) 编辑
摘要:-y Fix filesystem corruption automatically,not all filesystem support this option -V Verbose output -C Display completion/progress bars -a Automatical 阅读全文
posted @ 2020-06-17 11:29 ascertain 阅读(111) 评论(0) 推荐(0) 编辑
摘要:getty启动终端的服务,只适用于tty终端 打开了两个终端,显示启动了两个getty服务,当然getty@tty1.service肯定是启动的,getty@tty2.service是打开的第二个tty终端 阅读全文
posted @ 2020-06-17 10:39 ascertain 阅读(837) 评论(0) 推荐(0) 编辑
摘要:一: #PBS -N name #PBS -o out #PBS -e err #PBS -l nodes=2:ppn=4 #PBS -r y cd $PBS_O_WORKDIR mpirun -np 8 vasp_std > vasp-out 二: #PBS -N jobs_name #PBS - 阅读全文
posted @ 2020-06-16 19:54 ascertain 阅读(2231) 评论(0) 推荐(0) 编辑
摘要:ipv6.disable=1 禁用ipv6 sysctl --write net.ipv6.conf.all.disable_ipv6=1sysctl --write net.ipv6.conf.eth0.disable_ipv6=1 sysctl net.ipv4.ip_local_port_ra 阅读全文
posted @ 2020-06-16 18:41 ascertain 阅读(599) 评论(0) 推荐(0) 编辑
摘要:安装编译器yum install gcc gcc-c++ 安装连接器yum install mesa-libGL-devel mesa-libGLU-devel freeglut-devel wget http://download.qt.io/official_releases/qt/5.9/5. 阅读全文
posted @ 2020-06-15 18:54 ascertain 阅读(1891) 评论(0) 推荐(0) 编辑
摘要:单内核设计: 把所有功能做成一个程序,每个功能在程序中使用线程实现(内核线程) 微内核设计: 每个功能使用独立子系统实现,联合完成 lsmod:内容来自/proc/modules modinfo:show information about linux kernel module modprobe: 阅读全文
posted @ 2020-06-14 18:05 ascertain 阅读(558) 评论(0) 推荐(0) 编辑
摘要:1、拷贝initramfs文件 cp /boot/initramfs-3.10.0-514.26.2.el7.x86_64.img /opt/ 2、开始解压 cd /opt mkdir initramfs cd initramfs /usr/lib/dracut/skipcpio ../initra 阅读全文
posted @ 2020-06-14 17:40 ascertain 阅读(759) 评论(0) 推荐(0) 编辑
摘要:BROADCAST 接口支持广播 MULTICAST 接口支持多播 UP 接口以启用 LOWER_UP 网络电缆已插入,设备已物理连接至网络 mtu 1500 最大传输单元 qdisc pfifo_fast queueing discipline,队列策略,pfifo_fast是一种尽量快速传输的策 阅读全文
posted @ 2020-06-13 19:13 ascertain 阅读(459) 评论(0) 推荐(0) 编辑
摘要:-p preserver permissions保持权限,只需在打包时使用 -P absolute-names don't strip leading '/'s from file names 需在打包和解包时都使用此选项,并且打包时需以绝对路径打包 当然肯定要不同机器才能测试出此选项的效果 阅读全文
posted @ 2020-06-12 20:50 ascertain 阅读(120) 评论(0) 推荐(0) 编辑
摘要:wget -P /path/to/dir --no-check-certificate https://www.openssl.org/source/openssl-1.1.1a.tar.gz -P --directory-prefix=PREFIX以server端文件名保存文件于指定目录下 wge 阅读全文
posted @ 2020-06-12 19:52 ascertain 阅读(184) 评论(0) 推荐(0) 编辑
摘要:pip documentation v22.0.3 (pypa.io) configuration: https://pip.pypa.io/en/stable/topics/configuration/ pip: package installer for Python file name con 阅读全文
posted @ 2020-06-12 18:41 ascertain 阅读(1444) 评论(0) 推荐(0) 编辑
摘要:%systemroot% == %windir% # C:\Windows %appdata% # C:\Users\%username%\AppData|Roaming %username% # 当前用户名 %homepath% # \Users\%username% %userprofile% 阅读全文
posted @ 2020-06-12 16:43 ascertain 阅读(230) 评论(0) 推荐(0) 编辑
摘要:升级openssl: wget https://www.openssl.org/source/openssl-1.1.1a.tar.gz tar xvzf openssl-1.1.1a.tar.gz --directory /usr/local/src ./config --prefix=/usr/ 阅读全文
posted @ 2020-06-12 16:32 ascertain 阅读(203) 评论(0) 推荐(0) 编辑
摘要:编译c的时候出现这个错误,应该是不小心切换到中文全角输入,导致错误 cat --show-all main.c进行查看 图中蓝色是一些奇怪的全角符号 阅读全文
posted @ 2020-06-11 17:32 ascertain 阅读(466) 评论(0) 推荐(0) 编辑
摘要:isolinux.bin:光盘引导程序 isolinux.cfg:isolinux.cfg是isolinux.bin的配置文件 vmlinuz:linux系统的内核映像,isolinux.cfg中配置读取 initrd.img:ramfs内存系统镜像,isolinux.bin根据选项找到对应配置,装 阅读全文
posted @ 2020-06-11 16:13 ascertain 阅读(224) 评论(0) 推荐(0) 编辑
摘要:X-server处理输入输出,鼠标,键盘,显卡,显示器 X-client处理程序逻辑 WM:窗口管理器,移动,变型,装饰 DE:桌面环境 WM+panel+资源管理器+配套软件 X-server(鼠标,键盘) ==>X-client程序逻辑==>X-server(输出) X-server接收用户指令 阅读全文
posted @ 2020-06-11 15:19 ascertain 阅读(419) 评论(0) 推荐(0) 编辑
摘要:useradd 时使用 --no-create-home时指定不创建用户的家目录 虽没有创建,但其家目录仍为/home/bnm只是没有创建 接下来手动创建其家目录 非常恶心的selinux需要关闭,不识别手动创建的家目录,进行公钥认证时有问题 阅读全文
posted @ 2020-06-11 11:51 ascertain 阅读(1775) 评论(0) 推荐(0) 编辑
摘要:查找uid或gid为0的用户awk -F: '{if($3==0 || $4==0) {print $1}' /etc/passwd /etc/passwd中所有内容以空格分隔,而不以\n分隔awk -v ORS='' '{print $0}' /etc/passwd | awk -v RS=' ' 阅读全文
posted @ 2020-06-11 10:32 ascertain 阅读(240) 评论(0) 推荐(0) 编辑
摘要:SSL证书,用于加密HTTP协议,也就是HTTPS。随着淘宝、百度等网站纷纷实现全站Https加密访问,搜索引擎对于Https更加友好,加上互联网上越来越多的人重视隐私安全,站长们给网站添加SSL证书似乎成为了一种趋势。 给自己的网站添加SSL证书其实并不复杂,但是关键一点就是首先要拥有一个SSL证 阅读全文
posted @ 2020-06-11 09:25 ascertain 阅读(682) 评论(0) 推荐(0) 编辑
摘要:在httpd.conf中加入下面两项directive ServerSignature Off ServerTokens Prod 下面是ServerTokens的可能取值 ServerTokens Prod echo "Server:Apache" ServerTokens Major echo 阅读全文
posted @ 2020-06-11 09:20 ascertain 阅读(389) 评论(0) 推荐(0) 编辑
摘要:执行脚本时,如果在脚本当前目录,很容易获取脚本所在绝对路径,但是如果在其他目录可能以绝对路径或相对路径的方式执行脚本,此时pwd获取到的是当前路径,而不是脚本所在的绝对路径,获取脚本所在的绝对路径要通过以下方式: path=$(cd `dirname $0`;pwd) $0 为执行时 引用脚本的路径 阅读全文
posted @ 2020-06-10 18:56 ascertain 阅读(535) 评论(0) 推荐(0) 编辑
摘要:编译安装: ./configure --prefix=/usr/local/ovs make -j 4 make install modprobe openvswitch echo 'export PATH=$PATH:/usr/local/ovs/share/openvswitch/scripts 阅读全文
posted @ 2020-06-10 17:25 ascertain 阅读(372) 评论(0) 推荐(0) 编辑
摘要:./configure 是源码包自带的脚本 安装前需要检测系统环境是否符合安装要求 定义选项,./configure --help查看 把系统环境的检测结果和定义好的功能选项写入Makefile文件,后续make和make install依据此文件进行 make make调用gcc编译器,读取Mak 阅读全文
posted @ 2020-06-09 19:26 ascertain 阅读(251) 评论(0) 推荐(0) 编辑
摘要:/etc/profile /etc/profile.d/* /etc/bashrc ~/.bash_profile ~/.bashrc 这些文件定义shell的运行环境,其运行有先后,不同情况执行不同的文件 先说shell的分类: 登陆或非登陆 我们可以直接使用shell(直接运行bash,或者其他 阅读全文
posted @ 2020-06-09 15:20 ascertain 阅读(258) 评论(0) 推荐(0) 编辑
摘要:无论在当前shell还是子shell,脚本执行路径都为当前路径,创建文件时,如果使用相对路径,则都在当前路径下创建 阅读全文
posted @ 2020-06-09 13:41 ascertain 阅读(932) 评论(0) 推荐(0) 编辑
摘要:ICC 是intel 针对intel 体系架构开发的编百译器,显然,你的代码,如果运行在intel机器上,intel的人开发的编译器,编译出来的可执行代码效率更高。毕竟度人家对intel体系结构这么熟悉,里面的优化说明的,肯定做得不错。问但是只能运行在intel体系结构上。比如你的PPC的板子就不能 阅读全文
posted @ 2020-06-08 22:33 ascertain 阅读(590) 评论(0) 推荐(0) 编辑
摘要:module random random.random() [0,1) 内的float pseudo randomizer random.sample() sample(population,k) method of random.Random instance,choose k unique ra 阅读全文
posted @ 2020-06-08 22:30 ascertain 阅读(454) 评论(0) 推荐(0) 编辑
摘要:intermittent import timedef bid(f): def bow(*args,**kwargs): with open('p.txt',encoding='utf-8',mode='a') as dam: dam.write('\n'+time.strftime('%Y-%m- 阅读全文
posted @ 2020-06-08 22:28 ascertain 阅读(363) 评论(0) 推荐(0) 编辑
摘要:chrony prerequisite: firewalld firewall-cmd --state firewall-cmd --list-all firewall-cmd --zone=public --query-port=123/tcp firewall-cmd --zone=public 阅读全文
posted @ 2020-06-08 22:26 ascertain 阅读(166) 评论(0) 推荐(0) 编辑
摘要:杨辉三角 解法: triangle=[]p=int(input('>>>'))for i in range(0,p): if i == 0: triangle.append([1]) else: current=[1] for j in range(0,i-1): current.append(tr 阅读全文
posted @ 2020-06-08 22:14 ascertain 阅读(599) 评论(0) 推荐(0) 编辑
摘要:/proc目录 内核把状态信息,统计信息,可配置参数通过proc伪文件系统输出 参数: 只读:输出信息 可写:配置内核 可写参数位于/proc/sys目录 1:sysctl查看设定/proc/sys目录中的参数 sysctl -w path.to.parameter=VALUE sysctl -w 阅读全文
posted @ 2020-06-08 22:05 ascertain 阅读(325) 评论(0) 推荐(0) 编辑
摘要:命令的执行状态结果 $? 0成功 1-255失败程序执行有两类结果: 程序返回值:执行结果 程序状态结果:0,1-255文本文件查看命令: cat tac more less tail head more: more [option] file... -d:显示提示 +#:定位 less: less 阅读全文
posted @ 2020-06-08 22:04 ascertain 阅读(371) 评论(0) 推荐(0) 编辑
摘要:HPC APPLICATION SUPPORT FOR GPU COMPUTING HPC 对GPU计算的应用支持 AddisonSnell LauraSegervall Sponsored research report November 2017 EXECUTIVE SUMMARY 执行总结 在 阅读全文
posted @ 2020-06-08 21:49 ascertain 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-06 22:56 ascertain 阅读(147) 评论(0) 推荐(0) 编辑
摘要:systemd的登陆程序为systemd-logind.service,配置文件/etc/systemd/logind.conf DESCRIPTION systemd-logind is a system service that manages user logins. It is respon 阅读全文
posted @ 2020-06-06 19:27 ascertain 阅读(2549) 评论(0) 推荐(0) 编辑
摘要:linux内核/proc/sys/net/ipv4/conf中下面会有各网卡的配置参数其中arp_ignore和arp_annouce与arp相关 arp_ignore 取值为integer 0 (default) :reply for any local target IP address con 阅读全文
posted @ 2020-06-06 18:38 ascertain 阅读(1326) 评论(0) 推荐(0) 编辑
摘要:%attr(0777,root,root,-) %{_bindir}/* nginx Name: nginx Version: 1.19.0 Release: 1%{?dist} Summary: nginx rpm Group: System Environment/Daemons License 阅读全文
posted @ 2020-06-05 22:50 ascertain 阅读(432) 评论(0) 推荐(0) 编辑
摘要:--nodeps 忽略依赖 --force 即使覆盖属于其他包的文件也强制安装 --fresh upgrade packages if already installed 安装才升级,否则不升级 rpm2cpio xxx.rpm | cpio -idmv 会在当前目录下解压rpm包 rpm --ba 阅读全文
posted @ 2020-06-05 16:50 ascertain 阅读(515) 评论(0) 推荐(0) 编辑
摘要:常见的Linux发行版主要可以分为两类,类ReadHat系列和类Debian系列,这里我们是以其软件包的格式来划分的,这两类系统分别提供了自己的软件包管理系统和相应的工具。类RedHat系统中软件包的后缀是rpm;类Debian系统中软件包的后缀是deb。另一方面,类RedHat系统提供了同名的rp 阅读全文
posted @ 2020-06-05 16:49 ascertain 阅读(4873) 评论(0) 推荐(0) 编辑
摘要:1.安装依赖包: [CentOS类系统] yum -y groupinstall "Development Tools" yum -y install ruby ruby-devel rubygems gcc openssl-devel 2.安装FPM: *添加淘宝的Ruby仓库 gem sourc 阅读全文
posted @ 2020-06-05 15:57 ascertain 阅读(365) 评论(0) 推荐(0) 编辑
摘要:fuser identify processes using files or sockets fuser displays the PIDs of processes using the specified files or file systems. In the default display 阅读全文
posted @ 2020-06-03 09:59 ascertain 阅读(303) 评论(0) 推荐(0) 编辑
摘要:lsof list open files Linux一切皆文件,通过文件不仅可以访问常规数据,还可以访问网络连接(套接字)和硬件,该文件描述符为应用程序与os之间提供了接口.lsof需访问各种特权文件,故需root运行 COMMAND contains the first nine characte 阅读全文
posted @ 2020-06-02 22:41 ascertain 阅读(182) 评论(0) 推荐(0) 编辑
摘要:我们使用RPM数据库(/var/lib/rpm)来比对rpm安装后的软件有无改动 rpm -qp --requires *.rpm query list capabilities required by package(s) rpm --verify -a 校验所有已安装的rpm包 rpm --ve 阅读全文
posted @ 2020-06-02 22:11 ascertain 阅读(269) 评论(0) 推荐(0) 编辑
摘要:/etc/inputrc定义了环境选项 set bell-stype none source /etc/inputrc 默认是注释的 阅读全文
posted @ 2020-06-02 21:39 ascertain 阅读(970) 评论(0) 推荐(0) 编辑
摘要:Infiniband Architecture(IBA)是一种网络通信协议,是为硬件实现而设计的,而TCP则是为软件实现而设计的,因此Infiniband是比TCP更轻的传输服务,不需要重新排序数据包,较低的链路层提供有序的数据包交付. Infiniband通过交换机在节点间直接创建一个私有的,受保 阅读全文
posted @ 2020-06-02 20:49 ascertain 阅读(924) 评论(0) 推荐(0) 编辑
摘要:问题背景: 做WEB开发,经常要来来回回修改host文件进行域名解析,由于hosts文件没有文件类型后缀,所以每次都得指定打开方式并且系统无法保存这种操作行为。 解决方案: 通过文件属性直接为hosts文件指定目标编辑器即可: 1、桌面新建hosts快捷方式; 2、右键 > 属性 > 目标,将目标修 阅读全文
posted @ 2020-06-02 11:36 ascertain 阅读(328) 评论(0) 推荐(0) 编辑
摘要:1、找到chrome启动程序或者快捷方式; 2、右键找到 "目标": 将文本框内的默认命令: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" 修改为: "C:\Program Files (x86)\Google\Chrom 阅读全文
posted @ 2020-06-02 11:17 ascertain 阅读(950) 评论(0) 推荐(0) 编辑
摘要:RPM包括是使用cpio格式打包的,因此可以先转成cpio然后解压,如下所示:rpm2cpio xxx.rpm | cpio -div 解压了以后你会看到,实际上rpm包是这个程序所有的文件的集合,比如帮助文档,二进制程序,所依赖的库文件,而且解压后的主目录对应的就是linux系统根路径下的目录,比 阅读全文
posted @ 2020-06-01 10:46 ascertain 阅读(190) 评论(0) 推荐(0) 编辑

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