`

local host 和 IP 相关的配置文件

阅读更多

位置

 

C:/Windows/system32/drivers/etc/

 

文件名 :hosts

 

内容

 

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost

分享到:
评论

相关推荐

    linux系统下网卡和路由的配置

     手工方法是在以太网卡已装入的情况下编辑配置文件来配置网络的方法。具体步骤如下: 1.编辑/etc/rc.d/rc.local文件  在该文件中加入类似下列各行(#号以后为注释,下同):  #配置第一个以太网卡eth0的IP地址...

    local-wpcli:CLI一个CLI,可使用Flywheel在Local网站上配置WP-CLI

    在创建配置文件之前,它将要求: 远程主机(IP地址) 远端埠 :backhand_index_pointing_right: 注意:您可以在Flywheel桌面应用程序的“本地”网站的“ DATABASE选项卡中找到“ Remote Host和Port 。 请参考以下...

    Ssh Secure Shell配置与管理

    •Ssh1的配置文件:/etc/ssh_config Sshd1的配置文件:/etc/sshd_config #长的这个样子: Port 22 ListenAddress 0.0.0.0 HostKey /etc/ssh_host_key RandomSeed /etc/ssh_random_seed ServerKeyBits 768 ...

    nginx 反向代理软件

    local.windons.com.conf该文件为具体反向代理配置文件, 文件名随便起, 内容: server { listen 80; root /; server_name local.windons.com; -----> 代理目标地址,...

    mysql数据库my.cnf配置文件

    当open_files_limit没有被配置的时候,比较max_connections*5和ulimit -n的值,哪个大用哪个, # 当open_file_limit被配置的时候,比较open_files_limit和max_connections*5的值,哪个大用哪个. table_open_cache = ...

    Linux FTP服务配置

    最终权限等于配置文件中的权限和linux文件系统权限相或的结果。比如vsftp配置文件中允许匿名用户下载,但光这样是不够的,还需要被下载的文件或文件夹的能够被其他用户读取。 尝试上传文件失败,符合匿名用户只允许...

    ap6212a0_a33_sc3817r_神舟验证版本_借用nvram_ap6210这个配置文件_20170626_1834没有外层目录.7z

    # frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml # 3G Data Card Packages #PRODUCT_PACKAGES += \ # u3gmonitor \ # chat \ # rild \ # pppd...

    host-admin:在CLI中管理主机

    添加一个配置host.add({ ip : '127.0.0.1', domain : 'local.host.com', comment : 'comment'});写入hosts文件//系统hosts文件host.writeFile();//指定文件var path = '/myHostPath/hosts

    路由器配置实例--100例

    Router(Config)# access-list 107 deny ip host 192.168.1.254 host 192.168.1.254 Router(Config)# access-list 107 permit ip any any Router(Config)# interface eth 0/2 Router(Config-if)# ip address 192.168...

    publish-ssh2:自动读取配置文件,根据配置信息先将代码压缩,然后再发布到服务器,最后在服务器进行解压

    "host": "",//服务器ip "user": "",//用户名 "port": "",//端口 "password": "",//密码 "remoteDir": ""//代码在服务器端的存放路径 } ] } 功能点说明: 1、初始化项目 2、生成部署配置文件模板 3、根据指定...

    企业级Linux服务攻略

    1.2.6 网卡配置文件 1.2.7 setup命令 1.2.8 修改resolv.conf设置DNS 1.3 网络环境测试 1.3.1 ping命令检测网络状况 1.3.2 netstat命令 1.3.3 nslookup测试域名解析 1.4 本章习题 第2章 Samba服务 2.1 Samba原理 ...

    中小企业服务器配置方案.doc

    /var/named/ip2name.conf 系统没有,管理员创建 /etc/named.boot 系统自带,不需要修改 /etc/host.conf 系统自带,不需要修改 /etc/nsswitch.conf 系统自带,不需要修改 /var/named/named.local 系统自带,不需要...

    cmd操作命令和linux命令大全收集

    ping -t -l 65550 ip 死亡之ping(发送大于64K的文件并一直ping就成了死亡之ping) ipconfig (winipcfg) 用于windows NT及XP(windows 95 98)查看本地ip地址,ipconfig可用参数“/all”显示全部配置信息 tlist -t 以...

    Linux-FTP配置说明及安装源文件

    vsftpd可以为不同的虚拟用户创建不同的单独的配置文件,来实现不同的功能,思想就是:可以为不同的虚拟用户对应不同的实体用户,从 而实现不能的功能。 [root@redhat pam.d]# vi /etc/vsftpd/vsftpd.conf 加入以下...

    CISCO 技术大集合

    建立动态地址翻译 ip nat inside source {list {access-list-number | name} pool name [overload] | static local-ip global-ip} 指定内部和外部端口 ip nat {inside | outside} 如下图所示, 路由器的Ethernet ...

    !!!!ap6212a0_a33_sc3817r_验证通过_修正wifi的配置文件为nvram_ap6212.txt

    (以后重新解压缩SDK的时候,直接导入这个.config文件即可!) 2、(这个不修改:) Q:\a33\ap6212a0_a33_sc3817r\android\device\softwinner\astar-y3\overlay\frameworks\base\core\res\res\values\config.xml...

    精通windows server 2008 命令行与powershell 电子书PDF单文件完整版

    本书全面地介绍了Windows Server 2008命令行、PowerShell和脚本的使用,包括文件和文件夹的管理、磁盘管理、系统管理、活动目录管理、网络管理、网络服务管理、系统诊断、故障恢复、系统安全、批处理和配置文件,...

    ELK6.2.4搭建

    编写配置文件(名字和位置可以随意,这里我放在config目录下,取名为log_app.conf): 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 vi config/log_app.config #以下为内容 input { file { path => "/...

    linux.chm文档

    rpm -qc package_name 显示一个已经安装的rpm包提供的配置文件列表 rpm -q package_name --whatrequires 显示与一个rpm包存在依赖关系的列表 rpm -q package_name --whatprovides 显示一个rpm包所占的体积 rpm -q...

    LINUX FTP设置方法

    vsftpd可以为不同的虚拟用户创建不同的单独的配置文件,来实现不同的功能,思想就是:可以为不同的虚拟用户对应不同的实体用户,从 而实现不能的功能。 [root@redhat pam.d]# vi /etc/vsftpd/vsftpd.conf 加入...

Global site tag (gtag.js) - Google Analytics