Jump to content
GIGN Forum

Web Bloks


maverick
 Share

Recommended Posts

1)Start->Run->cmd

2) raksti komanda ping

un aiz taas 127.0.0.1 draugiem.lv

127.0.0.1 www.draugiem.lv

ir veel varianti bet caur C:\WINDOWS\system32\drivers\etc?. atver ar notepad.,.mosh ieraugot sapratiisi

Edited by litrs
Link to comment
Share on other sites

1)Start->Run->cmd

2) raksti komanda ping

un aiz taas 127.0.0.1 draugiem.lv

127.0.0.1 www.draugiem.lv

ir veel varianti bet caur C:\WINDOWS\system32\drivers\etc?. atver ar notepad.,.mosh ieraugot sapratiisi

Iisti neierubiiju. Negribi visu peec kaartas, tipa kad spiest enter utt. smile.gif

P.S. Kurs fails jaaskataas ieksh ect?

Link to comment
Share on other sites

Kā paātrināt lapas ielādi rediģējot hosts failu?

Parasti visi runā par to kā var nobloķēt lapu izmantojot host failu, taču šoreiz galvenokārt runāsim par lapas ielādes paātrināšanu.

Atveram hosts failu izmantojot notepad. Windows Xp tas atrodas mapē ?C:\WINDOWS\system32\drivers\etc?.

Faila saturs izskatās šādi:

# Copyright © 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

Varam sākt rediģēt failu.

Pieņemsim, ka mēs vēlamies paātrināt vairāku adrešu ielādi:

www.ass.lv

www.ss.lv

www.24.lv

Lai to izdarītu mums zem 127.0.0.1 ir jāraksta lapas IP, bet zem localhost domeins.

Šajā gadījumā hosts fails izskatīsies šādi:

# Copyright © 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

195.13.160.54 ass.lv

195.13.160.54 www.ass.lv

194.105.56.170 ss.lv

194.105.56.170 www.ss.lv

159.148.95.74 24.lv

159.148.95.74 www.24.lv

Starp IP adresi un domeinu ir jābūt vismaz vienai atstarpei.

Lai uzzinātu domeina IP rīkojamies šādi:

Start->Run->cmd

Rakstām komandu ping www.ass.lv

Ja ir vēlēšanās nobloķēt kādu lapu, piemēram face.lv, jo sekretāres nestrādā, tad rakstām šādu rindiņu:

127.0.0.1 face.lv

127.0.0.1 www.face.lv

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...