以内核模块 drbd 为例: 1、创建 /etc/modules-load.d/drbd.conf 中,直接写模块名: drbd 2、创建 /etc/sysconfig/modules/drbd.modules:内容如下 # drbd module exists? /usr/sbin/modinfo ...
分类:
其他好文 时间:
2021-03-29 11:51:34
阅读次数:
0
iperf是一种命令行工具,用于通过测量服务器可以处理的最大网络吞吐量来诊断网络速度问题。它在遇到网络速度问题时特别有用,通过该工具可以确定哪个服务器无法达到最大吞吐量。 环境: server: centos/redhat 7.4 client:window10 iperf版本: iperf 3.1 ...
分类:
其他好文 时间:
2021-03-29 11:47:49
阅读次数:
0
下载maven安装包 下载地址:https://maven.apache.org/download.cgi wget https://mirrors.bfsu.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar. ...
分类:
其他好文 时间:
2021-03-29 11:46:34
阅读次数:
0
1. git git checkout -b v1 // 创建并切换 git checkout name // 撤回修改文件 git branch -a // 查看所有分支 git branch --set-upstream-to=origin/feature-v1 // 默认拉取远程分支 git ...
分类:
系统相关 时间:
2021-03-29 11:44:12
阅读次数:
0
1、Linux 安装 $ wget https://github.com/liexusong/php-beast/archive/master.zip $ unzip master.zip $ cd php-beast-master $ phpize $ ./configure $ sudo mak ...
分类:
Web程序 时间:
2021-03-29 11:41:35
阅读次数:
0
cat cd chmod chown cp 名称:cat 使用权限:所有使用者 得到 使用方式:cat [-AbeEnstTuv] [--help] [--version] fileName 说明:把档案串连接后传到基本输出(萤幕或加 > fileName 到另一个档案) 参数: -n 或 --nu ...
分类:
系统相关 时间:
2021-03-26 15:34:37
阅读次数:
0
ps -ef|grep apache -tomcat 查看进程 kill -9 杀死进程 ls 看命令 ./ startup.sh 启动 cd ../logs 查log tail -f catalina.out 看log chmod -R 777 * chmod 777 * 赋权限 unzip 文件 ...
分类:
系统相关 时间:
2021-03-26 15:32:48
阅读次数:
0
Setup Check our AndroidCompile wiki page, especially for build dependencies. Here are the essential points: On Debian/Ubuntu, install the required dep ...
分类:
系统相关 时间:
2021-03-26 15:25:05
阅读次数:
0
方法一、配置shell脚本,使用/etc/rc.local 跟随系统自启动 # cat /home/oracle/script/start.sh lsnrctl start<<EOF EOF sqlplus / as sysdba <<EOF startup alter system registe ...
分类:
数据库 时间:
2021-03-26 15:17:47
阅读次数:
0
最近项目也和linux kernel技术有关,调试内核和内核模块、修改内核源码,是学习内核的重要技术手段之一。应用这些技术时,都有一本基本的要求,那就是编译内核。因此,在分析内核调试技术之前,本随笔给出内核的编译准备工作与具体实现过程。 开发环境 Ubuntu20.04 系统自带的内核版本:5.4. ...
分类:
系统相关 时间:
2021-03-26 15:16:03
阅读次数:
0