01 2020 档案

摘要:网络基本配置文件 网络连接配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 #关联的设备名称 BOOTPROTO={static|dhcp|none|bootp} #表示引导协议static|none表示静态;dhcp表示动态 IP 阅读全文
posted @ 2020-01-30 20:57 丁海龙 阅读(238) 评论(0) 推荐(0)
摘要:RHEL/CentOS 6 把其中的id:3:initdefault中的3改为5,这样以后系统启动后将直接进入文本模式。以下是配置引导进入图形模式的etc/inittab文件的部分内容: #Default runlevel.The runlevels used by RHS are: # 0-hal 阅读全文
posted @ 2020-01-30 20:34 丁海龙 阅读(1192) 评论(0) 推荐(0)
摘要:我们在使用Red Hat系列与CentOS系列的Linux系统时经常要配置yum源,本文档提出一个快速配置yum源的方法,就是用shell脚本来实现。 首先确保系统已挂载好镜像文件,然后执行vim rhel7.repo.sh命令,这个命令是创建一个脚本。 在打开的文件中添加以下内 [root@lin 阅读全文
posted @ 2020-01-30 20:08 丁海龙 阅读(2557) 评论(0) 推荐(0)
摘要:RAID 5 + 备份盘 [root@linuxprobe ~]# mdadm -Cv /dev/md0 -n 3 -l 5 -x 1 /dev/sdb /dev/sdc /dev/sdf /dev/sdg mdadm: layout defaults to left-symmetric mdadm 阅读全文
posted @ 2020-01-16 21:08 丁海龙 阅读(607) 评论(0) 推荐(0)
摘要:RAID 10 [root@linuxprobe ~]# mdadm -Cv /dev/md0 -a yes -n 4 -l 10 /dev/sdb /dev/sdc /dev/sdd /dev/sde mdadm: layout defaults to n2 mdadm: layout defau 阅读全文
posted @ 2020-01-16 20:41 丁海龙 阅读(186) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-15 21:26 丁海龙 阅读(91) 评论(0) 推荐(0)
摘要:[root@linuxprobe ~]# yum install tftp-server tftp [root@linuxprobe ~]# vim /etc/xinetd.d/tftp service tftp { socket_type = dgram protocol = udp wait = 阅读全文
posted @ 2020-01-15 19:34 丁海龙 阅读(211) 评论(0) 推荐(0)
摘要:#!/bin/bash ################################################# # --Info # Initialization CentOS 7.x script ################################################# # Auther: shaonbean@qq.com # Changelog: # 20 阅读全文
posted @ 2020-01-15 08:54 丁海龙 阅读(184) 评论(0) 推荐(0)
摘要:#!/bin/bash################################################## --Info# Initialization CentOS 7.x script################################################ 阅读全文
posted @ 2020-01-15 08:52 丁海龙 阅读(279) 评论(0) 推荐(0)
摘要:服务端: 客户端: 阅读全文
posted @ 2020-01-14 09:02 丁海龙 阅读(136) 评论(0) 推荐(0)
摘要:配置SMB服务,并实现多用户SMB 挂载 描述:在服务端配置SMB服务,并通过SMB目录/haiyun 满足以下要求: 1、SMB 服务器:192.168.10.10 必须是 DING 工作组的一个成员2、共享 /haiyun 目录,共享名为 haiyun3、共享目录 haiyun 只能被 192. 阅读全文
posted @ 2020-01-13 19:37 丁海龙 阅读(217) 评论(0) 推荐(0)
摘要:分区——>格式化——>挂载 分区: 格式化: 挂载: 永久挂载: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 交换分区: 分区: 格式化: 挂载: 永久挂载: 阅读全文
posted @ 2020-01-10 22:35 丁海龙 阅读(140) 评论(0) 推荐(0)
摘要:Kickstart是一种无人值守的安装方式,其工作原理是预先把原本需要运维人员手工填写的参数保存成一个ks.cfg文件,当安装过程中需要填写参数时则自动匹配Kickstart生成的文件。 配置DHCP服务程序 DHCP服务程序用于为客户端主机分配可用的IP地址,而且这是服务器与客户端主机进行文件传输 阅读全文
posted @ 2020-01-10 22:35 丁海龙 阅读(338) 评论(0) 推荐(0)
摘要:正向代理(透明+ACL) 服务端: eno16777728: inet 192.168.10.10 主机模式 eno33554968: inet 192.168.1.180 桥接模式 客户端: Address 192.168.10.20 Netmask 255.255.255.0 Gateway 1 阅读全文
posted @ 2020-01-10 22:33 丁海龙 阅读(448) 评论(0) 推荐(0)
摘要:部署vsftpd服务程序 客户端工具: 匿名访问模式 本地用户模式: 虚拟用户模式: 阅读全文
posted @ 2020-01-10 22:33 丁海龙 阅读(120) 评论(0) 推荐(0)
摘要:服务端: 客户端: 阅读全文
posted @ 2020-01-10 22:32 丁海龙 阅读(148) 评论(0) 推荐(0)
摘要:RAID10: RAID5: 阅读全文
posted @ 2020-01-10 22:31 丁海龙 阅读(110) 评论(0) 推荐(0)
摘要:配置主机名称 [root@localhost ~]# vim /etc/hostname mail.linuxprobe.com [root@localhost ~]# hostname mail.linuxprobe.com 清空防火墙 [root@localhost ~]# iptables - 阅读全文
posted @ 2020-01-10 22:30 丁海龙 阅读(539) 评论(0) 推荐(0)
摘要:扩容: 缩容: 快照: 删除: 阅读全文
posted @ 2020-01-10 22:29 丁海龙 阅读(167) 评论(0) 推荐(0)
摘要:创建RAID10磁盘阵列 配置iSCSI服务端 配置Linux客户端 阅读全文
posted @ 2020-01-10 22:28 丁海龙 阅读(200) 评论(0) 推荐(0)
摘要:部署dhcpd服务程序 自动管理IP地址 分配固定IP地址 阅读全文
posted @ 2020-01-10 22:26 丁海龙 阅读(117) 评论(0) 推荐(0)
摘要:部署主服务器 主服务器: 部署从服务器 主服务器: 从服务器: 安全的加密传输 主服务器: 从服务器: 阅读全文
posted @ 2020-01-10 22:21 丁海龙 阅读(155) 评论(0) 推荐(0)
摘要:安装: 虚拟网站主机功能 基于IP地址 基于主机域名 基于端口号 阅读全文
posted @ 2020-01-10 22:00 丁海龙
摘要:安装.rpm包一般命令: rpm -ivh *.rpm 安装.rpm包一般命令: rpm -ivh *.rpm 出现:error: Failed dependencies:....的安装命令: rpm -ivh *.rpm --nodeps --force 1.--nodeps就是安装时不检查依赖关 阅读全文
posted @ 2020-01-07 12:52 丁海龙 阅读(2446) 评论(0) 推荐(0)
摘要:操作环境 RHEL/Centos 6/7,在进行内核编译时编译器版本,需要升级gcc编译器,选择gcc-7.3.0。 http://ftp.gnu.org/gnu/gcc 里面提供所有的gcc版本供下载。 1、查看当前RHEL/Centos版本: [root@linuxprobe ~]# cat / 阅读全文
posted @ 2020-01-05 19:24 丁海龙 阅读(34169) 评论(1) 推荐(0)