Linux下常用网络文件
1). /etc/sysconfig/network
主要用于设置主机名称(Host Name)以及能否启动Network。变动此文件后需重启Linux才能生效。
2). /etc/sysconfig/network-scrips/ifcfg-eth0
设置网卡参数,如GATEWAY,TYPE,DEVICE,NETMASK,IPADDR,USERCTL等...
3). /etc/resolv.conf
如果要设置DNS功能进行主机名称和IP的对应。那么resolv.conf就是设计DNS IP(名称解析服务器)的文件了。这个非常重要。
4). /etc/hosts
这个文件记录了IP对应的计算机名称或别名。
5). /etc/services
这个文件记录了架构在TCP/TP上的所有协议,如HTTP、HTTPS、FTP、SSH、TELENT等服务定义的端口,如果你想改变这些服务的端口就直接改这里吧!记得保存啊。
6). /etc/protocols
这个文件用于定义IP数据包协议的相关数据,如ICMP、TCP、UDP等方面的数据包协议的定义。
相关文档:
/*
* linux/fs/fcntl.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#include <fcntl.h>
#include <sys/stat. ......
/*
* linux/fs/inode.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <sys/stat.h> // 文件状态头文件
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/system.h>
......
/*
* ioctl.c 文件实现了输入/输出控制系统调用ioctl(),该函数
* 主要是调用函数tty_ioctl()对终端的IO进行控制
*/
/*
* linux/fs/ioctl.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <errno.h>
#include <s ......
V] 零起点学习Linux系列培训视频 -1 (寒冰作品)
http://www.boobooke.com/v/bbk1301
[V] 零起点学习Linux系列培训视频 -2 (寒冰作品)
http://www.boobooke.com/v/bbk1304
[V] 零起点学习Linux系列培训视频 -3 (寒冰作品)
http://www.boobooke.com/v/bbk1305
[V] 零起点学习Linux系列培训视频 -4 (寒冰作品)
......
linux下 mysql 的卸载和安装
关键字: linux下 mysql 的卸载和安装
一、前期准备:
1
.由于redhat Enterprise 5 中自带一个mysql的版本,如果在安装linux前未选择mysql的安装此步就可跳过,因为我当时安装了现在将其卸载
,步骤如下:
&nb ......