Archive

Posts Tagged ‘Linux’

Uninstalling GRUB Boot loader:

July 18, 2009 1 comment

  1. Format the Linux partitions to create unallocated space, if you haven’t already. You can find a walkthrough on how to do this under External Links listed below.
  2. Change the BIOS so that your computer boots your CD drive first.
  3. Insert the Windows XP disc and reboot. It may take a few minutes to load.
  4. Select ‘Recovery Console’ by pressing ‘r’.
  5. Select the Windows system to log on to. The default option is ‘1’.
  6. Press enter to bypass the administrative password prompt.
  7. Type fixboot and press enter.
  8. Type fixmbr and press enter.

    Hope these will fix the MBR. J

Categories: Linux/Unix, Windows Tags: , , ,

Linux: Mail Server

April 3, 2009 2 comments

Electronic mail (e-mail) is one of the popular services available on Internet hosts. E-mail software comes in two parts: a mail transport agent (MTA), which physically sends and receives mail messages, and a mail user agent (MUA), which reads messages and prepares new messages.

sendmail’s configuration file /etc/mail/sendmail.cf in Fedora and /etc/sendmail.cf

The sendmail mail transfer agent, you can use the mail command to compose and send a mail message to any user account on your Linux system. As a test, compose a message and send it to yourself.

For example,
mail edulaney
Subject: Testing e-mail
This is from my Linux system.

.Cc: but leave that blank.

After ending the message, the mail user agent passes the message to sendmail (the mail transport agent) for delivery to the specified address. sendmail delivers the mail message immediately.

To verify the delivery of mail, type mail to run the mail command again and read the message. Thus, the initial sendmail configuration file is adequate for sending and receiving e-mail, at least within your Linux system.

Categories: Linux/Unix, OpenSource Tags: ,

LINUX: Introduction


A free, Unix-compatible, 32-bit operating system developed in 1991 by Linus Torvalds while at the University of Helsinki in Finland.
Strictly speaking, Linux is the name of the operating system kernel, the central part of the operating system that manages system services, but many people use the name to refer to the complete operating system package, including utilities, editors and compilers, games, and networking components. Many of these important elements are actually part of the Free Software Foundation’s GNU Project, and others have been written and released by volunteers.

Linux is supported and distributed by companies such as Red Hat Software, Caldera Software, Workgroup Solutions, Walnut Creek Software, and S.u.S.E. of Germany. With the increasing use of Linux in the corporate world, several major companies have announced some level of support for the operating system, including Hewlett-Packard, Silicon Graphics, Sun Microsystems, and Intel, and several major applications packages have been ported to Linux,

Linux: SAMBA


If you rely on Windows for file sharing and print sharing, you probably use Windows in your servers and clients. If so, you can still move to a Linux PC as your server without losing Windows file-sharing and print-sharing capabilities; you can set up Linux as a Windows server.

When you install Linux from DVD-ROM, you also get a chance to install the Samba software package, which performs that setup. All you have to do is select the Windows File Server package group during installation.

  • Configuration file for samba – /etc/samba/smb.conf
  • Samba user’s file – /etc/samba/smbusers

Commands:—

  1. nmblookup: This command returns the IP address of a Windows PC identified by its NetBIOS name.
  2. smbadduser: This program adds users to the SMB (Server Message Block) password file.
  3. smbcacls: This program manipulates Windows NT access control lists (ACLs) on shared files.
  4. smbclient: This is the Windows client, which runs on Linux and allows Linux to access the files and printer on any Windows server.
  5. smbcontrol: This program sends messages to the smbd, nmbd, or winbindd processes .
  6. smbd: This is the SMB server, which accepts connections from Windows clients and provides file-sharing and print-sharing services.
  7. smbmount: This program mounts a Samba share directory on a Linux PC.
  8. smbpasswd: This program changes the password for an SMB user.
  9. smbprint: This script enables printing on a printer on an SMB server.
  10. smbstatus: This command lists the current SMB connections for the local host.
  11. smbtar: This program backs up SMB shares directly to tape drives on the Linux system.
  12. smbumount: This program unmounts a currently mounted Samba share directory.
  13. testparm: For checking the correctness of Samba Configuration.
  14. winbindd: This server resolves names from Windows NT servers.
Categories: Linux/Unix, OpenSource Tags: ,