What I am going to write below is how I configured squid and syslog-ng to send squid logs to mysql database, so that i can further analyze them. SQUID CONFIGURATION First I changed log format of squid access logs file by editing squid’s configuration file usually located at /etc/squid/squid.conf vi /etc/squid/squid.conf [...]
Currently Browsing
HowTo’s
HowTo: Spy on your Wife
When you have suspicions about your wife’s activities, there are discreet ways so you can investigate the situation. You don’t need to be a professional detective in order to become a sleuth. You simply need to use your powers of observation, common sense and instinct to be able to uncover [...]
HowTo: Make Cat 5 Twisted-Pair Network Cables
Most twisted-pair network setups use Category 5 cables, nicknamed CAT 5. This cable contains four pairs of twisted wires giving you eight wires that are individually insulated. The pairs are color coded. One wire has a solid color and the other is white with a stripe that is of the [...]
HowTo: Use DSL with a Wireless Laptop
There are plenty of advantages to owning a wireless laptop, especially considering the hectic lifestyle of most of the people today. A few years ago it may have been difficult to imagine, being able to bring your laptop from place to place yet still being able to use the Internet. [...]
HowTo: Design Your Local Area Network
You can design your own local area network at home if you need to hook up all your computers to the Internet or if you want a good gaming experience. Having a home network also allows the users on the different computers to share printers, files and programs. You must [...]
HowTo: Understand a Wife’s Unspoken Needs
In any relationship, communication is important in maintaining good rapport and relations between two individuals. This is especially the case in a married relationship. You and your wife need to be in constant communication with each other, so that you know each other’s needs, feelings and thoughts.
HowTo: Handle Salary Questions in an Interview
Salary questions asked during an interview serve two objectives. The questions help to weed out those job seekers who are simply looking for work outside the pay range that the interviewer is prepared to offer, and they give the interviewee a chance to undervalue their services, offering a salary that’s [...]
HowTo: Understanding software Installation using Linux CLI (configure, make, make install)
This tutorial is aimed at those who have just started using Linux. Generally when users from the Windows background enter the Linux scene,they are totally stumped by the software installation method. They were used to the luxury of double clicking on a single file and getting their software installed. But [...]
HowTo: Linux Image Magick (CLI)
ImageMagick is an ultra versatile tool that can manipulate images on the commandline. You will find it installed by default in most distros. Just to give you an idea what it can do, here is a few examples:
HowTo: Search Wikipedia Using Linux CLI
Use the following command: dig +short txt Montecarlo.wp.dg.cx Subsitute Monte Carlo for any other keyword you might want to see a short description of in your command line. You can also create a function to make it a little bit easier: In your .bashrc, for example, type: wiki() { dig +short [...]
