Debian - Faq

 

Questions:

  1. How to check how many open files are opened in system and what is the limit?
  2. how to force squid to use "search" list from resolv.conf file?
  3. How to reload inittab without rebooting system?
  4. My system shows only 2 GB of RAM but there is 8GB installed?
  5. How to convert putty public key to ssh public key?
  6. How to manually rotate logs?
  7. How to set mysql to listen on all interfaces instead of 127.0.0.1 ?
  8. How to bypass url in squid?

 

Answers:

  1. "cat /proc/sys/fs/file-nr".
    First number says about open files, the third about limit.
  2. Change option "dns_defnames" to on.
    Generally Squid trict every query as a FQDN. If you want to use only "hostnames" in your browser you have to change this option for using suffixes.
  3. Type command "init q".
  4. Install linux-image-2.6-686-bigmem(dla wersji 2.6),64-bits versions do not have that kind of problems.
  5. ssh-keygen -i -f putty_public_key > %h/.ssh/authorized_keys.
  6. logrotate -v -f /etc/logrotate/file_to_rotate.
  7. Comment line out in /etc/mysql/my.cnf #bind-address = 127.0.0.1 ,restart mysql
  8. configure:

acl bypass_urls dst ip_of_site or acl bypass_urls dstdomain domainname

always_direct allow bypass_urls

 

This site uses cookies. Some of the cookies we use are essential for parts of the site to operate and have already been set. You may delete and block all cookies from this site, but parts of the site will not work.