上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 53 下一页
摘要: 在类Unix系统中,/dev/null,或称空设备,是一个特殊的设备文件,它丢弃一切写入其中的数据(但报告写入操作成功),读取它则会立即得到一个EOF[1]。 在程序员行话,尤其是Unix行话中,/dev/null被称为bit bucket[2]或者黑洞。 空设备通常被用于丢弃不需要的输出流,或作为 阅读全文
posted @ 2016-03-17 10:42 圆旭 阅读(324) 评论(0) 推荐(0) 编辑
摘要: ls -la /dev/tty shows the output: The 'c' means it's a character device. tty is a special file representing the 'controlling terminal' for the current 阅读全文
posted @ 2016-03-17 10:40 圆旭 阅读(250) 评论(0) 推荐(0) 编辑
摘要: sed -i '2a\this is a test line' test.conf 就是在test.conf中的第二行下边加上一行"this is a test line" 把一个文件的内容插入另一个文件: sed -i '2 r file1' file2 2代表插到第二行下边 替换文件中的 pro 阅读全文
posted @ 2016-03-16 17:26 圆旭 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1) 需要配置/etc/cobbler/module.conf, 把manage_dns和manage_dhcp改为manage_dnsmasq 2) 重启cobbler和dnsmasq服务,dnsmasq总是不成功,原因是之前提供dns服务和dhcp服务的named和dhcpd进程还在占用着相应的 阅读全文
posted @ 2016-03-16 14:27 圆旭 阅读(3488) 评论(0) 推荐(0) 编辑
摘要: Cobbler is a Linux provisioning server that facilitates and automates the network-based system installation of multiple computer operating systems fro 阅读全文
posted @ 2016-03-16 09:49 圆旭 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Dnsmasq是一个开源的轻量级DNS转发和DHCP、TFTP服务器,使用C语言编写。Dnsmasq针对家庭局域网等小型局域网设计,资源占用低,易于配置。支持的平台包括Debian、Fedora、Smoothwall、IP-Cop、floppyfw、Firebox、LEAF、Freesco, fli 阅读全文
posted @ 2016-03-16 09:26 圆旭 阅读(502) 评论(0) 推荐(0) 编辑
摘要: Ctrl+Alt+F1(或者F2~F6总共可以同时开6个text mode界面并行工作) Ctrl+Alt+F7切换到图形界面 阅读全文
posted @ 2016-03-15 14:19 圆旭 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 如:# systemctl enable dnsmasq 阅读全文
posted @ 2016-03-15 09:33 圆旭 阅读(278) 评论(0) 推荐(0) 编辑
摘要: On CentOS 7, we have found without downloading the epel-release RPM package(as we used to do on previous O.S releases), we can install it by using yum 阅读全文
posted @ 2016-03-15 09:13 圆旭 阅读(202) 评论(0) 推荐(0) 编辑
摘要: CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载 成功安装之后重启mysql服务 设置密码的方法初次安装mysql是root账户是没有密码的   转自: http://www.centoscn.com/mysql/2014/0930/3881.h 阅读全文
posted @ 2016-03-14 18:03 圆旭 阅读(223) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 53 下一页