Unix/Linux
DNS Caching at a glance
Apr 14th
What is DNS Caching?! DNS caching is a mechanism that enables a client or a server DNS resolutions queries to be saved locally for a set timeframe on that DNS server or client. A DNS query is a request for name resolution that is sent to a DNS server to resolve a name-to-IP-address.
Since Caching stores the information obtained through a previous query locally it improves DNS performance and substantially reduce DNS related traffic on the network. It eliminates the need for repetitive queries to the remote DNS server.
The period of time or TTL (Time to Live) of which the DNS cached query may be stored in the DNS cache, either on the client side or on the server side, is determined by the authoritative server of that resource record. This value applies to all cached DNS resource records and it will be removed once expired regardless if the same record entry accessed before the TTL expires. (more…)
Active Directory integration with Samba for RHEL/CentOS5.5
Sep 4th
I’ve been asked to develop an enterprise level of complex network servers that can provide many services including mail server, ftp, web server, file server, print server, backup server, roaming profiles and user’s home directory.. etc. The client demanded at least one Linux machine regardless of the service running on it. I’ve decided to run the web server (Apache) on it associated with the FTP server for managing the web pages contents, so I had to come out with a solution to join the Linux server to the Domain Controller (which is windows server 2003) as a member server.
It is true that any number of Samba servers can normally be set up in a Windows network without joining them to a domain. However, advantages of domain membership are central management, authentication and single sign-on. So once you’ve done with all the configuration and successfully joined the server to the DC you can use the same account name and password to log on to your Linux or Windows machine as well as the network administrators will be able to logon to the machine with their administrator credentials. (more…)
CentOS Mirrors Australia and Worldwide
Jun 22nd
Please be advised that all mirrors listed in this post are valid by the time of publishing this post.
Setting up a Linux NFS Server
Feb 25th
NFS: Network File System allows directories and files to be shared and accessed across a network; the client remotely accesses the data that is stored on the server as if they were local files. NFS developed by Sun Microsystems. Installing NFS: If the NFS software is not already installed on the system or not running, use rpm or yum to install the software, ntsysv to enable the startup scripts. You can manually start the daemons by typing:
service nfs start
The server has to be running the following daemons: (more…)
“lenny” Debian”stable” distribution v5.0.4 download mirrors
Feb 24th
Preferred download software:
Unix users: type in a terminal
wget -c URL
or
curl -C - -L -O URL
Or use aria2 or wxDownload Fast
Windows users: use Free Download Manager or GetRight
MAC users: Speed Download
Alternatively use a download software that allows you to resume downloading from the point where it failed if the download aborts.
Installing CentOS 5.4 Step by step
Feb 15th
What is CentOS: CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor. CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible. CentOS mainly changes packages to remove upstream vendor branding and artwork. And YES CentOS is FREE.
CentOS is developed by a small but growing team of core developers. In turn the core developers are supported by an active user community including system administrators, network administrators, enterprise users, managers, core Linux contributors and Linux enthusiasts from around the world. (more…)
PuTTY the SSH and telnet client
Feb 13th
PuTTY is an open source and a free implementation of Telnet, SSH, rlogin, and raw TCP computing protocols for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
PuTTY was originally written for Microsoft Windows, but it has been ported to various other operating systems. Official ports are available for some Unix-like platforms, with work-in-progress ports to Classic Mac OS and Mac OS X, and unofficial ports have been contributed to platforms such as Symbian OS and Windows Mobile OS. (more…)
Shell script to create directory that doesn’t exist
Dec 27th
Writing a bash shell script called “ test.sh ” that will creates directory using MENU DRIVEN, considering the following:
- Making a new directory using (mkdir.sh)
- Read In directory name (may enter a path)
- Check If it exists.
- If it does, warn user.
- Otherwise create it.






