第一步:echo "S0:12345:respawn:/sbin/agetty/ ttyS0 115200" >> /etc/inittab第二步:echo "ttyS0" >> /etc/securetty第三步:在/etc/grub.conf文件中为内核添加参数:console=ttyS0cat /etc/grub.conf# grub.conf generated by anaconda## Note that you do not have to rerun grub after making c...【阅读全文】
点击(此处)折叠或打开#!/bin/bash#This script is used to check the games info#divce_infodivce_info (){echo -e "\033[1;31m---------------Begin check hardware divce---------------\033[0m"...【阅读全文】
1.修改/etc/my.cnf 在[mysqld]下添加一行skip-grant-tables。2.保存配置文件,重启mysql服务/etc/init.d/mysql restart.3.再次进入MySQL命令行 mysql -uroot -p,输入密码时直接回车,就会进入MySQL数据库了,这个时候按照常规流程修改root密码即可4.回车后进入到mysql界面,输入use mysql回车。随后写UPDATE user SET Pa...【阅读全文】