I am here to share my knowledge in Linux with all.The opinions expressed and topics discussed on this blog are my own and don't necessarily reflect those of my employer.
Saturday, November 15, 2008
Package Management in Linux
The Software to installed using RPM is distributed through rpm package files
Rpm packages are named as Name–version–release.Architecture.rpm
The version refers to the open source version of the project
The release refers to Redhat internal patches to the open source code
Tuesday, November 4, 2008
HOW TO INSTALL AND TEST SAMBA
1. Obtaining and Installing Samba
Binary packages of Samba are included in almost any Linux or UNIX distribution.
There are also some packages available at the Samba home page.
Refer to the manual of your operating system for details on installing packages
for your specific operating system.
1. Configuring Samba (smb.conf)
Samba's configuration is stored in the smb.conf file, which usually resides
in /etc/samba/smb.conf or /usr/local/samba/lib/smb.conf. You can
either edit this file yourself or do it using one of the many graphical tools
that are available, such as the Web-based interface SWAT, that is included
with Samba.
Friday, October 10, 2008
Some Terms in quota
Soft Block Limit - the maximum amount of disk space that can be used. However, unlike the hard limit, the soft limit can be exceeded for a certain amount of time. That period is called Grace Period.
Grace Period – It can be expressed in seconds, minutes, hours,
days, weeks, or months.
If any of the values are set to 0, that limit is not set.
Implementing Quotas for User
# edquota username
Perform this step for each user who needs a quota.
For example , output will be as follows,
Disk quotas for user testuser (uid 501): Filesystem blocks soft hard inodes
soft hard /dev/VolGroup00/LogVol02 440436 0 0 37418 0 0
The text editor defined by the EDITOR environment variable is used by edquota.
Configuring Disk Quotas
1. Enable quotas per file system by modifying the /etc/fstab file.
2. Remount the file systems.
3. Create the quota database files and generate the disk usage table.
4. Assign quota policies.
Each of these steps is discussed in detail in the following sections.
Monday, October 6, 2008
Disk Quotas
Ansible Playbook to collect uptime of servers
Hi, This is to explain how we can write a small playbook to collect uptime of all servers in our environment. We can use our own server l...
-
Operating system: RHEL 5 Problem: Network card driver is not getting installed in RHEL 5 Error: If the command # make install is gi...
-
Hi, This is to explain how we can write a small playbook to collect uptime of all servers in our environment. We can use our own server l...
-
Operating System: SLES 10 SP2 64 Bit Problem : Ifconfig shows dropped packets in RX packets and it keeps on increasing while workin...