随笔分类 -  Liunx

摘要:1 - 在启动grub菜单,选择编辑选项启动 2 - 按键盘e键,来进入编辑界面 3 - 找到Linux 16的那一行,将ro改为rw init=/sysroot/bin/sh 如果用的是kvm做了console连接授权,还要把授权的console=ttyS0去掉 4 - 现在按下 Control+ 阅读全文
posted @ 2018-07-25 09:21 fcing 阅读(12882) 评论(0) 推荐(0)
摘要:Account locked due to failed logins 方法一: 使用root用户登陆后执行: pam_tally2 --user=username --reset 方法二: usermod -U 阅读全文
posted @ 2018-07-25 09:16 fcing 阅读(1142) 评论(0) 推荐(0)
摘要:逻辑卷不是根分区都可以在线扩容和缩小 根分区是可以在线扩容,但不可以在线缩小 Linux系统进入救援模式 依次选择: 欢迎界面 Rescue installed system Chose a Language English Keyboard Type us Rescue Method Local 阅读全文
posted @ 2018-07-24 23:54 fcing 阅读(3230) 评论(0) 推荐(1)
摘要:1. 软件包 1.1. dpkg 1.2. Apt-Get 1.2.1. apt的相关文件 /etc/apt/sources.list 设置软件包的获取来源 /etc/apt/apt.conf apt配置文件 /etc/apt/apt.conf.d/ apt的零碎配置文件 /etc/apt/pref 阅读全文
posted @ 2018-07-23 22:04 fcing 阅读(694) 评论(0) 推荐(0)