腾讯云扩容云硬盘
腾讯云扩容云硬盘https://cloud.tencent.com/document/product/213/34068 https://cloud.tencent.com/document/product/362/64035 当扩容类型为数据盘的云硬盘时 登录 云服务器控制台。 选择目标云服务器所在行的更多 > 资源调整 > 云硬盘扩容。 在弹出的云硬盘扩容窗口中选择需扩容的数据盘
腾讯云扩容云硬盘https://cloud.tencent.com/document/product/213/34068 https://cloud.tencent.com/document/product/362/64035 当扩容类型为数据盘的云硬盘时 登录 云服务器控制台。 选择目标云服务器所在行的更多 > 资源调整 > 云硬盘扩容。 在弹出的云硬盘扩容窗口中选择需扩容的数据盘
CentOS8 系统安装优盘制作https://zhuanlan.zhihu.com/p/659803235 https://soft.onlinedown.net/soft/110173.htm 用到的写盘工具为 ==Win32DiskImager== ISO 下载:http://mirrors.yun-idc.com/centos/ 千万不要使用 Ult
CentOS8 配置静态IP查看系统12cat /etc/redhat-release ## 查看系统centos8.4CentOS Linux release 8.4.2105 查看网络接口名称(网卡名称)1234# nmcli d ## 查看网络接口名称DEVICE TYPE STATE CONNECTIO
查看Linux进程内存占用情况其中rsz是是实际内存 1ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid'
CentOS8 出现 Error Failed to download metadata for repo AppStreamhttps://developer.aliyun.com/article/949587 Error: Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist:
SVN 设置共享仓库或目录https://blog.csdn.net/weixin_43904949/article/details/138130019 作用: 121、工作中同时涉及到多个项目,存在一个公共库,需要维护每个项目下个这个公共库,那通过svn的外部引用,我们将其他项目连接到一个公共库,这个公共库的所有变动都会同步到各项目,只维护这一个公共库即可。2、针对一些部门内部的文件,需要对外
Centos8 开启端口和防火墙在CentOS 8上,您可以使用firewalld来启用特定的端口 启动防火墙12sudo systemctl start firewalldsudo systemctl enable firewalld 查看当前的防火墙规则:1sudo firewall-cmd --list-all 启用特定端口(以启用端口8080为例):1sudo firewall-cm
MongoDB 6.x 安装1vim /etc/yum.repos.d/mongodb-org-6.0.repo 123456[mongodb-org-6.0]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/6.0/x86_64/gpgcheck=1enable
CentOS 版本号1cat /etc/redhat-release
禅道占用系统盘太多空间 简单粗暴方法 主要占硬盘的是备份策略,默认禅道每天备份一次,保留21天的备份数据,大概会占用 31G 硬盘空间,在 zentao/tmp/backup 目录 选后台-数据-备份-备份历史-删除不要的历史数据 后台-系统-备份数据和附件-禁用 自定义数据库存储路径和文件存储位置 https://blog.csdn.net/m0_473389
Nginx Access Log 日志统计分析常用命令https://blog.51cto.com/u_13538361/6376238 统计IP访问量 1awk '{print $1}' access.log | sort -n | uniq | wc -l 12345678910grep "GET / HTTP/1.1" /da
Git 报错 Support for password authentication was removedhttps://zhuanlan.zhihu.com/p/443038323 https://blog.csdn.net/qq_41646249/article/details/119777084 原先的密码凭证从2021年8月13日开始就不能用了,必须使用个人访问令牌(personal
解决 Nginx 出现 403 forbidden (13: Permission denied) 报错https://blog.csdn.net/onlysunnyboy/article/details/75270533
Amazon Linux 2 操作系统部署 Nginxhttps://blog.csdn.net/m0_61418822/article/details/130243319 Amazon Linux 2 自带的 amazon-linux-extras 组件可以快速的安装 nginx 及其所需的依赖 1amazon-linux-extras install -y nginx1 查看版本信息 1n
lets encrypt 免费 https ssl 自动续期证书https://blog.csdn.net/qq_39168874/article/details/120432567 let’s encrypt官网:https://certbot.eff.org/ 安装 snapd 官方地址:https://snapcraft.io/docs/installing-snapd 123sudo
Nginx 安装官方源 YUM 安装https://www.cnblogs.com/caijiuge/p/16702656.html 配置Nginx源 12345678# vim /etc/yum.repos.d/nginx.repo[nginx-stable]name=nginx stable repobaseurl=http://nginx.org/packages/centos/$rele
shell 监听 api 是否可用1234567891011121314151617181920212223#!/bin/bashRESULT=$(curl -k -s http://xxx.com/api/xxx)SUCCESS=$(echo ${RESULT} | grep "success")my_mail(){ mail_list=(&q
mailx通过465端口发送qq邮件https://www.cnblogs.com/freespider/p/13415828.html 一、关闭其他的邮件工具 1234567chkconfig postfix off #关闭开机启动service postfix stop #关闭服务运行chkconfig sendmail off service sendmail stop 二、
腾讯云 TencentOS 3.1 部署 Nodejs 环境TencentOS 3.1 对应 RHEL 8( CentOS 8.x)兼容 更改密码 1passwd root 查看基本配置 12topdf -h 升级系统 1yum update 安装MongoDB 1vim /etc/yum.repos.d/mongodb-org-4.4.repo 内容: 123456[mo
腾讯云 CentOS 7 低版本漏洞修复 备份系统盘数据 重装系统升级为 Tencent OS 重新安装相关软件 重新挂载数据盘 1mount /dev/vdb1 /data 扫描看是否还有漏洞 备份新系统
腾讯云挖矿木马自助清理手册https://cloud.tencent.com/developer/article/1834731 专栏首页 - 腾讯云安全专家服务 - 挖矿木马自助清理手册
Docker 启动所有容器1docker start $(docker ps -a | awk '{ print $1}' | tail -n +2)
Docker 镜像修改自启动参数1234567systemctl stop dockercd /var/lib/docker/containers/[containerID]修改 config.v2.json 和 hostconfig.json 即可systemctl start docker
Docker 拷贝文件到容器里面 从容器里面拷文件到宿主机 1docker cp testtomcat:/usr/local/test.js /opt 从宿主机拷文件到容器里面 1docker cp /opt/test.js testtomcat:/usr/local/
Docker 运行 Mysql 容器后报错 initialize specified but the data directory has files in it.原因:通过 -v 挂载的目录已经存在文件了,所以 -v 选本地目录的时候记得选一个空目录/不存在的目录(会自动创建) 解决方案:将 -v 挂载的本地目录换成一个空目录/不存在的目录即可
Docker 启动报错 error creating overlay mount是由于selinux造成的,CentOS的selinux是关闭的,而docker上的selinux却是开启的,因此docker运行时会产生如上错误。 解决方案无非是要么都关闭,要么都开启 推荐修改 /etc/selinux/config 将 SELINUX=disabled 改
Linux 连接 mysql 提示 Can’t connect to local MySQL server through socket /tmp/mysql.sock原因是my.cnf配置文件中设置了[mysqld]的参数socket,而没有设置[client]的参数socket 123456[mysqld]socket=/usr/local/mysql/data/mysq
The server requested authentication method unknown to the client连接 mysql 8.0 数据库,caching_sha2_password 是默认的身份验证插件,而不是以往的 mysql_native_password 12345678910111213141516mysql - uroot - p--使用用户名密码登录 mysq
在 Linux 关闭 SELinux 的方法 临时关闭:输入命令 1setenforce 0 永久关闭:输入命令 12vi /etc/selinux/config将 SELINUX=enforcing 改为 SELINUX=disabled
在 Linux 虚拟机中手动安装 VMware Toolshttps://docs.vmware.com/cn/VMware-Workstation-Pro/14.0/com.vmware.ws.using.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html