Archive for May, 2006

Networking with Linux.

May 19, 2006

For the past 5-6 years I have been using Linux mostly Red Hat and Fedora Core Linux Distribution. The experience has been a very pleasant one. This operating system has been growing in features and performance in leaps and bounds. Today it has excellent gui for almost every work. This operating system can be used in conjunction with different opensource and free softwares to implement a very low cost networking solution for :-

  • Gateway Server (with iptables).
  • Firewalls (with iptables)
  • Proxy Server (with squid)
  • Gateway server with caching (iptables with squid).
  • Url filtering (squid guard with squid).
  • Name Server (with bind).
  • DHCP server.
  • Dial-up Server.
  • Web server.
  • Mail Server.
  • FTP Server.
  • LDAP Server.
  • Database Server.
  • Shared file system with NFS and Samba.
  • Logging.

The above table depicts few solutions that can be implemented using Linux and in reality Linux has much to offer. In short we can say Linux as System and Network Administrators' paradise. And I am sure in times to come it will have lot more to offer.


MySql 5 wouldn’t start in Fedora Core 4 with selinux enabled

May 19, 2006

A fortnight ago I was trying to install mysql 5 in Fedora Core 4, I cannot recall the version but probably it was 5.0.19. The installation went off smoothly but mysql wouldn't start up. Then I figured out that it was due to selinux and after disabling it mysql would start working.

In contrast Fedora Core 5 is very fast and mysql 5.0.18 comes packaged with it. It works flawlessly in FC 5.

Problems faced in Fedora Core 5 for Adding and Removing Software.

May 12, 2006

I had finished downloading the new Fedora Core 5 a few days back and was very excited to try it out. The installation went off very smoothly and was very pleasing to my eyes. The operating system loading was very fast and I presume it took half the time it used to be in Fedora Core 4.

The problem with the system was the Add/Remove program (Pirut) in Fedora Core 5. It connects to the internet for adding any package or updating it. In my country the internet connectivity is a costly affair. So to make Pirut use the local packages in my CDs, I created a directory /var/yum/Fedora/RPMS and copied all the rpms in the CD nos. 1,2,3,4 and 5 and the repodata folder in 1st disk to /var/yum/ folder.

Then I edited the file named fedora-core.repo in /etc/yum.repo.d/   and inserted few lines like

[Fedora Core 5 local install]

name=Fedora Core $releasever – $basearch




gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

and changed all the other enabled=1 to enabled=0 in this file and all the files with *.repo in /etc/yum.repos.d/   and then I have been able to install packages using Add/Remove Software (Pirut) ever since.

Please note :- Don’t forget to copy repodata folder in FC 5 disk 1 or you would be seeing repomd.xml error.