09 2019 档案

摘要:systemctl list-unit-files (查看开机启动项) systemctl list-unit-files | grep 程序名称 (查看某些服务开机启动状态) systemctl list-unit-files | grep enable (查看哪些为开机启动服务) 阅读全文
posted @ 2019-09-17 11:50 哦~杰克 阅读(6581) 评论(0) 推荐(0) 编辑
摘要:systemctl enable (服务名称) 阅读全文
posted @ 2019-09-16 17:52 哦~杰克 阅读(238) 评论(0) 推荐(0) 编辑
摘要:systemctl stop docker.service 停止docker进程 systemctl start docker.service 启动docker服务 阅读全文
posted @ 2019-09-16 14:52 哦~杰克 阅读(7063) 评论(0) 推荐(1) 编辑
摘要:docker rmi $(docker images -q) 删除所有镜像 阅读全文
posted @ 2019-09-16 14:42 哦~杰克 阅读(381) 评论(0) 推荐(0) 编辑
摘要:docker save $(docker images | grep -v REPOSITORY | awk 'BEGIN{OFS=":";ORS=" "}{print $1,$2}') -o haha.tar 将docker镜像打包成haha.tar ,然后将haha.tar存放指定的机器。 do 阅读全文
posted @ 2019-09-16 14:09 哦~杰克 阅读(1642) 评论(0) 推荐(0) 编辑
摘要:systemctl stop firewalld.service 关闭防火墙 systemctl start firewalld.service 开启防火墙 firewall-cmd --state 查看防火墙运行状态 systemctl disable firewalld.service 禁止开机 阅读全文
posted @ 2019-09-16 11:58 哦~杰克 阅读(729) 评论(0) 推荐(0) 编辑
摘要:rpm -ivh 包名 --force --nodeps (强制安装) 阅读全文
posted @ 2019-09-05 09:04 哦~杰克 阅读(273) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash auth=123456 echo " flushall " | redis-cli -a $auth wq (-a 指登陆Redis控制台输入的密码) 阅读全文
posted @ 2019-09-03 16:07 哦~杰克 阅读(1206) 评论(0) 推荐(0) 编辑

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