01 2018 档案

摘要:修改新密码:use mysql;update user set password='新密码' where user='用户名';flush privileges; 更新权限 增加新用户:grant select ,insert,update,delete on 数据库.表 to 用户名@登陆主机 i 阅读全文
posted @ 2018-01-30 11:21 暁呔陽 阅读(86) 评论(0) 推荐(0) 编辑
摘要:新加磁盘启动系统后,查看现有磁盘使用情况 命令 df -h 查看现有磁盘情况,我们发现系统已经有一个10G的磁盘sdb,这个磁盘共有1305个柱面,每个柱面大小是8225280 bytes (大约8M) 但是还没对其分区 命令 fdisk -l 对磁盘sdb进行分区: 命令:fdisk /dev/s 阅读全文
posted @ 2018-01-30 11:19 暁呔陽 阅读(804) 评论(0) 推荐(0) 编辑
摘要:一、准备工作 1、关闭防火墙 [root@localhost ~]# service iptables stop [root@localhost ~]# chkconfig iptables off 二、时间同步 1、在主数据库上安装ntp时间服务 [root@localhost ~]# yum - 阅读全文
posted @ 2018-01-24 12:03 暁呔陽 阅读(114) 评论(0) 推荐(0) 编辑
摘要:client 主LVS 从LVS WEB1 WEB2 2.2.2.250 2.2.2.10 2.2.2.20 2.2.2.30 2.2.2.40 lo:2.2.2.2 lo:2.2.2.2 一、配置LVS服务器(主-从两台) 1、配置IP [root@localhost ~]# vim /etc/s 阅读全文
posted @ 2018-01-23 11:09 暁呔陽 阅读(328) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示