摘要: 预编译二进制包groupadd --gid 666 --system mysqluseradd --uid 666 --gid mysql --system mysqlln -sv mariadb-VERSION-OS mysqlchown --recursive --dereference -L 阅读全文
posted @ 2020-07-08 01:47 ascertain 阅读(283) 评论(0) 推荐(0) 编辑
摘要: --dns-servers 是复数,主要用于内部架设的dns服务器,外部dns无法解析.-Pn Treat all hosts as online skip host discovery 明确知道主机存活或防火墙开启的机器,-Pn不启用探测前的ICMP请求,达到不触发防火墙的安全机制 -F fast 阅读全文
posted @ 2020-07-08 01:45 ascertain 阅读(168) 评论(0) 推荐(0) 编辑
摘要: -R --relative 把全路径拷贝到目标,把上级目录的全路径拷贝 不管加不加/ 都会讲源数据路径一起同步 通过--daemon方式pull,似乎只能复制文件,不能复制目录,-R选项无效但是--daemon方式push,/是文件 不带/ 是目录 -R是全路径 rsyncd.conf motd f 阅读全文
posted @ 2020-07-08 01:44 ascertain 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 添加库文件路径: 1:导出环境变量 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/new_path 2:修改配置文件 ld.so.conf ld.so.conf.d/* LIBRARY_PATH 程序编译期间查找动态链接库时指定的查找路径,编译期,开发阶段, 只影 阅读全文
posted @ 2020-07-08 01:41 ascertain 阅读(520) 评论(0) 推荐(0) 编辑
摘要: vimrc的配置: colorscheme default filetype on filetype plugin on filetype indent on syntax enable syntax on set ai set autochdir set autoread set cindent 阅读全文
posted @ 2020-07-08 01:39 ascertain 阅读(113) 评论(0) 推荐(0) 编辑
摘要: restrict ip mask 不跟参数表示无任何限制,常用nomodify 客户端不能修改服务器时间,但可校时 noquery 不能校时 notrap: 不提供远程时间登陆功能 notrust 不接受没有认证的client server ip|hostname [prefer iburst] 设 阅读全文
posted @ 2020-07-08 01:34 ascertain 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 #include "time.h" 4 #define random(x) (rand()%x) 5 6 int main () 7 { 8 int m,l,p,q; 9 printf("输入第一个矩阵的维数m 阅读全文
posted @ 2020-07-08 01:28 ascertain 阅读(1519) 评论(0) 推荐(0) 编辑