摘要: 一、扩容ext4文件 [root@centos8 ~]#vgdisplay 查看逻辑卷空间 [root@centos8 ~]#lvextend -l +50%free /dev/vg0/mysql 增加%50 [root@centos8 ~]#lvdisplay 查看是否增加了内存 [root@ce 阅读全文
posted @ 2023-05-14 18:19 最拉的刺客 阅读(71) 评论(0) 推荐(0)
摘要: 1.显示当前主机的主机名:hostname 2.执行的程序:ps aux 3.过滤程序:hostname | grep bash 4.shell类型: echo $SHELL 5.当前支持的shell类型:cd /etc/shells 6.安装shell : yum -y install csh 7 阅读全文
posted @ 2023-05-14 16:27 最拉的刺客 阅读(24) 评论(0) 推荐(0)
摘要: 1.查看当前机器地址:hostname -I 2.远程登录命令: ssh root@ip 端口 3.重启:reboot 4.关机:poweoff 5.切换用户 sudo -i 或sudo su 6.占用内存:free -h 7.关掉图形页面:init 3 8.开启图形页面:init 5 9.当前是图 阅读全文
posted @ 2023-05-14 16:27 最拉的刺客 阅读(20) 评论(0) 推荐(0)
摘要: 一、虚拟机硬件配置 1.CPU:2核或更多 2.内存:1G以上,推荐2G。 3.硬盘:一块硬盘,200G。 4.网卡:NAT模式。 5.光盘:挂载对应版本的ISO文件。 二、ISO下载地址: Centos http://mirrors.aliyun.com http://mirrors.sohu.c 阅读全文
posted @ 2023-05-14 16:26 最拉的刺客 阅读(134) 评论(0) 推荐(0)