2016年6月16日

博客地址迁移到51cto

摘要: http://wjb10000.blog.51cto.com 阅读全文

posted @ 2016-06-16 12:16 随风☆飘扬 阅读(127) 评论(0) 推荐(0) 编辑

2016年6月7日

配置PPTP服务器

摘要: 1、验证内核是否加载了MPPE模块: modprobe ppp-compress-18 && echo MPPE is ok 2、安装所需的软件包: yum -y install ppp wget ftp://rpmfind.net/linux/epel/7/x86_64/p/pptpd-1.4.0 阅读全文

posted @ 2016-06-07 14:15 随风☆飘扬 阅读(859) 评论(0) 推荐(0) 编辑

配置NTP时间服务器

摘要: 一.安装ntp软件 1.检查是否安装了ntp相关包。 rpm -qa | grep ntp 2.安装ntp软件。 yum -y install ntp 二.参数讲解 ignore :关闭所有的 NTP 联机服务 nomodify:客户端不能更改服务端的时间参数,但是客户端可以通过服务端进行网络校时。 阅读全文

posted @ 2016-06-07 14:15 随风☆飘扬 阅读(9576) 评论(0) 推荐(0) 编辑

配置NFS服务器

摘要: [root@wjb10000 ~]# mount -t nfs 192.168.1.50:/home /home [root@wjb10000 ~]# df -hT 文件系统 类型 容量 已用 可用 已用% 挂载点 /dev/sda3 xfs 20G 57M 20G 1% / devtmpfs de 阅读全文

posted @ 2016-06-07 14:14 随风☆飘扬 阅读(229) 评论(0) 推荐(0) 编辑

配置ISCSI服务器

摘要: [root@wjb10000 ~]# targetcli Warning: Could not load preferences file /root/.targetcli/prefs.bin. targetcli shell version 2.1.fb41 Copyright 2011-2013 阅读全文

posted @ 2016-06-07 14:13 随风☆飘扬 阅读(1326) 评论(0) 推荐(0) 编辑

RHEL7和RHEL6的主要变化

摘要: RHEL7和RHEL6的主要变化 RHEL7 RHEL6 文件系统 XFS EXT4 内核版本 3.10.x-x系列 2.6.x-x系列 内核名称 Maipo Santiago 发布时间 2014-06-09(3.10.0-123) 2010-11-09(2.6.32-71) 进程名称 system 阅读全文

posted @ 2016-06-07 14:12 随风☆飘扬 阅读(7774) 评论(0) 推荐(1) 编辑

systemd添加自定义系统服务设置自定义开机启动

摘要: [Unit] Description=nginx - high performance web server Documentation=http://nginx.org/en/docs/ After=network.target remote-fs.target nss-lookup.target 阅读全文

posted @ 2016-06-07 14:11 随风☆飘扬 阅读(26421) 评论(2) 推荐(2) 编辑

RHEL7使用ssm命令管理LVM

摘要: [root@localhost ~]# sudo ssm list //物理设备 Device Free Used Total Pool Mount point /dev/sda 50.00 GB PARTITIONED /dev/sda1 500.00 MB /boot /dev/sda2 2.0 阅读全文

posted @ 2016-06-07 14:10 随风☆飘扬 阅读(1517) 评论(0) 推荐(0) 编辑

LVM命令摘要

摘要: 命令 描述 物理卷(PV) pvcreate 创建LVM磁盘 #pvcreate /dev/sdb pvdisplay 显示卷组中的物理卷信息 pvchange 设置PV的性能,允许或拒绝从磁盘上分配另外的PE #pvchange -x n /dev/sdb3 pvmove 在一个卷组中从源到目的移 阅读全文

posted @ 2016-06-07 14:09 随风☆飘扬 阅读(400) 评论(0) 推荐(0) 编辑

Linux用户磁盘配额

摘要: 一:内核中支持QUOTA: [root@localhost /]# grep CONFIG_QUOTA /boot/config-3.10.0-123.el7.x86_64 CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y # CONFIG_QUOTA_ 阅读全文

posted @ 2016-06-07 14:08 随风☆飘扬 阅读(2963) 评论(0) 推荐(0) 编辑

Linux磁盘分区实战案例

摘要: 一.查看新添加磁盘 [root@localhost /]# fdisk -l 磁盘 /dev/sda:53.7 GB, 53687091200 字节,104857600 个扇区 Units = 扇区 of 1 * 512 = 512 bytes 扇区大小(逻辑/物理):512 字节 / 512 字节 阅读全文

posted @ 2016-06-07 14:06 随风☆飘扬 阅读(288) 评论(0) 推荐(0) 编辑

通过yum升级CentOS/RHEL最小化安装

摘要: 1.如果你有安装CentOS / RHEL最小服务器安装,您可能有很多麻烦没有安装包 2.有一种方法来安装所有的包,需要一个基本的服务器,使用yum groupinstall命令 3.从最小的安装基本升级你的服务器 # yum groupinstall "Base" 4.升级你的系统Web服务器 # 阅读全文

posted @ 2016-06-07 14:05 随风☆飘扬 阅读(305) 评论(0) 推荐(0) 编辑

RHEL7下PXE+FTP+Kickstart无人值守安装操作系统

摘要: 1.配置yum源 vim /etc/yum.repos.d/development.repo [development] name=yum server baseurl=file:///mnt enabled=1 gpgcheck=0 2.挂载光盘 mount /dev/sr0 /mnt 3.安装相 阅读全文

posted @ 2016-06-07 14:01 随风☆飘扬 阅读(553) 评论(0) 推荐(0) 编辑

配置VSFTP服务器

摘要: 一、Linux FTP服务器分类: <1>wu-ftp <2>proftp=profession ftp <3>vsftp=very security ftp 配置文件: /etc/vsftpd/vsftpd.conf //主配置文件 /etc/vsftpd.ftpusers //被禁止登录FTP的 阅读全文

posted @ 2016-06-07 14:00 随风☆飘扬 阅读(343) 评论(0) 推荐(0) 编辑

RHEL7下PXE+NFS+Kickstart无人值守安装操作系统

摘要: RHEL7下PXE+NFS+Kickstart无人值守安装操作系统 1.配置yum源 vim /etc/yum.repos.d/development.repo [development] name=yum server baseurl=file:///mnt enabled=1 gpgcheck= 阅读全文

posted @ 2016-06-07 13:55 随风☆飘扬 阅读(1399) 评论(0) 推荐(0) 编辑

RHEL7下PXE+Apache+Kickstart无人值守安装操作系统

摘要: RHEL7下PXE+Apache+Kickstart无人值守安装操作系统 1.配置yum源 vim /etc/yum.repos.d/development.repo [development] name=yum server baseurl=file:///mnt enabled=1 gpgche 阅读全文

posted @ 2016-06-07 13:37 随风☆飘扬 阅读(1219) 评论(0) 推荐(0) 编辑

导航