mysql使用yum安装时,默认的数据是存储在/var/lib/mysql下.一般情况下,为了数据的安全性,建议将mysql数据库的数据文件存储在系统的第二块磁盘上的目录下可以按照以下步骤进行操作: 1.关闭selinux和mysqld sed -i 's/enforcing/disabled/g' /etc/selinux/config setenforce 0 service mysqld stopchkconfig mysqld off 2.挂载系统第二块硬盘/dev/sdb并编辑/etc
Centos6更改网卡名的方法: 1.修改皮配置文件/etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep e