随笔分类 -  Linux

摘要:wget https://repo.huaweicloud.com/repository/conf/openeuler_x86_64.repo -O /etc/yum.repos.d/openEuler.repo yum clean all yum makecache yum -y install 阅读全文
posted @ 2022-07-28 15:04 chenzechao 阅读(1352) 评论(0) 推荐(0) 编辑
摘要:# 新部署方案 # https://developer.aliyun.com/mirror/docker-ce curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun sudo curl -L "https://githu 阅读全文
posted @ 2022-06-21 18:09 chenzechao 阅读(34) 评论(0) 推荐(0) 编辑
摘要:# 下载并安装yum源 wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm yum localinstall mysql57-community-release-el7-7.noarch.rpm -y # 阅读全文
posted @ 2022-02-17 14:25 chenzechao 阅读(32) 评论(0) 推荐(0) 编辑
摘要:### 配置fstab cat /etc/fstab myhuaweicloud.com:/share/standard/ /webser/www/FineReport/WEB-INF/reportlets/standard nfs vers=4,minorversion=0,rsize=10485 阅读全文
posted @ 2021-11-04 15:17 chenzechao 阅读(4536) 评论(1) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-04-02 11:17 chenzechao 阅读(0) 评论(0) 推荐(0) 编辑
摘要:在描述命令行参数的时候,对其格式有些约定俗成的写法,各系统之间也有差别。一般采用的格式如下: 命令 <必选参数1|必选参数2> [-option {必选参数1|必选参数2|必选参数3}] [可选参数...] {(默认参数)|参数|参数} 命令格式中常用的几个符号含义如下: 尖括号< >:必选参数,表 阅读全文
posted @ 2021-01-08 16:09 chenzechao 阅读(536) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2021-01-08 09:06 chenzechao 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-12-31 17:15 chenzechao 阅读(0) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xyang81/article/details/51555473 https://www.cnblogs.com/mzli/p/12621422.html 阅读全文
posted @ 2020-12-25 15:43 chenzechao 阅读(59) 评论(0) 推荐(0) 编辑
摘要:## 1. 开启```bashdocker run -d -it \--name doris \--net=host \-v /volume1/doris/incubator-doris:/root/incubator-doris/ apachedoris/doris-dev:build-env-1 阅读全文
posted @ 2020-11-03 22:52 chenzechao 阅读(1471) 评论(0) 推荐(0) 编辑
摘要:for i in `cat /etc/passwd|awk -F':' '{print $1}'` do # crontab -u ${i} -l 2>/dev/null crontab -u ${i} -l done 阅读全文
posted @ 2020-09-25 15:54 chenzechao 阅读(3095) 评论(0) 推荐(1) 编辑
摘要:mkdir -p /data/mvn/nexus-data && chown -R 200 /data/mvn/nexus-data docker run -d -p 8888:8081 --restart=always --name nexus -v /data/mvn/nexus-data:/n 阅读全文
posted @ 2020-09-25 14:45 chenzechao 阅读(162) 评论(0) 推荐(0) 编辑
摘要:在wsl里创建文件并授权 cat >/etc/init.wsl <<'EOF' #! /bin/sh /etc/init.d/cron $1 /etc/init.d/ssh $1 EOF chmod 755 /etc/init.wsl 开始-运行 shell:startup # 打开存放启动文件的目 阅读全文
posted @ 2020-08-21 14:33 chenzechao 阅读(926) 评论(0) 推荐(0) 编辑
摘要:/usr/sbin/sshd-keygen -A nohup /usr/sbin/sshd -D & 阅读全文
posted @ 2020-08-21 14:22 chenzechao 阅读(947) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-08-17 14:50 chenzechao 阅读(0) 评论(0) 推荐(0) 编辑
摘要:# 1. 拉取centos7镜像 docker pull centos:7 # 2. 启动镜像centos7,如果不指定 /bin/bash,容器运行后会自动停止 docker run -d -i -t <IMAGE ID> /bin/bash # 3. 进入容器 docker exec -it < 阅读全文
posted @ 2020-07-09 23:27 chenzechao 阅读(311) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-04-03 17:32 chenzechao 阅读(1) 评论(0) 推荐(0) 编辑
摘要:使用rz命令时,添加 -be选项并且不勾选Upload files as ASCII选项,这样就可以确保上传文件的正确上传 ref:https://blog.csdn.net/wudishine/article/details/44151971 阅读全文
posted @ 2019-07-22 15:09 chenzechao 阅读(594) 评论(0) 推荐(0) 编辑
摘要:WIN11 可以使用这个安装 win11子系统ubantu之wsl安装docker_Today丶的博客-CSDN博客 2,更新系统软件 $ sudo apt-get update 3,安装依赖包 $ sudo apt-get install \ apt-transport-https \ ca-ce 阅读全文
posted @ 2019-07-21 12:52 chenzechao 阅读(1855) 评论(0) 推荐(0) 编辑
摘要:### 端口转发iptables -t nat -A PREROUTING -p tcp --dport 新端口 -j REDIRECT --to-ports 旧端口### 服务器中转firewall-cmd --add-forward-port=port=1433:proto=tcp:toaddr 阅读全文
posted @ 2019-05-31 16:39 chenzechao 阅读(5715) 评论(0) 推荐(0) 编辑

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