Installing and Configuring Squid Proxy Cache Server

Squid is a proxy caching server. You can use squid in effective way, so that you can control the internet access over your network.

In Fedora, you can install the squid proxy cache server by just typing the following command, its available in the fedora main repo itself.

$ sudo yum install squid

Before starting the squid server you need to configure it with the help of this configuration file in ‘/etc/squid/squid.conf’.

In this scenario, I have a proxy server running in background which will respond to specific ip’s (LAN) and forward to a defined gateway. Using the gateway, all the hosts from my all LAN can reach internet.

What my system (proxy server) has to do is, to listen in a specified port ‘3128’ and forward the requests to the gateway.

My Gateway : 10.2.4.85
My IP Address : 192.168.1.4

Add the following things to that ‘squid.conf’ :
>>
acl localnet src 192.168.1.0/24
http_access allow localnet
http_port 3128
<>
acl RestrictedSites dstdomain “/etc/squid/restricted_sites”
http_access deny RestrictedSites
<<

#cat /etc/squid/restricted_sites
facebook.com
orkut.com
twitter.com
youtube.com

Advertisements

Conflicts in Shared Library

If you are migrated from 32 bit OS (Linux) to 64 bit OS, you may faced some problems with shared libraries. Most of the open source applications are developed in 32 bit OS and ported to 64 bit OS.

More of the people having wrong thought about the use of 64 bit OS. We don’t need 64 bit programs to run on 64 bit OS. Then, you can why we are facing many issues regarding 64 bit shared libraries. This is because of the incompatible use of shared libraries.

That means, you have 32 bit library which depends on 64 bit libraries. This will cause problems.

Recently i faced this issue in fedora 64 bit os, i solved this by installing all required 32 bit shared libraries.

For example : I have libstdc++.i386 and libstdc++.x86_64 shared libraries.
This doesn’t cause any issues. If you are facing any issues or conflicts means, that shared library is not strictly followed the standards of the shared libraries.

Enabling Android USB Debugging in Fedora

To Enable USB Debugging, Enable it in the Android device by Applications–>Development–>Enable USB Debugging.

Then you need to add the following file (rule) to the udev rules directory :

su –
vi /etc/udev/rules.d/99-android.rules

Add the following code to this file :

SUBSYSTEM==”usb”,SYSFS{idVendor}==”04e8″,SYMLINK+=”android_adb”,MODE=”0666″

Here idVendor means your device vendor, so change it accordingly. For more details, refer this

http://developer.android.com/guide/developing/device.html

After saving this file, run this command to reload the udev rules.

udevcontrol reload_rules

After that, Everything will work!…

Red Hat Claims Leadership

Counting Linux users is no easy task since there is typically no requirement for users to register their installations. Yet Linux distributions do try and count users in an attempt to quantify their user base and relative footprint in the operating systems space.

Red Hat’s Fedora community Linux distribution has now tallied its user base, and it’s a number that on the surface would make it the largest installed base of any Linux distribution, with at least 9.5 million users and possibly as many as 10.5 million. Fedora competitor Ubuntu Linux currently claims to have 8 million users.

“The total number of users has always been an incredibly difficult number to measure,” Paul Frields, Fedora’s project leader, told InternetNews.com. “If you total up all the unique IP’s … on Fedora 7, 8 and 9, it adds up to about 9.5 million boxes right now.”

The Fedora figures come out as the major players in Linux continue jockeying for position as the dominant vendor in the space, while also competing to make inroads against proprietary software. The news also comes as Frields and his team and ramping up to deliver their release, Fedora 10.

The 9.5 million figure is spread across three separate Fedora releases, each of which shows different numbers. Frields tallied the numbers to be accurate as of Nov. 19th. Fedora 7 has nearly 3.4 million IPs, Fedora 8 release in has 3.9 million IPs, and the Fedora 9 release has nearly 1.8 million. Additionally, Fedora’s Rawhide release, which is its always-in-development build, reported nearly 500,000 unique IPs.

Frields is also optimistic that Fedora 10 will attract users because of timing. He said that Fedora Core 6 had been used by many users to preview technology before it ended up in Red Hat Enterprise Linux 5 release.

Now, Red Hat is currently gearing up for Red Hat Enterprise Linux 6.

“At Red Hat, we’re looking at how the Fedora development will impact development of Red Hat Enterprise Linux 6,” Frields said. “So people interested in the enterprise product will want to be looking at Fedora 10.”