摘要: 一:安装cobbler、httpd yum install -y cobbler httpd 二:启动cobbler、httpd systemctl start cobblerd.service systemctl start httpd.service 三:创建cobbler的配置环境 cobbl 阅读全文
posted @ 2017-09-09 20:13 ~小学生~ 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 外网网卡:192.168.23.10, 内网网卡:192.168.10.2 首先对于tftp服务的简要使用说明 (1)yum安装:tftp、tftp-server (2)启动tftp CentOS 6 service xinetd restart chkconfig tftp on CentOS 7 阅读全文
posted @ 2017-09-09 20:10 ~小学生~ 阅读(255) 评论(0) 推荐(0) 编辑
摘要: (1)yum安装:tftp、tftp-server (2)启动tftp CentOS 6 service xinetd restart chkconfig tftp on CentOS 7 systemctl start tftp.socket systemctl enable tftp.socke 阅读全文
posted @ 2017-09-09 20:06 ~小学生~ 阅读(771) 评论(0) 推荐(0) 编辑
摘要: DHCP服务详解 ARP协议 arp: address resolveing protocol (地址解析协议) 实现:IP地址 -> Mac地址 RARP协议 rarp: reverse address resolveing protocol (反地址解析协议) 实现:Mac地址 -> IP地址 阅读全文
posted @ 2017-09-09 20:05 ~小学生~ 阅读(702) 评论(0) 推荐(0) 编辑
摘要: yum 安装:tftp tftp-server (2)启动tftp CentOS 6 service xinetd restart chkconfig tftp on CentOS 7 systemctl start tftp.socket systemctl enable tftp.socket 阅读全文
posted @ 2017-09-09 19:48 ~小学生~ 阅读(554) 评论(0) 推荐(0) 编辑
摘要: kickstart文件详解 # Kickstart file automatically generated by anaconda. # 指定安装,不是升级 install # 指定是光盘安装 cdrom # 指定语言类型 lang zh_CN.UTF-8 # 指定键盘类型 keyboard us 阅读全文
posted @ 2017-09-09 15:21 ~小学生~ 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 方法一:直接安装grub (1)先把MBR拷贝一份 dd if=/dev/sda of=/tmp/mbr count=1 bs=512 (2)然后再破坏 dd if=/dev/zero of=/dev/sda count=1 bs=100 sync (3)重新安装grub程序 grub-instal 阅读全文
posted @ 2017-09-09 13:53 ~小学生~ 阅读(509) 评论(0) 推荐(0) 编辑
摘要: (1)先关机 (2)添加一块硬盘 (3)将硬盘分区,/dev/sdb1为boot分区,/dev/sdb2为swap分区, /dev/sdb3为根分区 (4)调整/dev/sdb2的分区类型为82,指定为swap分区 (5)给/dev/sdb1、/dev/sdb3创建ext4创建文件系统,给/dev/ 阅读全文
posted @ 2017-09-09 13:52 ~小学生~ 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: ifconfig 命令 ip信息 enp0s3: flags=4163<UP(已经启用),BROADCAST(支持广播),RUNNING,MULTICAST(支持多播)> mtu 1500 inet 192.168.23.11 netmask 255.255.255.0 broadcast 192. 阅读全文
posted @ 2017-09-09 13:27 ~小学生~ 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 主从配置过程 主节点 (192.168.23.10) (1)编译配置文件,启动二进制日志 ,为当前节点设置一个全局唯一的id号 编辑/etc/my.cnf,添加如下信息 log_bin=/data/binlog/master-bin (一定要让mysql用户对/data/binlog有读写权限) s 阅读全文
posted @ 2017-09-02 20:38 ~小学生~ 阅读(179) 评论(0) 推荐(0) 编辑