Linux in Kuala Lumpur
My involvement with Linux began in 1994 when a friend of mine bought the complete set of Slackware diskettes for me. At that time, I was setting up computing facilities in Sir Syed University, Pakistan. Linux was set up as the first e-mail server on campus and was later given the role of web server by the system manager (http://www.ssuet.edu.pk/). Sometime thereafter, I assumed a faculty position at the International Islamic University Malaysia (IIUM). IIUM recently moved to a new 700-acre campus and has a modern fiber-optic 155Mbps ATM core network serving completely switched segments in various faculties. The responsibility of upgrading and organizing the computer labs at the Faculty of Engineering was given to me as the Computer Coordinator.

Figure 1. Faculty of Engineering Building
I set up two clusters of 70 new computers, all Dell PII machines served by two dual-CPU servers. In one lab, a Windows NT server was set up to provide Windows applications and printing services for students. In the other cluster, I installed and configured the server as a dual boot machine. By default, the server boots into Linux, providing user authentication via NIS and user home directories via NFS. In case of Windows NT PDC (primary domain controller) failure, the NIS server can be booted as a backup PDC NT server.

Figure 2. Engineering Computer Lab
Since the Dell RAID controller is unsupported, we had to exchange the RAID controller for a tape backup unit so that Linux can recognize the hard disks. The fdisk print command now produces the output shown in Listing 1.
In order to set up the NIS server, called garden, we had to overcome many minor problems. Using the search facilities at Dejanews (http://www.deja.com/), solutions were quickly obtained from discussions posted on Usenet. The problem of shadow passwords was resolved by using the pwconv command to disable shadowing. One handy method to check whether NIS is working correctly is to issue the command:
ypserv -d
This prints all the debugging information when an NIS client tries to authenticate a user account.
SMP was easily enabled by uncommenting the SMP=3D1 line in the Makefile and recompiling the kernel. The 128MB RAM was recognized by Linux once I added an append=3Dmem=3D128M line to the /etc/lilo.conf file and executed /sbin/lilo. Any spaces in this line cause it to go unnoticed.
I exported /home via NFS for two purposes. One was to provide the NIS users with home directories, and the other reason was to enable them to view important announcements. For this purpose, the following line was added to the profile of users:
cat /home/motd
I configured a separate PII machine, called jasmine, as an applications server. Jasmine provides applications via NFS, including VLSI layout tools, Netscape, Scilab, GNUplot, Ghostview and others. In order to be an efficient NFS server for 30 PII clients, jasmine does not take part in NIS. A third Linux server, a Pentium, was configured to serve as the faculty e-mail and web server (http://eng.iiu.edu.my/).
All 30 PII clients in the cluster are dual-boot-configured to reduce the annoyance of Windows loyalists. Since the lab manager was not interested in learning Linux, I had to give him a cookbook of actions to transform a machine booted with Linux into an NIS client station. What follows is the recipe for NIS client setup.
After setting up a basic Linux system with the proper NIC driver, copy the following files from the “model” client:
/etc/hosts {To avoid setting up DNS service
in localized cluster}
/etc/profile {To set up paths and issue initial
commands for an NIS user}
/etc/host.conf {To set up the host lookup order
with NIS}
/etc/defaultdomain {To set up NIS domain name}
/etc/rc.d/rc.inet2 {To start ypbind using
/etc/defaultdomain as domain name}
/etc/fstab {To import NFS directories into
existing mount points}
Add a line containing “+” to /etc/passwd, /etc/group and /etc/shadow files. Reboot and log in as a “test” NIS user to verify functionality.
This cookbook worked perfectly, as the manager was able to fire up NIS clients without needing to know the setup details. Later, a booting message was added for the convenience of users, so they are informed of the dual boot-property of the clients. All that is necessary is adding a few lines to the /etc/lilo.conf file:
#start LILO global section boot=/dev/sda message=/boot/boot.msg prompt timeout=100
The boot.msg file contains the following text:
Type "linux" or "nt" to boot into operating system of your choice.To set up the X Window System, I turned to XSuSE (http://www.suse.de/XSuSE/XSuSE_E.html) as they have the largest set of drivers for various cards. Accepting the default choices for most of the questions, I was able to start X quickly by filling in the proper card type, monitor hsync and vsync values and video RAM size.
Instead of changing the path in the global profile each time an application is added, I included the path /usr/local/apps/cad/bin in the profile. In this directory, I use shell scripts or symbolic links to add new applications. If an application needs to be run from its home directory, a shell script with the application's name will run from this path. For example, the application exchek shell script contains the following lines:
cd /usr/local/apps/exchek /usr/local/apps/exchek/exchek
An alternate approach is to use symbolic links. For example, a symbolic link for Netscape was created with the following command:
ln -s /usr/local/apps/netscape/netscape netscape
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- New Products
- Tech Tip: Really Simple HTTP Server with Python
- RSS Feeds
- Find new cell phone and tablet pc
6 min 34 sec ago - Epistle
1 hour 35 min ago - Automatically updating Guest Additions
2 hours 44 min ago - I like your topic on android
3 hours 30 min ago - Reply to comment | Linux Journal
3 hours 51 min ago - This is the easiest tutorial
10 hours 6 min ago - Ahh, the Koolaid.
15 hours 44 min ago - git-annex assistant
21 hours 44 min ago - direct cable connection
22 hours 6 min ago - Agreed on AirDroid. With my
22 hours 17 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.




Comments
Help on NIS required
I just went through the web page and it is amazing to have such a beutiful and latest setup.
Well I required help on configuring NIS server and client I would be greatly obliged it you could provide me with relvent information and links
Thanks
Sunil