Linux Classes

Article in Linux Classes

How to use Vi editor

 

Step by step how to use Vi editor

 

   This article is made for basic guide to use vi editor to create and edit file on Linux system.  Please bear in mind that this vi editor guide only focusing on the basic step to use vi editor.

 

need to know: The vi mainly have 2 mode, the editing mode and command mode… the other is "ex" command.

 

The "ex" command start with colon (:). They are called "ex" commands because they are the ex text editor commands.

 


WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hostname'.

 

How to configure visible_hostname for squid

 

   When trying to stat squid proxy server you get WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hostname'. error message.... the best solution is to put fqdn inside squid configuration squid.conf file that usually loacated under /etc/squid/ directory.  The example below show how to put the visible_hostname for squid... 

 

 

Configure one or set visible_hostname.  

 


Fedora install caching dns server

 

Fedora install caching dns server (caching-nameserver).

 

   The step by step below show example on how to install caching-nameserver on Fedora Linux.  This example execute using on Fedora 15 server that configure to be caching dns server (caching nameserver) for local network.

 

Install caching dns server example:

 

1.  Log in on your Linux machine, and then su - to make sure you have sufficient privileges (root privileges) to install caching-nameserver.


Squid Block IP Address

 

Squid Block IP Address client

 

   The configuration example below show how you can instruct squid server to block IP Address (internal user IP Address) from using your squid proxy server.  The configuration example below show that you can block user by using their IP Address or you can instruct squid to block all IP Address ranges.

 

Step to block IP Address.

 

1.  login on your Linux Fedora system.

 


aaaaaaaaaaa
Syndicate content