随笔分类 -  O&M

运维(Operation and maintenance),Linux_basic
该文被密码保护。
posted @ 2021-12-07 12:14 enjoy_jun 阅读(0) 评论(0) 推荐(0) 编辑
摘要:确保CHECKSUM文集和要核对文件都在当前目录, 比如: % ls CHECKSUM.SHA256-FreeBSD-13.0-RELEASE-amd64 FreeBSD-13.0-RELEASE-amd64-bootonly.iso FreeBSD-13.0-RELEASE-amd64-dvd1. 阅读全文
posted @ 2021-10-18 12:20 enjoy_jun 阅读(493) 评论(0) 推荐(0) 编辑
摘要:sha256sum -c file.iso SHA256SUM 2>&1 | grep OK 输出 file.iso: OK 证明文件是一样的文件,没有被改动。 文件描述符 1 代表标准输出(stdout) 文件描述符 2 代表标准错误(stderr) 这是记住这个结构的一种方法(尽管它并不完全准确 阅读全文
posted @ 2021-10-09 02:55 enjoy_jun 阅读(308) 评论(0) 推荐(0) 编辑
摘要:比如要转换的 Unicode编码为 \u4f60\u597d echo -en '\u4f60\u597d' 输出 你好 阅读全文
posted @ 2021-10-05 19:00 enjoy_jun 阅读(2182) 评论(0) 推荐(0) 编辑
摘要:Creating SSH keys on CentOS Start by generating a new 4096 bits SSH key with your email address as a comment: ssh-keygen -t rsa -b 4096 -C "your_email 阅读全文
posted @ 2021-08-18 17:09 enjoy_jun 阅读(54) 评论(0) 推荐(0) 编辑
摘要:youtube-dl --write-auto-sub --proxy socks5://127.0.0.1:1080 https://www.youtube.com/watch?v=VideoID Why use youtube-dl to download instead of using th 阅读全文
posted @ 2021-08-09 15:58 enjoy_jun 阅读(1294) 评论(0) 推荐(0) 编辑
摘要:How to remove the Server header in NGINX 阅读全文
posted @ 2021-08-08 22:21 enjoy_jun 阅读(148) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-07-29 13:10 enjoy_jun 阅读(0) 评论(0) 推荐(0) 编辑
摘要:1.识别U盘路径 将U盘插入电脑,用下面命令查看U盘路径 sudo fdisk -l 我这里U盘路径是 /dev/sde,请自行替换为自己的路径 2.刻录 sudo dd bs=4M if=/path/to/xzy.iso of=/dev/sde status=progress dd为刻录程序 bs 阅读全文
posted @ 2021-07-11 16:32 enjoy_jun 阅读(1203) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-06-20 17:45 enjoy_jun 阅读(2480) 评论(0) 推荐(0) 编辑
摘要:Open a terminal and enter xfwm4 then press enter. This should restart your window manager and recover you button. 阅读全文
posted @ 2021-06-11 12:50 enjoy_jun 阅读(93) 评论(0) 推荐(0) 编辑
摘要:1.完整过程 1.1 在nginx.conf中http里面添加配置如下: http { ... log_format postdata escape=json '$remote_addr - $remote_user [$time_local] "$request" '$status $body_b 阅读全文
posted @ 2021-04-25 11:06 enjoy_jun 阅读(4419) 评论(0) 推荐(0) 编辑
摘要:电脑启动后自动电脑启动后自动进入BIOS可能原因是,BIOS里面的CSM Support给Disabled掉了, 把CSM Support给Enabled(即开启),然后重新安装系统即可。 我的情况是我把CSM Support给Enabled(即开启),没有重新安装系统,就开启系统遇到如下问题: R 阅读全文
posted @ 2021-04-12 13:21 enjoy_jun 阅读(11100) 评论(0) 推荐(0) 编辑
摘要:sed -i 's/src1/dest1/g;s/src2/dest2/g;s/src3/dest3/;...s/srcn/destn/g' test.txt 如果多个文件都要替换那么把 test.txt 换成 * 即可 sed -i 's/src1/dest1/g;s/src2/dest2/g;s 阅读全文
posted @ 2020-12-03 08:45 enjoy_jun 阅读(2640) 评论(0) 推荐(0) 编辑
摘要:CentOS7防止CC攻击防止SSH爆破采取的措施 CentOS 7 使用 Firewalld 預防 DDOS DDoS Protection With IPtables: The Ultimate Guide 阅读全文
posted @ 2020-11-22 10:00 enjoy_jun 阅读(570) 评论(0) 推荐(0) 编辑
摘要:假设项目名称为project_name 假设项目的releases的URL如下 https://github.com/project_name/releases wget下载时需要添加: 1.download 2.版本号 假设为 v0.0.1 3.系统版本为 project_name-linux-6 阅读全文
posted @ 2020-11-14 04:08 enjoy_jun 阅读(4396) 评论(0) 推荐(0) 编辑
摘要:Install Apache2, PHP5 And MySQL Support On CentOS 6.5 (LAMP) 阅读全文
posted @ 2020-11-13 12:02 enjoy_jun 阅读(61) 评论(0) 推荐(0) 编辑
摘要:安装好git后,在命令行或终端中使用下面的命令可以设置git自己的名字和电子邮件. git config --global user.name "username_1" git config --global user.email "email_1@163.com" 注意git config命令的 阅读全文
posted @ 2020-11-03 18:23 enjoy_jun 阅读(489) 评论(0) 推荐(0) 编辑
摘要:How to Install Java on Debian 9 阅读全文
posted @ 2020-07-07 18:52 enjoy_jun 阅读(87) 评论(0) 推荐(0) 编辑
摘要:1.How to Install and Configure VNC on Debian 10 2.How to Install and Configure VNC on Debian 9 阅读全文
posted @ 2020-07-07 15:07 enjoy_jun 阅读(141) 评论(0) 推荐(0) 编辑