随笔分类 -  操作系统

1 2 3 4 5 ··· 14 下一页
摘要:############## https://goharbor.io/docs/2.8.0/install-config/configure-yml-file/ ####################### 阅读全文
posted @ 2023-09-02 11:35 igoodful 阅读(36) 评论(0) 推荐(0)
摘要:#################### # 一、生成CA机构的私钥,命令和生成服务器私钥一样,只不过这是CA的私钥 >> ca.key openssl genrsa -out ca.key 4096 # 二、生成CA机构自己的证书申请文件 >> ca.crt openssl req -new -s 阅读全文
posted @ 2023-08-30 22:37 igoodful 阅读(203) 评论(1) 推荐(0)
摘要:############################ 对齐: 右对齐:printf "%s" 左对齐:printf "%-s" 宽度: printf "%-10s" , 左对齐,宽度为10 printf “%-4.2f” ,左对齐,宽度为4,保留两位小数。 格式化说明符: %s: 字符串 %d: 阅读全文
posted @ 2023-06-28 17:58 igoodful 阅读(99) 评论(0) 推荐(0)
摘要:######################### https://zhuanlan.zhihu.com/p/415469149 1.创建systemd文件 vim /usr/lib/systemd/system/**.service (1)[Unit] 区块:启动顺序与依赖关系 [Unit] De 阅读全文
posted @ 2023-06-17 23:15 igoodful 阅读(277) 评论(0) 推荐(0)
摘要:######################### 可视化工具 PrettyZoo https://github.com/vran-dev/PrettyZoo/releases 下载地址:https://github.com/vran-dev/PrettyZoo/tags 每个子目录如/node1都 阅读全文
posted @ 2023-06-17 11:00 igoodful 阅读(48) 评论(0) 推荐(0)
摘要:########################## 一、阿里云的产品概览 二、购买云服务器ECS 也就是购买各种服务器,比如各种linux系统和windows系统 三、购买域名 四、ICP备案 ICP备案详解:https://help.aliyun.com/document_detail/3692 阅读全文
posted @ 2023-06-16 20:49 igoodful 阅读(75) 评论(0) 推荐(0)
摘要:########################### which [root@igoodful ~]# which ssh-keygen /usr/bin/ssh-keygen ldd [root@igoodful ~]# ldd /usr/bin/ssh-keygen linux-vdso.so 阅读全文
posted @ 2023-06-15 14:55 igoodful 阅读(228) 评论(0) 推荐(0)
摘要:###################### yum -y install qperf # 关闭网络防火墙 qperf -t 10 --use_bits_per_sec 10.10.10.10 tcp_lat 安装java jdk # 解包 tar -xf jdk-8u111-linux-x64.t 阅读全文
posted @ 2023-06-12 09:13 igoodful 阅读(65) 评论(0) 推荐(0)
摘要:################################ ############################ 阅读全文
posted @ 2023-06-09 19:46 igoodful 阅读(1000) 评论(0) 推荐(0)
摘要:########################################### [global]index-url = https://mirrors.aliyun.com/pypi/simple/[install]trusted-host=mirrors.aliyun.comb、linux 阅读全文
posted @ 2023-06-06 10:32 igoodful 阅读(134) 评论(0) 推荐(0)
摘要:function _ssh() { local user=$1 local ip=$2 local cmd=$3 local quoted_cmd if [ "$user" != root ]; then quoted_cmd=$(quote "$cmd") cmd="sudo -sk <<< $q 阅读全文
posted @ 2023-06-05 17:39 igoodful 阅读(14) 评论(0) 推荐(0)
摘要:################# ################ 阅读全文
posted @ 2023-06-01 14:15 igoodful 阅读(44) 评论(0) 推荐(0)
摘要:################# curl -s -o /etc/yum.repos.d/draios.repo http://download.draios.com/stable/rpm/draios.repo ########################### 阅读全文
posted @ 2023-05-25 14:20 igoodful 阅读(32) 评论(0) 推荐(0)
摘要:##################### 一、卸载旧版本git [root@a8-cloud-dba-db08 install_database]# yum remove git Loaded plugins: fastestmirror, langpacks Resolving Dependen 阅读全文
posted @ 2023-04-18 19:33 igoodful 阅读(138) 评论(0) 推荐(0)
摘要:######################## 背景: 在企业做自动化部署软件的时候,往往会自己搭建一个ftp服务来专门供工程师们下载,但是像我自己的部署在家的测试机一般都懒得去搭建一个ftp服务 因为我经常重装系统,玩各种系统,但是这都会给我带来一些麻烦,比如常见的一些数据库或其他软件都是必备的 阅读全文
posted @ 2023-04-16 22:02 igoodful 阅读(267) 评论(0) 推荐(0)
摘要:################################################### 有时候安装mysql等依赖包较多的时候,如果直接一条yum -install 下去会眼花缭乱 #!/bin/bash function yum_install_packages() { # 将输入 阅读全文
posted @ 2023-04-15 21:44 igoodful 阅读(94) 评论(0) 推荐(0)
摘要:##################### 今天给10年的机器重装了CentOS Linux release 7.9.2009 (Core) systemctl set-default multi-user.target [root@a8-cloud-dba-db08 ~]# cat /etc/yu 阅读全文
posted @ 2023-04-15 16:02 igoodful 阅读(1202) 评论(0) 推荐(0)
摘要:########### ############################# 阅读全文
posted @ 2023-04-12 12:55 igoodful 阅读(36) 评论(1) 推荐(0)
摘要:######### 在当前用户下,不切换用户的前提下,用另一个用户执行命令 一:在shell脚本里切换用户执行命令,适合复杂命令 新建文件: cat test.sh 编辑文件内容:#!/bin/bashsu - test <<EOFpwd;exit;EOF 在exit前,可以编写多条命令执行。 sh 阅读全文
posted @ 2023-04-11 23:10 igoodful 阅读(934) 评论(0) 推荐(0)
摘要:################################# 一、配置文件:supervisord.conf (venv) [root@wy3-db245 archery]# cat supervisord.conf [unix_http_server] file=supervisor.soc 阅读全文
posted @ 2023-04-10 22:02 igoodful 阅读(465) 评论(0) 推荐(0)

1 2 3 4 5 ··· 14 下一页