您的位置:首页 > 运维架构 > Linux

linux时间同步

2017-01-12 14:58 260 查看
ntpdate time.windows.com

rz命令 yum -y install lrzsz

file -s /dev/sda1 查看文件系统类型

mount -no remount,ro /挂载根分区 只读方式

mount -o remount, rw / 挂载根分区

mysql用户授权

授权格式:grant 权限 on 数据库.* to 用户名@登录主机 identified by "密码";

grant all privileges
on testDB.* to test@localhost identified by '1234';

flush
privileges;//刷新系统权限表

如果想指定部分权限给一用户,可以这样来写:

mysql>grant select,update on testDB.* to test@localhost identified by '1234';

director,balancer,dispatcher调度器

dr=dirctor
routing

yum clean all

yum list

nfs端口2049

squid端口3128
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: